How can error pages be customized

I believe your problem stems from the upload process itself. If so, you do not need to customize an error message. Instead, you need to update your upload settings, and/or publish your file size limits to your community. This article describes what causes that error, and how to address it. Good luck!

502 Error when edit some users

It is most likely that your server is running out of resources. It happens randomly. I would recommend you contact the hosting provider and show them that error. Also ask them to increase the PHP memory limit on your server and look into the server error log files. The 502 error is too generic, it … Read more

mixed contents admin panel is Unsecured

That should not effect wp-admin, I have never seen that happen before. Are you sure both your site url and homepage url’s are set to https:// If you really want to change them to see if that is the issue, you could edit them in the following files: (there are multiple mentions of that url … Read more

There has been a critical error on your website

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 … Read more

Error Warning: Invalid argument supplied for foreach()

It sounds like something (theme or plugin) has called a wordpress function and passed the wrong type of variable. In the first few notices WordPress is expecting an object and has been passed something else. In the warning it is expecting an array and has been passed something else. Debug what is causing it, then … Read more

HELP: cannot log into wordpress. PHP error

When you get that polite ‘white screen of death’, you’ll find the problem in the error.log file in the root of your site (perhaps in the error.log file in wp-admin, if the error was caused by an admin-level program). You can renamed the plugins folder to temporarily disable all plugins. But the error.log file will … Read more