Skip Navigation

[Resolved] Migrated LIVE .com to DEV site at .org

This support ticket is created 3 years, 2 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 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 4 replies, has 2 voices.

Last updated by Shane 3 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#2206477

I am trying to: Have Toolset work on the newly migrated site. Cannot add Posts/Pages.

Link to a page where the issue can be seen: Unfortunately this is only in the WP-Admin area.

I expected to see: Add Page with Toolset items.

Instead, I got: Fatal Error below. I have ensured the old & new site have the same entries at the moment for wp_options. I have added the new ZoomRoom.org key to the wp-config.php file.

Fatal error: Uncaught InvalidArgumentException: Invalid argument type for the post type. in /home/ul8qjgbo7y9j/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php:537

Stack trace: #0 /home/ul8qjgbo7y9j/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php

(310): Toolset_Field_Group->is_assigned_to_type(NULL) #1 /home/ul8qjgbo7y9j/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php

(256): Toolset_Field_Group_Post_Factory::{closure}(Object(Toolset_Field_Group_Post), false) #2 /home/ul8qjgbo7y9j/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group/post_factory.php

(480): Toolset_Field_Group_Post_Factory->filter_groups(Array, Array, Array) #3 /home/ul8qjgbo7y9j/public_html/wp-content/plugins/types/vendor/toolset/types/embedded/includes/fields-post.php

(1489): Toolset_Field_Group_Post_Factory->get_groups_for_element(Object(Toolset_ in /home/ul8qjgbo7y9j/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/inc/autoloaded/field/group.php on line 537

#2207365

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Mark,

Thank you for getting in touch.
Can you let me know how was the website migrated?

The problem seems to be coming from the migration process.

Thanks,
Shane

#2207401

Hello! The database was Exported from a Plesk system using PHPMyAdmin & Imported to a CPanel system the same way. Mostly because the DB size was massive.

#2207439

Hello. Thought I already submit this response, apologies if it's duplicate.

Did a Plesk PHPMyAdmin SQL Export to CPanel SQL Import. Very large DB.

#2208133

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Mark,

Thanks for the update.

Can you try reinstall the Toolset plugins. It also may be a case where the database had some issues while importing but could you try reinstalling the Toolset plugins and let me know if the issue still remains.

If it does then you may need to run the migration again and ensure that your server doesn't timeout during the process.

Thanks,
Shane