Title: Fatal error in class-wp-hook.php
Last modified: May 17, 2023

---

# Fatal error in class-wp-hook.php

 *  Resolved [chrisgu17](https://wordpress.org/support/users/chrisgu17/)
 * (@chrisgu17)
 * [3 years ago](https://wordpress.org/support/topic/fatal-error-in-class-wp-hook-php/)
 * Hi,
   sorry for my english.In wordpress site, 6.2.1, with Neve theme, I have a 
   Fatal error du to your plugin.It happened when I want to go to the plugins, in
   wp-admin.I can add a new plugin, activate it, et just after, if site reviews 
   is activated, I have a fatal error.I give you the debug log:
 *     ```wp-block-code
       Fatal error: Uncaught Error: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class MGWPAdmin does not have a method "handlePluginHealthInfo"
       in /home/guch4275/pf/music-1.i-cg.fr/wp-includes/class-wp-hook.php on line 308
   
       Call stack:
   
           WP_Hook::apply_filters()
           wp-includes/plugin.php:205
           apply_filters()
           wp-admin/includes/class-wp-debug-data.php:1459
           WP_Debug_Data::debug_data()
           wp-content/plugins/site-reviews/plugin/Database/Cache.php:131
           GeminiLabs\S\D\Cache::getSystemInfo()
           wp-content/plugins/site-reviews/plugin/Controllers/DeactivationController.php:147
           GeminiLabs\S\C\DeactivationController::deactivateInsight()
           wp-content/plugins/site-reviews/plugin/Controllers/DeactivationController.php:52
           GeminiLabs\S\C\DeactivationController::enqueueAssets()
           wp-includes/class-wp-hook.php:308
           WP_Hook::apply_filters()
           wp-includes/class-wp-hook.php:332
           WP_Hook::do_action()
           wp-includes/plugin.php:517
           do_action()
           wp-admin/admin-header.php:118
           require_once()
           wp-admin/plugins.php:605
       ```
   
 * I have to deactivate it.
   Hope you can reproduce it, and give a new version without
   this bug.Regards

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

 *  Plugin Author [Gemini Labs](https://wordpress.org/support/users/geminilabs/)
 * (@geminilabs)
 * [3 years ago](https://wordpress.org/support/topic/fatal-error-in-class-wp-hook-php/#post-16746424)
 * The problem is being caused by a bug in a migration plugin on your website, not
   Site Reviews. The migration plugin is causing Site Reviews to crash.
 * Deactivate the migration plugin that you are using and the problem will be fixed.
   I’m not sure what the name of the migration plugin is that you have installed,
   but it’s likely related to your website hosting provider (does MGWP ring a bell,
   maybe short for ManageWP?)
 * A similar bug exists in the [FlyWheel Migrations](https://wordpress.org/plugins/flywheel-migrations/)
   and [WP Engine Automated Migration](https://wordpress.org/support/plugin/wp-site-migrate/)
   plugins since they are both developed by the same developer (and 100% the migration
   plugin on your website is made by the same developer since the error:
 *  `class **MGWPAdmin** does not have a method "handlePluginHealthInfo"`
 * is identical in each plugin (only the classname is different).
 * You can confirm that the error is **not being caused** by Site Reviews by deactivating
   Site Reviews and then going to the WordPress > Site Health > Info page. You’ll
   find that page is broken: instead of displaying the system info of your website,
   it’s a totally blank page.
 * **See also:**
 * [https://wordpress.org/support/topic/unable-to-access-wp-plugins-in-dashboard/](https://wordpress.org/support/topic/unable-to-access-wp-plugins-in-dashboard/)
 * [https://wordpress.org/support/topic/fatal-error-v4-97-breaks-the-wordpress-site-health-info-page/](https://wordpress.org/support/topic/fatal-error-v4-97-breaks-the-wordpress-site-health-info-page/)
 * [https://wordpress.org/support/topic/v4-97-breaks-the-wordpress-site-health-page/](https://wordpress.org/support/topic/v4-97-breaks-the-wordpress-site-health-page/)
 *  Thread Starter [chrisgu17](https://wordpress.org/support/users/chrisgu17/)
 * (@chrisgu17)
 * [3 years ago](https://wordpress.org/support/topic/fatal-error-in-class-wp-hook-php/#post-16747915)
 * Thanks a lot.
   My problem was the plugin Migrate Guru.Now it works.

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

The topic ‘Fatal error in class-wp-hook.php’ is closed to new replies.

 * ![](https://ps.w.org/site-reviews/assets/icon-256x256.gif?rev=3307009)
 * [Site Reviews](https://wordpress.org/plugins/site-reviews/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/site-reviews/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/site-reviews/)
 * [Active Topics](https://wordpress.org/support/plugin/site-reviews/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/site-reviews/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/site-reviews/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [chrisgu17](https://wordpress.org/support/users/chrisgu17/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/fatal-error-in-class-wp-hook-php/#post-16747915)
 * Status: resolved