Title: Critical error while checking for updates
Last modified: February 1, 2024

---

# Critical error while checking for updates

 *  [wykananda](https://wordpress.org/support/users/wykananda/)
 * (@wykananda)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/critical-error-while-checking-for-updates/)
 * Hi there. In the Plesk control panel for my site, the WP Toolkit is reporting
   this critical error whenever it checks for updates on my wordpress site. The 
   error is also posted in the WordPress debug.log. Curiously, this error doesn’t
   show when I check for updates from the WordPress Updates dashboard page. Any 
   thoughts on what might be happening?
 * >  Failed to reset cache for the instance #1: PHP Fatal error: Cannot declare
   > class WP_Rollback_API_Fetcher, because the name is already in use in /var/www/
   > vhosts/mywebsite/wp-content/plugins/wp-rollback/src/class-rollback-api-requests.
   > php on line 2
   > Fatal error: Cannot declare class WP_Rollback_API_Fetcher, because
   > the name is already in use in /var/www/vhosts/mywebsite/wp-content/plugins/
   > wp-rollback/src/class-rollback-api-requests.php on line 2Error: There has been
   > a critical error on this website.

Viewing 1 replies (of 1 total)

 *  Thread Starter [wykananda](https://wordpress.org/support/users/wykananda/)
 * (@wykananda)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/critical-error-while-checking-for-updates/#post-17409989)
 * According to Plesk, the error is being caused by the Rollback plugin:
 * [https://talk.plesk.com/threads/wordpress-toolkit-critical-error-while-checking-for-updates.373178/](https://talk.plesk.com/threads/wordpress-toolkit-critical-error-while-checking-for-updates.373178/)

Viewing 1 replies (of 1 total)

The topic ‘Critical error while checking for updates’ is closed to new replies.

 * ![](https://ps.w.org/wp-rollback/assets/icon-256x256.jpg?rev=3014868)
 * [WP Rollback - Rollback Plugins and Themes](https://wordpress.org/plugins/wp-rollback/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rollback/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rollback/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rollback/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rollback/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rollback/reviews/)

## Tags

 * [critical error](https://wordpress.org/support/topic-tag/critical-error/)
 * [update](https://wordpress.org/support/topic-tag/update/)

 * 1 reply
 * 1 participant
 * Last reply from: [wykananda](https://wordpress.org/support/users/wykananda/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/critical-error-while-checking-for-updates/#post-17409989)
 * Status: not resolved