Comments (5)
Edit: The meta box not showing was due to missing the meta_box
key in the arguments, sorry.
from extended-cpts.
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.
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.
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.
@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)
- Consider using a different method to check a date/time type value HOT 2
- Taxonomy admin cols meta_key date_format HOT 1
- Shared post_tag between CPT's and admin fillter tag=0 issue?
- Fatal Error after migrating from production to staging environment HOT 3
- Will this eventually be useable in a plugin? HOT 1
- Admin Filter, not filling in select value with array key HOT 1
- wp-browser composer patch is no longer valid when running `composer install`
- String value for "has_archive" not respected HOT 1
- filter by taxonomy when setup admin_filters key HOT 4
- Avoid fatal errors on dashboard HOT 3
- ACF date field not formatting correctly in admin column HOT 8
- Sorting not working on single tem page HOT 1
- Setting 'meta_box' => 'radio' causes unusual behaviour
- Register fields with WP GraphQL HOT 2
- Conflict with Permitpress Pro, proposed solution HOT 1
- Package License "GPL-2.0+" is a deprecated HOT 1
- WordPress 6.3 support
- should Admin columns work in a default post type like page? HOT 1
- Exclude from autoloading? HOT 5
- Since WordPress 6.5 deprecation warning related to `core/edit-post` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from extended-cpts.