Title: Critical Error warning
Last modified: February 28, 2021

---

# Critical Error warning

 *  [jayb00283](https://wordpress.org/support/users/jayb00283/)
 * (@jayb00283)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-warning/)
 * Hi all, needing help please – I updated WP and some plugins which stopped working.
   I restored an older version and unfortunately, it fell over. I am now getting
   the following errors when I try to access the admin site.
    Warning: trim() expects
   parameter 1 to be string, object given in /var/sites/t/thepartypod.co.uk/public_html/
   wp-includes/formatting.php on line 458
 * Catchable fatal error: Object of class __PHP_Incomplete_Class could not be converted
   to string in /var/sites/t/thepartypod.co.uk/public_html/wp-includes/formatting.
   php on line 463
    There has been a critical error on your website. Please check
   your site admin email inbox for instructions.
 * The email I received said that all was ok with the plugins. I have access to 
   the FTP site.
 * Help please.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcritical-error-warning%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-warning/#post-14113324)
 * Try [manually resetting your plugins](https://wordpress.org/support/article/faq-troubleshooting/#how-to-deactivate-all-plugins-when-not-able-to-access-the-administrative-menus)(
   no Dashboard access required). If that resolves the issue, reactivate each one
   individually until you find the cause.
 * If that does not resolve the issue, access your server via [SFTP or FTP](https://wordpress.org/support/article/ftp-clients/),
   or a file manager in your hosting account’s control panel, navigate to `/wp-content/
   themes/` and rename the directory of your currently active theme. This will force
   the default theme to activate and hopefully rule-out a theme-specific issue (
   theme functions can interfere like plugins).
 * If the above steps do not help resolve the issue, then try `<strong>MANUALLY</
   strong> updating. <a href=”[https://wordpress.org/download/”>Download](https://wordpress.org/download/”>Download)
   WordPress</a> again and unzip it, and use that to copy up. Access your server
   via <a href=”[https://wordpress.org/support/article/ftp-clients/”>SFTP](https://wordpress.org/support/article/ftp-clients/”>SFTP)
   or FTP</a>, or a file manager in your hosting account’s control panel (consult
   your hosting provider’s documentation for specifics on these), and delete then
   replace your copies of everything on the server EXCEPT the wp-config.php file
   and the /wp-content/ directory with fresh copies from the download. This will
   effectively replace all of your core files without damaging your content and 
   settings. (<strong>NOTE: do not delete the wp-content directory or your wp-config.
   php file</strong>). <strong>Please read the <a href=”[https://wordpress.org/support/article/updating-wordpress/#manual-update”>Manual](https://wordpress.org/support/article/updating-wordpress/#manual-update”>Manual)
   Update</a> directions first.</strong>
 * <strong>Backup: If you haven’t already done, always backup everything (including
   your database) before doing any actions, just in case something really goes wrong.
   You can never have enough backups! See [https://wordpress.org/support/article/wordpress-backups/</strong&gt](https://wordpress.org/support/article/wordpress-backups/</strong&gt);`
 *  [Rene](https://wordpress.org/support/users/rene1205/)
 * (@rene1205)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-warning/#post-14115922)
 * Hi,
    Ich bin neu hier und hatte genau das gleiche Problem wie oben gefragt. Danke
   für die Hilfe. Gruß Rene
 *  Thread Starter [jayb00283](https://wordpress.org/support/users/jayb00283/)
 * (@jayb00283)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-warning/#post-14119169)
 * Thanks appreciate your help. I will this.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Critical Error warning’ is closed to new replies.

## Tags

 * [Catchable fatal error](https://wordpress.org/support/topic-tag/catchable-fatal-error/)
 * [debugging](https://wordpress.org/support/topic-tag/debugging/)
 * [warnings](https://wordpress.org/support/topic-tag/warnings/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [jayb00283](https://wordpress.org/support/users/jayb00283/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/critical-error-warning/#post-14119169)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
