There has been a critical error on your website

I have uploaded my WordPress website in cPanel. My plugins and all were working well until after a few months I logged in to update my website and its plugins. Now I can't install, remove, or modify plugins and my current WordPress account is in recovery mode. Please suggest some suggestion.

Topic errors updates plugins Wordpress

Category Web


Look at your site (apache2) error.log.

If you see access errors (can't mkdir, can't rmdir, permission denied), you may be dealing with a permissions problem.

the wp-content folder and it's children/subfolder need to be writable by the web server.

Usually (on an ubuntu-apache combination), this requires that you change ownership (via chown) for the whole directory tree to www-data:www-data.

On some systems (with php-strict mode) you will also need to change ownership (via chown) of the php-scripts that attempt the write.

About

Geeks Mental is a community that publishes articles and tutorials about Web, Android, Data Science, new techniques and Linux security.