Serialization of ‘Closure’ error
-
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
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Serialization of ‘Closure’ error’ is closed to new replies.