I am trying to export all of my TOOLSET settings to a new site.
When I click on the TOOLSET >> IMPORT/EXPORT link I see a page that says...
===========================
Toolset Export / Import
Export Theme settings
The site is experiencing technical difficulties. Please check your site admin email inbox for instructions.
===========================
When I receive the admin email the error is...
================================================
An error of type E_ERROR was caused in line 50 of the file /var/www/vhosts/MYSITE/httpdocs/wp-content/plugins/layouts/vendor/toolset/toolset-common/lib/Twig/lib/Twig/TokenParserBroker.php.
Error message: Uncaught TypeError: Argument 1 passed to
OTGS\Toolset\Twig_TokenParserBroker::addTokenParser() must implement interface OTGS\Toolset\Twig\TokenParser\TokenParserInterface, instance of Twig_TokenParser_For given, called in /var/www/vhosts/MYSITE/httpdocs/wp-content/plugins/migrate-template-layouts/library/twig/twig/lib/Twig/Environment.php
on line 1507 and defined in
/var/www/vhosts/MYSITE/httpdocs/wp-content/plugins/layouts/vendor/toolset/toolset-common/lib/Twig/lib/Twig/TokenParserBroker.php:50
Stack trace:
#0
/var/www/vhosts/MYSITE/httpdocs/wp-content/plugins/migrate-template-layouts/library/twig/twig/lib/Twig/Environment.php(1507):
OTGS\Toolset\Twig_TokenParserBroker->addTokenParser(Object(Twig_TokenParser_For))
#1
/var/www/vhosts/MYSITE/httpdocs/wp-content/plugins/migrate-template-layouts/library/twig/twig/lib/Twig/Environment.php(1459):
Twig_Environment->initExtension(Object(Twig_Extension_Core))
#2 /var/www/vhosts/oceansidestructures.co
==================================================
I am using PHP version 7.0.33 but I have also tried v7.2.19
Both give the same error.
I am using the TOOLSET Starter Theme. Is that the issue? I don't see any errors in other plugins.
Strange thing is.... the "import" site that I want to import the settings to has all of the same exact theme files and plugins that the "export" site does.
I get the error on the "export" site... but I don't get the error on the "import" site.
Hi, sorry for the inconvenience here. We are aware of a dependency issue with the Twig library affecting current plugins, but we plan a hotfix release tomorrow to address those issues. I don't think the Toolset Starter Theme is directly responsible here, since other Users with different themes have reported similar issues. I'll keep you posted here when the hotfixes are available to download, but we do expect that to happen tomorrow.
Hi, you can now find the hotfix releases available for automatic update or download. Please update to the latest versions of all Toolset plugins, and let me know if the issue is not completely resolved.