When I try to access the new "Custom Code" tab in settings, I'm met with a never-ending progress bar. (see image one)
Clicking on "Add New" does nothing.
Looking at the console, I see knocked-related javascript errors. (see image two)
I have many sites with toolset installed. This error is present on some but not others. It's even present on a few multisite sites while it works perfectly fine on others. I have already disabled all plugins except for Toolset. Same result.
Ideas?
Hello,
This is abnormal, please try these:
1) In case it is a compatibility problem, please deactivate other plugins, and switch to wordpress default theme 2017
2) Enable PHP debug mode, get your website PHP debug logs, copy/paste the PHP debug logs/JS errors here:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/
3) If the problem still persists, please provide database dump file(ZIP file) of your website, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/
#1 and 2 yielded nothing new.
I was able to create a brand new site and not see the error, but that's not an option.
I have some sites with the error that are on a multisite install, but exporting that property requires the paid version of the duplicator plugin.
I am unable to provide an export of our website, as it contains personal data. I could try to clear it of any sensitive information, but it would take a little bit of time.
Did you get the PHP debug logs?
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#php-debugging
I have enabled the private message box, lease update here when your duplicator package is ready to download
Thanks for the details, I am downloading the files, will update here if there is anything found
Thanks for the details, I can see the problem with your database dump file, it seems that your website was setup with old version of Types plugin, and is still using legacy parent/child post type relationships, I suggest you try these:
1) Backup your website database
2) Dashboard-> Toolset-> Relationship
click button "Running the migration", and test again.
It works fine in my localhost, see screenshot code-snippets.JPG
More help:
https://toolset.com/2018/05/when-if-to-migrate-relationships-in-old-toolset-sites/
Awesome. That did the trick. Now I'll know how to fix all the other ones where the javascript wasn't loading. Thanks.