Critical Errors when trying to access dadhboard

Hi @radbuzafishing,

Thank you for your message. Do not worry, I will try to help you.

Please tell me do you have FTP access? Please connect via FTP and activate file error debugging. To do this, edit the wp-config.php file in the root directory of your WordPress and set the following constants:

define( 'WP_DEBUG', true );
define( 'WP_DEBUG_LOG', true );
define( 'WP_DEBUG_DISPLAY', false);

If these constants are already added in this file, please change their values to those given above. You can find more information about this here.

Once you have set this and saved the changes to the file, try entering the WordPress administration dashboard again. When an error occurs, go back to the FTP client and find the debug.log file in the /wp-content directory. Please send me the contents of this file.

Best,
Mateusz

hi, thanks for answering so quickly. Unfortunately I am not near a computer – I have only my phone with no ftp access.

I will try to do this via cPanel.

@radbuzafishing Via cPanel this will certainly be possible using the File Manager tool in cPanel.

okay, I’ve edited the wp-config file as suggested and replaced it on the server.

I verified that the modifications are there.

I attempted to open the dashboard 5 or 6 times.

There is no log file in the wp-content directory.

@radbuzafishing Please show me how you set constants in the wp-config.php file.

Please show only the part of the file that contains these 3 constants. Please don’t send anything else.

that’s the file on my site

oops, I sent it all…

define( ‘WP_DEBUG’, true ); define( ‘WP_DEBUG_LOG’, true ); define( ‘WP_DEBUG_DISPLAY’, false);

@radbuzafishing Thank you! Please try setting the WP_DEBUG_DISPLAY constant to true.Then you should see an error when you enter your WordPress dashboard.

aha, I have this:

Fatal error: Allowed memory size of 41943040 bytes exhausted (tried to allocate 2621440 bytes) in /home/sohopen/public_html/radbuza.com/wp-admin/includes/class-wp-screen.php on line 1138

@radbuzafishing All right. I already know everything. You were probably at the limit of your memory usage. When you activated an additional plugin, this limit was exceeded. The same thing would happen if you installed any other plugin.

In this situation, you should increase the memory_limit value in the PHP configuration on your server.

You can deactivate our plugin via FTP by deleting this directory:
/wp-content/plugins/webp-converter-for-media

Please remember to restore the constants in the wp-config.php file to their original state.

thanks very much for your help, I now have my dashboard back 🤓

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer