Skip Navigation

[Resolved] Error when creating a post

This thread is resolved. Here is a description of the problem and solution.

Problem:

I get an error when I want to create a new regular post.

Solution:

It is a database version problem, see the solution here:

https://toolset.com/forums/topic/error-when-creating-a-post/#post-1572183

Relevant Documentation:

This support ticket is created 4 years, 8 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Martin 4 years, 8 months ago.

Assisted by: Luo Yang.

Author
Posts
#1571169

Suddenly since today I get an error when I want to create a new regular post. It seems that we did not change anything (we remember) in the last days. So we doe not know why this shows up. As it says something about Toolset, can you recognize what it is about?

Warning: Creating default object from empty value in /homepages/38/d484468753/htdocs/childhood/wp-admin/includes/post.php on line 713

Fatal error: Uncaught InvalidArgumentException: Invalid argument type for the post type. in /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group.php:530 Stack trace: #0 /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(312): Toolset_Field_Group->is_assigned_to_type(NULL) #1 /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(258): Toolset_Field_Group_Post_Factory->{closure}(Object(Toolset_Field_Group_Post), false) #2 /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php(458): Toolset_Field_Group_Post_Factory->filter_groups(Array, Array, Array) #3 /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fiel in /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/toolset-blocks/vendor/toolset/toolset-common/inc/autoloaded/field/group.php on line 530
Es gab einen kritischen Fehler auf deiner Website. Bitte überprüfe den Posteingang deiner Website-Administrator-E-Mail-Adresse für weitere Anweisungen.

Erfahre mehr über die Fehlerbehebung in WordPress.

Fatal error: Uncaught RuntimeException: Fehler beim Speichern der Aktion: Fehler beim Speichern der Aktion: INSERT command denied to user 'o341617'@'infongp-de65.clienthosting.eu' for table 'yo0py4e6btactionscheduler_actions' in /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php:44 Stack trace: #0 /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/woocommerce/packages/action-scheduler/classes/data-stores/ActionScheduler_HybridStore.php(225): ActionScheduler_DBStoreMigrator->save_action(Object(ActionScheduler_Action), NULL) #1 /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(177): ActionScheduler_HybridStore->save_action(Object(ActionScheduler_Action)) #2 /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/woocommerce/packages/action-scheduler/classes/ActionScheduler_ActionFactory.php(84): ActionScheduler_ActionFa in /homepages/38/d484468753/htdocs/childhood/wp-content/plugins/woocommerce/packages/action-scheduler/classes/migration/ActionScheduler_DBStoreMigrator.php on line 44

#1571597

Hello,

The problem you mentioned above abnormal, please check these in your website:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2020, and test again

3) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem post URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1572183

My issue is resolved now. Thank you!
Hi, I found out that after an update of the database to a higher version it ran (for no know reasons so far) "full". No further data was able to be added. I could switch to an older backup and all is fine again. So, problem solved as I assume ti is a database problem and not a Toolset one.