Critical error without changing anything in the site

I didn’t make any changes to the site, however recently I get this critical errors, both trying to enter the site as a user or as wp-admin.


Hello @Sadko,

Thanks for writing to us.

Please add the below-given code into your wp-config.php for debugging setup, and the error logged into the file named debug.log inside the wp-content folder.

You can let us know if you find any errors that are related to our theme or theme bundled plugins. We can do further investigation based on that.

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );

// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );

// Disable display of errors and warnings 
define( 'WP_DEBUG_DISPLAY', false );
//SET PHP INI DISPLAY ERROR FALSE
@ini_set( 'display_errors', 0 );

Please find the video that will help you to edit wp-config.php and add the above code: https://www.youtube.com/watch?v=3SDPTafEM8o

Please share your details in a secure note. Please provide the following details

  • WordPress Login URL
  • Admin-level username and password
  • FTP login

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

Thanks

Thanks!

I found the error
“PHP Fatal error: Allowed memory size of 536870912 bytes exhausted…”

I increased the size to 1024 MB and it’s still getting exhausted, which leads me to think the error is not the memory limit but how it’s being used (?)

I’m copying the log and the requested information in the secure Note.

Hi Francisco,

The FTP credentials do not work, and we are unable to check the files. But seeing the error messages, it seems that the PHP version might be the reason behind it. Can you please check the PHP version, and make sure it is 8.0 or above? If not, please ask your Hosting Service provider to update it.
If it is already in an updated version, I will request you please provide the FTP/CPanel credentials once again to access the files and investigate it further.

Thanks

I checked and updated my credentials in the secure note.

PHP version is indeed above 8.0

Hi Francisco,

I have activated the default theme through the CPanel and investigated the WordPress admin dashboard and found that the PHP version is 7.4.33. Please update it to the 8.0 as suggested before.

I have also found that you are using a much older version of X i.e. 7.1.2 and Cornerstone version 4.1.2. I would suggest you upgrade the PHP version by activating the default theme, and once updated please update the X by following the below steps.

  1. Delete the existing Cornerstone from plugin list
  2. Update the X theme to the latest version on automatic updates or by downloading from your Themeco Account.
  3. After the X theme is updated, use the link in the dashboard to automatically install the Cornerstone. It will be on the latest version

Hope it helps.
Thanks

Sadly the site is broken again.

Steps I followed:

  • Enter CPanel - Software - MultiPHP manager
  • Select PHP version 8.1 (8.0 is not available)
  • Select Domain and hit apply

Results:

  • “PHP Fatal error: Uncaught Error: Call to undefined function…”
    Log is now updated in the secure note with the new errors, is it safe to make it public?

Once the PHP is working properly and I update X and Cornerstone will my site stay the same as before? I’m talking about design, content and functionality.

I have a backup made with a plugin but I’m worried about compatibility

Hello Francisco,

I checked your site. It seems that there is an issue of plugin conflict at the moment with “Convertplug,” “Facebook for WordPress,” “Envira-gallery,” and “Google Analytics.” I would suggest you please use FTP/Cpanel and access the wp-content/plugins. You need to rename the plugin and recheck it. Please share the correct admin login details so we can check the debugging further.

Hope it helps
Thanks