Ive been creating and deleting new post types, forms, views, taxonomies, etc.
Then deleting them all and starting from scratch.
I have ONE custom post type left w/ an associated custom field set.
I have ONE form associated with it, left as well.
Deleted everything else.
Not sure TOOLSET is doing proper cleanup when you delete stuff.
Now when I try to create any new WP page, it throws an exception.
Stack trace from php log
----------------------------------------
[14-Feb-2019 19:02:05 UTC] PHP Fatal error: Uncaught InvalidArgumentException: First argument is not a post. in /home/hgorg/www.hanggliding.org/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php:60
Stack trace:
#0 /home/hgorg/www.hanggliding.org/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post.php(41): Toolset_Field_Group->__construct(NULL)
#1 /home/hgorg/www.hanggliding.org/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields-post.php(158): Toolset_Field_Group_Post->__construct(NULL)
#2 /home/hgorg/www.hanggliding.org/wp-content/plugins/types/vendor/toolset/types/embedded/admin.php(107): wpcf_add_meta_boxes('page', Object(WP_Post))
#3 /home/hgorg/www.hanggliding.org/wp-includes/class-wp-hook.php(286): wpcf_admin_add_meta_boxes('page', Object(WP_Post))
#4 /home/hgorg/www.hanggliding.org/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array)
#5 /home/hgorg/www.hanggliding.org/wp-includes/plugin.php(453): WP_Hook->do_action(Array)
#6 /home/hgorg/ww in /home/hgorg/www.hanggliding.org/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php on line 60
Stack trace shows in the browser as well. I have DEBUG enabled.
Hi, I can see your site uses a Redis object caching system. Can you try purging the object cache and any other server-side caching systems? You may have to log into your server's control panel to do this. On another User's site, purging the cache recently solved a similar problem.
I already go it working, but you are likely very correct.
Once I bounced ALL caches - including redis, it started working again.
Ill keep this is in mind when I hit glitches in the future.