0

Yesterday, I noted that only the home page of workcosec.com properly visible. If I tried to access a blog post, there was a message of critical error.

Through FTP, I renamed plugin folder to plugins in order to disable plugins. Next, the blog posts then visible.

However, unable to access WP Admin panel. Getting this message:

There has been a critical error on this website (https://www.canva.com/design/DAFRKs...share&utm_medium=link2&utm_source=sharebutton).

After trying to access WP admin panel through http://www.workcosec.com/wp-admin, I accessed error log. Showing Apache error: https://www.canva.com/design/DAFRLO...share&utm_medium=link2&utm_source=sharebutton

Got in touch on Plesk Forum and one expert reply was this problem is not Plesk issue.

Also, I have removed a W3 cache directory that was showing on the root directory (I mean this was showing along with WP-content directory and other directories) while on FTP (FileZilla). This is because I remember once getting a message while accessing WP admin that included mention of W3 cache plugin as causing the issue.

Also relevant could be this email alert by Semrush site audit.

8
  • "There has been a critical error on this website" - this should have both emailed you the detailed error message and written it to the server error logs. Can you find either one? I'm not sure what you mean by showing apache error: it should be an error from PHP with a detailed error message and call stack, either there in the apache logs or in your WordPress debug.log in the wp-content folder if you've enabled that, or in a separate PHP error log if you've got that set up.
    – Rup
    Nov 7, 2022 at 9:54
  • Here is the screenshot of logs: canva.com/design/DAFRQu6rWi0/53BUCQVl7YQNdFA0sfj08Q/… Here is more detail: Unable to display the file /var/www/vhosts/workcosec.com/httpdocs/wp-content/uploads/2022/09/cropped-WC-192x192.png: Unsupported file format. Nov 7, 2022 at 10:37
  • Also this screenshot might help: canva.com/design/DAFRQoFj5QI/8E1lJtwivUFr27R8kaowPw/… Nov 7, 2022 at 10:49
  • There are only access logs in the screenshot. Can you find the error log for the time you got the critical error? It will probably start "PHP Fatal Error". The Unsupported File Format one is a browser error and won't break the dashboard.
    – Rup
    Nov 7, 2022 at 10:52

2 Answers 2

0

You might try renaming the folder that contains your current theme. That should get you back to a default 'Twenty-xxx' theme, and then troubleshoot from there.

Initial thoughts are perhaps some external call via your theme to the Canva site, so that's why you might try disabling the current theme by renaming it's folder.

2
  • I have renamed current theme folder as well plugin folder. Still getting the same critical error message. Also renamed db.php file. But same critical error message. Nov 8, 2022 at 5:54
  • I would next manually reinstall WP (via FTP). Then I would look at all folders for files that don't have the date/timestamp of the latest WP files. It's possible there are some 'rouge' files in there. You might also manually install your theme and plugins (not via Update, but download files, extract, then upload via FTP). And check your htaccess file in the root (and anywhere else you find one). You may also need to export everything into a new WP installation. Nov 8, 2022 at 19:00
-1

Did you checked the permissions as well?

Make sure it is as follows:

  • wp-admin: 744
  • wp-content: 744
  • wp-content/themes: 744
  • wp-content/plugins: 744
  • wp-content/uploads: 744
  • wp-config.php: 764
  • .htaccess: 764

Also,Try to rename the .htaccess file ,and load your site

1
  • I have started with a new WordPress instance connected with finsure.com. Next, the objective is to migrate only the blog posts. It is to be noted that in the front end, blog posts are not showing up (instead, error message: There has been a critical error on this website). Only the home page showing of workcosec.com. Any tips on migrating the content of blog posts appreciated. Nov 10, 2022 at 13:21

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.