Hi,
I'm changing hosts (moving to WPengine). I set up a staging site at WPengine and used the toolset export/import to move everything over.
However - I can't access any intermediary post field groups in the staging site at wpengine - I get
"This page isn’t working
template1.trackcatalog.wpengine.com is currently unable to handle this request.
HTTP ERROR 500"
(It's a subsite of a multi site) -
the set up is exactly the same in the old install (also multi-site) and everything works fine there.
Thank you!
Scott.
Dear Scott,
The 500 Internal Server Error means there are some PHP errors occur in your website.
Please try these:
1) deactivate other plugins, and switch to wordpress default theme 2017, and test again
2) enable PHP debug mode, copy/paste the debug logs here
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging
Hi Luo,
I'm using WPEngine and they provide an error log. Would this be helpful? (see below)
If not I'll do as instructed in link.
I also can't access any intermediary posts that have been created when relating 2 post types. (they are "visible" intermediaries not invisible)
You can see both errors below.
Thanks!
[Mon Sep 03 14:21:54.971999 2018] [:error] [pid 13607] [client 207.38.244.42:34746] PHP Fatal error: Call to a member function get_definition() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/controllers/page/field_group_post_relationship_helper.php on line 191, referer: enlace oculto
[Mon Sep 03 14:27:53.288088 2018] [:error] [pid 5758] [client 207.38.244.42:39941] PHP Fatal error: Call to a member function get_definition() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/controllers/page/field_group_post_relationship_helper.php on line 191, referer: enlace oculto
[Tue Sep 04 14:30:49.787743 2018] [:error] [pid 23924] [client 170.28.136.44:16401] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 14:30:57.713122 2018] [:error] [pid 25360] [client 170.28.136.44:16536] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 14:31:04.968935 2018] [:error] [pid 25087] [client 170.28.136.44:16674] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 14:31:51.043560 2018] [:error] [pid 27154] [client 170.28.136.44:17628] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 14:32:35.480651 2018] [:error] [pid 28036] [client 170.28.136.44:18334] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 14:32:44.255740 2018] [:error] [pid 10873] [client 170.28.136.44:18580] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 14:32:52.164355 2018] [:error] [pid 11164] [client 170.28.136.44:18769] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 15:47:11.211279 2018] [:error] [pid 20377] [client 170.28.136.44:33387] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 15:47:39.650499 2018] [:error] [pid 22078] [client 170.28.136.44:33935] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 15:47:44.053181 2018] [:error] [pid 22053] [client 170.28.136.44:34015] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 15:49:45.926205 2018] [:error] [pid 8524] [client 170.28.136.44:36079] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 15:51:14.378392 2018] [:error] [pid 25866] [client 170.28.136.44:37357] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
[Tue Sep 04 18:40:47.941194 2018] [:error] [pid 32228] [client 170.28.136.44:40920] PHP Fatal error: Call to a member function get_slug() on null in /nas/content/live/trackcatalog/wp-content/plugins/types/application/models/post/intermediary/view/PostEdit.php on line 170, referer: enlace oculto
As you can see, there are lots of PHP errors in your website. please check these:
1) Follow our document to migrate your website:
https://toolset.com/faq/how-do-i-migrate-a-wordpress-site-from-one-domain-to-the-other/
In you case, you just need to use Duplicator plugin to migrate your website, see above document, section "Using third-party plugins to migrate your site".
2) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/
3) If you still need assistance to migrate the website, please provide the credentials for both websites":
- original website
- target website
I need to test it in a live website.
Hi Luo,
I don't get it. The site doesn't need to be migrated. I had the site set up on a host (where everything was working fine) then I used the toolset different exports to export everything to the new install on another host. So it would seem the toolset export functions created this problem.
The only thing I did was export types, views, layouts and forms from one install and imported them into another. This is what it's designed to do right? So why did these issues arise?
How to fix please.
Thanks,
Scott.
Yes, I agree: the problem should occur when you export those types, views, layouts and forms setting files.
Please check these:
1) In the original website:
- upgrade to the latest version of Toolset plugins
- deactivate other plugins, and switch to wordpress default theme 2017
- Export the types, views, layouts and forms setting files
2) In the new website
Same as above
- upgrade to the latest version of Toolset plugins
- deactivate other plugins, and switch to wordpress default theme 2017
- Import the types, views, layouts and forms setting files, and test again
If you still need assistance for it, please provide the credentials for both websites:
- original website
- new website
I need to test it in live websites.
Hi Luo,
So - clearly the exported file is becoming corrupted.
Again - I'm going from 1 multisite subsite of one install to 1 multisite subsite of another install.
The post types and relationship in question are:
Tracks - Clients (many2many) with a "visible" intermediary post type.
All plugins deactivated on both installs except Types and Toolset Advanced Export and the Modules Manager (though I'm not exporting any modules)
using WP Twenty Seventeen theme on both
I am only focusing on the types export at the moment as that seems to be the culprit.
Let's call the install I'm coming from #1 and the one I'm going to #2
In #1 everything works fine - I can access tracks-clients intermediary published posts as well as Tracks Clients Intermediary Posts under "toolset>post types"
#2 is a clean install - no toolset elements - and indeed, in a clean install I can create the above relationship and everything works fine.
I import the export from #1 (types only) into the clean install of #2 and then I have the problem of not being able to access the intermediary published posts or the Tracks Clients Intermediary Posts under "toolset>post types" (I get the HTTP 500 error)
I also get the following error when I import:
Types import errors
Relationship "client" could not be imported. The post type "client" was not found, so it cannot be used in a relationship, post reference field or in a repeatable field group.
Even though it DOES create, during import, the post type "client" and the relationship "track - track-client intermediary - client"
Thank you!!
Scott.
As I mentioned above, the problem is abnormal, and it exists only in your website, it might be a server/compatibility problem of your website, If you still need assistance for it, please provide the credentials for both websites:
- original website
- new website
I can try to locate the problem.
Hi Luo,
I'm just going to rebuild from a fresh install since I was just at the beginning of a rebuild anyway, and I'm not going to be importing anything....everything anew.
Thanks for your help.
Scott.
I'm not sure why you said I resolved this by building a new install...that's not what I said. and indeed it's NOT resolved.