• Resolved digbymaass

    (@digbymaass)


    The update to 2.1.3 caused the very warning it said it was fixing –

    Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘collapsArch’ does not have a method ‘enqueue_scripts’ in /home/carnethy/public_html/wp-includes/class-wp-hook.php on line 307

    I’ve rolled back to a previous version 2.0.5. I’d rather have 2.1.2 but the rollback plugin doesn’t list that one.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter digbymaass

    (@digbymaass)

    @fresco there’s no need to deactivate it. Get the ‘rollback’ plugin and go back to a previous version as I did. Older version works fine.

    Great tip, @digbymaass, I’ve used rollback to go back to 2.0.5 as well, and works nicely again. Thanks for the steer.
    @robert – I’d still be happy to Donate once the mechanism is working, in appreciation of your perfect plugin.

    If you have access to the plugin files, you can modify two lines in collapsArch.php to get it to work or

    Replace these lines:

    wp_enqueue_script('jquery');
    add_action( 'wp_enqueue_scripts', array( 'collapsArch', 'enqueue_scripts' ) );

    with these:

    wp_enqueue_script('jquery');
    add_action( 'wp_head', array('collapsArch','get_head'));
    Thread Starter digbymaass

    (@digbymaass)

    It works! Thank you!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Update caused the problem it meant to fix’ is closed to new replies.