Hi @fmerino9,
Did you mean the x/index.php or pro/index.php file?
So the code in that file should be like this:
<?php
// =============================================================================
// INDEX.PHP
// -----------------------------------------------------------------------------
// Handles output of pages and posts if a more specific template file isn't
// present. Must be present for theme to function properly.
//
// Content is output based on which Stack has been selected in the Customizer.
// To view and/or edit the markup of your Stack's index, first go to "views"
// inside the "framework" subdirectory. Once inside, find your Stack's folder
// and look for a file called "wp-index.php," where you'll be able to find the
// appropriate output.
// =============================================================================
x_get_view( x_get_stack(), 'wp', 'index' );
So you should remove the code you mentioned above and I also recommend you to install one of the following security plugins:
Regards!