• Resolved redactuk

    (@redactuk)


    Hello

    Sometimes when I’m using this Plugin with othe rplugins that define custom post types and taxonomies I get this error:

    [12-Jun-2023 10:44:21 UTC] PHP Fatal error:  Uncaught Exception: Serialization of 'Closure' is not allowed in C:\laragon\www\dev3\wp-includes\functions.php:624
    Stack trace:
    #0 C:\laragon\www\dev3\wp-includes\functions.php(624): serialize(Array)
    #1 C:\laragon\www\dev3\wp-includes\option.php(501): maybe_serialize(Array)
    #2 C:\laragon\www\dev3\wp-content\plugins\widget-options\includes\extras.php(62): update_option('widgetopts_glob...', Array)
    #3 C:\laragon\www\dev3\wp-content\plugins\widget-options\includes\admin\globals.php(15): widgetopts_global_taxonomies()
    #4 C:\laragon\www\dev3\wp-includes\class-wp-hook.php(308): widgetopts_register_globals('')
    #5 C:\laragon\www\dev3\wp-includes\class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array)
    #6 C:\laragon\www\dev3\wp-includes\plugin.php(517): WP_Hook->do_action(Array)
    #7 C:\laragon\www\dev3\wp-settings.php(623): do_action('init')
    #8 C:\laragon\www\dev3\wp-config.php(119): require_once('C:\\laragon\\www\\...')
    #9 C:\laragon\www\dev3\wp-load.php(50): require_once('C:\\laragon\\www\\...')
    #10 C:\laragon\www in C:\laragon\www\dev3\wp-includes\functions.php on line 624

    Often if I deactivate either widget options or one of the othe rplugins and reactivate it goes away again. It seemed to be triggered whenever I change a custom post type category/tag description or other value.

    Tearing my hair out trying to diagnose issue. Any idea?

    Thanks

    • This topic was modified 1 year, 8 months ago by redactuk.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Mej de Castro

    (@mej)

    Hi @redactuk ,

    We just released the version 3.9.2. Can you please update and see if everything is working correctly?
    Thank you so much! Appreciate the update.

    Regards,
    Mej

    Thread Starter redactuk

    (@redactuk)

    Hi Mej

    I’ve applied the update, but still have the same issue. As before, I can get both your plugin and other plugins with custom post types to work together UNTIL i make a change to category description on a custom posty type category, at that point I get the same error above.

    Thanks

    Plugin Author Mej de Castro

    (@mej)

    Hi @redactuk ,

    Can you please let us know what other plugins you are using for the custom post types?

    Thanks,
    Mej

    Thread Starter redactuk

    (@redactuk)

    @mej Just to let you know I’ve finally traced the issue to a taxonomy related function in another Plugin, so this now resolved. Thanks for your help.

    Plugin Author Mej de Castro

    (@mej)

    Awesome! Thank you for letting us know!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Serialization of ‘Closure’ error’ is closed to new replies.