Title: Show error when activate the plugin
Last modified: June 30, 2022

---

# Show error when activate the plugin

 *  Resolved [edmond326](https://wordpress.org/support/users/edmond326/)
 * (@edmond326)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-error-when-activate-the-plugin/)
 * The page show error when activate the plugin.
 * **error code:**
 * `Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback)
   must be a valid callback, function "Rich4rdMuvirimi\WooCustomGateway\Controller\
   Plugin" not found or invalid function name in /home/XXX/domains/XXX/public_html/
   wp-includes/class-wp-hook.php:307 Stack trace: #0 /home/XXX/domains/XXX/public_html/
   wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters() #1 /home/XXX/domains/
   XXX/public_html/wp-includes/plugin.php(474): WP_Hook->do_action() #2 /home/XXX/
   domains/XXX/public_html/wp-admin/plugins.php(194): do_action() #3 {main} thrown
   in /home/XXX/domains/XXX/public_html/wp-includes/class-wp-hook.php on line 307`
    -  This topic was modified 3 years, 11 months ago by [edmond326](https://wordpress.org/support/users/edmond326/).

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

 *  Plugin Author [Richard Muvirimi](https://wordpress.org/support/users/tygalive/)
 * (@tygalive)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-error-when-activate-the-plugin/#post-15786253)
 * Hello, thank you for using the plugin. Let me check what might be the cause and
   get back to you. For now you may download a previous version 1.2.*
 * If you may also kindly share your php version
    -  This reply was modified 3 years, 11 months ago by [Richard Muvirimi](https://wordpress.org/support/users/tygalive/).
 *  Thread Starter [edmond326](https://wordpress.org/support/users/edmond326/)
 * (@edmond326)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-error-when-activate-the-plugin/#post-15787695)
 * php 8.0 fpm
 *  Plugin Author [Richard Muvirimi](https://wordpress.org/support/users/tygalive/)
 * (@tygalive)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-error-when-activate-the-plugin/#post-15787942)
 * Ok, have managed to replicate the issue, will release an update in a few hours,
   thank you
 * to download a previous version, in case this takes time
    [https://wordpress.org/plugins/woo-custom-gateway/advanced/#download-previous-link](https://wordpress.org/plugins/woo-custom-gateway/advanced/#download-previous-link)
 *  Thread Starter [edmond326](https://wordpress.org/support/users/edmond326/)
 * (@edmond326)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-error-when-activate-the-plugin/#post-15788700)
 * Nice 🙂
 *  Plugin Author [Richard Muvirimi](https://wordpress.org/support/users/tygalive/)
 * (@tygalive)
 * [3 years, 11 months ago](https://wordpress.org/support/topic/show-error-when-activate-the-plugin/#post-15791438)
 * Have released an update that fixes this issue.
 * Thank you for using this plugin!

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

The topic ‘Show error when activate the plugin’ is closed to new replies.

 * ![](https://ps.w.org/woo-custom-gateway/assets/icon-256x256.png?rev=3426484)
 * [Custom Payment Gateways for WooCommerce](https://wordpress.org/plugins/woo-custom-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-custom-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-custom-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-custom-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-custom-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-custom-gateway/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Richard Muvirimi](https://wordpress.org/support/users/tygalive/)
 * Last activity: [3 years, 11 months ago](https://wordpress.org/support/topic/show-error-when-activate-the-plugin/#post-15791438)
 * Status: resolved