• Resolved djwilko12

    (@djwilko12)


    Hi,

    I’m experiencing a fatal error when trying to activate the Collapsing Categories plugin on my WordPress site. The error message I receive is:

    Fatal error: Uncaught TypeError: call_user_func_array(): Argument #1 ($callback) must be a valid callback, class CollapsCat does not have a method "init" in /wp-includes/class-wp-hook.php:324 Stack trace: #0 /wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters('', Array) #1 /wp-includes/plugin.php(517): WP_Hook->do_action(Array) #2 /wp-admin/plugins.php(196): do_action('activate_collap...') #3 {main} thrown in /wp-includes/class-wp-hook.php on line 324

    It seems like the plugin is trying to call an init method in the CollapsCat class, but that method doesn’t exist.

    I have tried reinstalling the plugin, disabling other plugins, and checking for conflicts, but the issue persists. Could you please provide guidance on how to fix this?

    Thanks in advance!

    Best regards,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Experience the same thing.

    Plugin Author robfelty

    (@robfelty)

    I apologize for the issue. I just pushed a change to fix it in version 3.0.10.

    jlreyest

    (@jlreyest)

    Same problem here, and the last version published here is 3.0.9.

    papijo

    (@papijo)

    Was experiencing the fatal error reported by the OP on version 3.0.9. No update available. Just deleted the plugin, downloaded again and activated it and … it works!

    I expect Rob did the fix but forgot to change the version number from 3.0.9 to 3.0.10?

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

The topic ‘Fatal Error When Activating Collapsing Categories Plugin’ is closed to new replies.