I am trying to activate newest types plugin and have some dependency problems.
I tried to access admin-page from toolset, for example "Dashboard".
I get an Error, because toolset uses another version of Twig Library.
Fatal error: Uncaught TypeError: Argument 1 passed to Twig\Environment::addFunction() must be an instance of Twig\TwigFunction, string given, called in ...\htdocs\wp-content\plugins\types\vendor\toolset\toolset-common\utility\gui-base\twig_extensions.php on line 36 and defined in ..\htdocs\wp-content\plugins\ob-common\vendor\twig\twig\src\Environment.php on line 852
I am using newer version of Twig with composer "twig/twig": "^2.7".
My 2nd tier support team asked me to find out if this version of Twig is a dependency of your own, or a dependency of another theme or plugin? If so, which one?
Thank you, Christian.
This is a plugin, developed by my own.
Using the newest version of Twig 2.11.3 (enlace oculto, enlace oculto).
Same like toolset, i am using composer and its classloader. Never had any problems with any other plugins or themes.
Toolset uses obviously the older Twig version 1.32.0 and some deprecated functions. If i switch my Twig version back to same 1.32.0 it works fine.
Would it be possible for toolset to deliver it with newer twig-version?
Thank you for your patience, Christian is currently out today, however I checked on the escalated thread for this and it seems our development team has identified the issue and are working on fixing it.
Currently there isn't any workaround from our side but it will definitely be updated.
Our developers have let me know this will be resolved in Types 3.3.4, which is still in development. I will keep you updated here when I have a release date available.
Sorry for the miscommunication, this issue should be resolved in Types 3.3.3 which has already been released. Please let me know if the issue is not completely resolved after updating all Toolset plugins to the latest versions.