• Resolved twain47

    (@twain47)


    I get the following error when trying to activate the plugin. The site is using php 8.0.

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, non-static method LIMB_Gallery::grsActivate() cannot be called statically in wp-includes/class-wp-hook.php:307 Stack trace: #0 wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #1 wp-includes/plugin.php(476): WP_Hook->do_action(Array) #2 wp-admin/plugins.php(194): do_action(‘activate_limb-g…’) #3 {main} thrown in wp-includes/class-wp-hook.php on line 307

    Changing it to: public static function grsActivate()
    seems to fix the problem.

Viewing 1 replies (of 1 total)
  • Hello @twain47 thanks for reaching out and bringing this issue to our attention.

    Our lead developer is on the task, which will also require some updates for compatibility with PHP 8.0.

    Please expect an update which should handle the fixes in the next 1-2 weeks at most, and likely sooner.

    I greatly appreciate your patience in the meantime. This is one of our top priorities, and we want to ensure adequate testing is done before releasing the update publicly.

    I will mark this ticket as resolved for now, as the next update will handle it.

Viewing 1 replies (of 1 total)
  • The topic ‘Error activating limb gallery on WP6.0’ is closed to new replies.