Skip Navigation

[Resolved] Toolset erros

This support ticket is created 6 years, 1 month 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
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by Yoshifumi Yamada 6 years, 1 month ago.

Assisted by: Nigel.

Author
Posts
#1166138

When the menu "Toolset" on the wordpress contorol panel is clicked, the following message appears.
Also I can not find the Toolset plugin in the plugin list.

Fatal error: Uncaught Error: Class 'Twig_TokenParser_Spaceless' not found in /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Extension/Core.php:135 Stack trace: #0 /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Environment.php(1505): Twig_Extension_Core->getTokenParsers() #1 /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Environment.php(1459): Twig_Environment->initExtension(Object(Twig_Extension_Core)) #2 /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Environment.php(1381): Twig_Environment->initExtensions() #3 /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Lexer.php(382): Twig_Environment->getUnaryOperators() #4 /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Lexer.php(68): Twig_Lexer->getOperatorRegex() #5 /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Environment.php(650): Twig_Lexer->__construct(Object(Twig_Environment)) #6 /h in /home/mypage-jpn-ga/www/wp-content/plugins/types/vendor/twig/twig/lib/Twig/Extension/Core.php on line 135

#1166275

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Hi there

I haven't seen such an issue reported before.

The error message gives the impression that some of the files that are included with Types where the Class 'Twig_TokenParser_Spaceless' is defined are missing.

So I would suggest that you first download the zip file of the current version of Types from here: toolset.com/account/downloads

Then on your plugins page delete the current install of Types and then at Plugins > Add New upload the zip file you just downloaded.

See if that removes the error message.

#1167396

My issue is resolved now. Thank you!