• Hi

    Tried to install the plugin but it doen’s activate. It generates a fatal error:

    30-Jan-2025 17:21:04 UTC] PHP Fatal error Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “\Nswintgricecatlive\Activation” not found in /home/******/wp-includes/class-wp-hook.php:324

    Stack trace:

    0 /home/****/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()

    1 /home/****/wp-includes/plugin.php(517): WP_Hook->do_action()

    2 /home/****/wp-admin/includes/plugin.php(703): do_action()

    3 /home/****/wp-admin/plugins.php(60): activate_plugin()

    4 {main}

    thrown in /home/****/wp-includes/class-wp-hook.php on line 324

    Versions: PHP 7.4 / WP: 6.6

    • This topic was modified 1 month, 3 weeks ago by miguelpxt.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Anastasiya

    (@nswanastasia)

    Hello

    I will test the module on this WP version and contact you.

    Plugin Author Anastasiya

    (@nswanastasia)

    Hello

    I uploaded a new version of plugin (1.1). Please, install new version and try to activate it.

    If you have any questions, please contact us.

    Thread Starter miguelpxt

    (@miguelpxt)

    Hi

    I’m still getting the error. Also tried on WP 6.7 and the error is the same:

    Uncaught Error: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class “\Nswintgricecatlive\Activation” not found
    in /home/**************/wp-includes/class-wp-hook.php on line 324

    Call stack:

    1. WP_Hook::apply_filters()
      wp-includes/class-wp-hook.php:348
    2. WP_Hook::do_action()
      wp-includes/plugin.php:517
    3. do_action()
      wp-admin/includes/plugin.php:703
    4. activate_plugin()
      wp-admin/plugins.php:60
    Plugin Author Anastasiya

    (@nswanastasia)

    Hi

    Can you check if the file Activation.php is in the plugin directory?

    Thread Starter miguelpxt

    (@miguelpxt)

    Yes it is

    Plugin Author Anastasiya

    (@nswanastasia)

    Hello

    Plugin updated. Please, upload it again.

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.