MY site broke and gives an error like php has been taken place(I think) the error was on the following

php // ============================================================================= // HEADER.PHP // ----------------------------------------------------------------------------- // The site header. // ============================================================================= x_get_view( ‘header’, ‘base’ );

site: https://capitalfundingfinancial.com/
previous looks: https://web.archive.org/web/20210506095934/https://capitalfundingfinancial.com/

Hello David,

Thanks for writing to us.

It seems that it might be the issue of PHP syntax(PHP tag missing) on any child theme file. I would suggest you please take the backup of the database and files. Now deactivate the active child theme. In case if it doesn’t work for you download the fresh copy of the Pro theme from the Themeco Dashboard and reinstall it

If none of these help you please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin level username and password
  • FTP details

You can find the Secure Note button at the bottom of your posts

Thanks

I can’t see any secure note in the bottom

Please check thank you for quick response

go ahead and please check the errors for me thank you so much

Hello David,

It seems that you have modified the theme header.php file and the PHP tag is missing. There is no permission on the backend file editor to change the code and fix it and it is not a good practice to edit PHP code from the backend. I would suggest you use the FTP and upload(completely replace the Pro theme with a fresh copy of the Pro theme ) a fresh copy of the Pro theme on this path. \wp-content\themes\

In case if you have not modified the files then, it seems that your site has been hacked that is why your header.php file is been modified in this manner.

Hope it helps
Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.