GithubHelp home page GithubHelp logo

Comments (5)

herrschuessler avatar herrschuessler commented on September 25, 2024

Edit: The meta box not showing was due to missing the meta_box key in the arguments, sorry.

from extended-cpts.

johnbillion avatar johnbillion commented on September 25, 2024

Can you get a full stack trace for that error please? This should be available from your PHP error log file, or by installing Xdebug.

Cheers!

from extended-cpts.

herrschuessler avatar herrschuessler commented on September 25, 2024

Sorry, should have done that in the first place. Looking at the stack trace, it looks like the problem is related to Debug Bar.

[07-Jun-2021 08:13:19 UTC] PHP Fatal error:  Uncaught Exception: Serialization of 'Closure' is not allowed in /wp-includes/class-wp-object-cache.php:465
Stack trace:
#0 /wp-includes/class-wp-object-cache.php(465): serialize(Array)
#1 /wp-content/plugins/debug-bar/panels/class-debug-bar-object-cache.php(18): WP_Object_Cache->stats()
#2 /wp-content/plugins/debug-bar/debug-bar.php(370): Debug_Bar_Object_Cache->render()
#3 /wp-includes/class-wp-hook.php(292): Debug_Bar->render('')
#4 /wp-includes/class-wp-hook.php(316): WP_Hook->apply_filters(NULL, Array)
#5 /wp-includes/plugin.php(484): WP_Hook->do_action(Array)
#6 /wp-admin/admin-footer.php(78): do_action('admin_footer', '')
#7 /wp-admin/edit.php(489): require_once('/www/htdocs/...')
#8 {main}
  thrown in /wp-includes/class-wp-object-cache.php on line 465

After disabling that plugin, the error goes away. Sorry again for not checking that.

from extended-cpts.

johnbillion avatar johnbillion commented on September 25, 2024

I've done some testing and I'm unable to reproduce this problem, but judging by the stack trace I'd say this is a problem in Debug Bar where it's trying to serialize a closure.

from extended-cpts.

redactuk avatar redactuk commented on September 25, 2024

@herrschuessler A long time ago, but just wondered if you found solution to this? as I'm getting the same.

from extended-cpts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.