Skip Navigation

[Resolved] TWIG error with NADI plugin enabled

This thread is resolved. Here is a description of the problem and solution.

Problem:
Types dashboard returns a 502 gateway error and settings page is blank when NADI plugin is enabled. The wp-debug error is:

"Catchable fatal error: Object of class Twig_Source could not be converted to string in /var/www/html/wp-content/plugins/next-active-directory-integration/vendor/twig/twig/lib/Twig/Lexer.php on line 87"

Solution:
This issue was with the NADI plugin and not from Toolset Types.

This support ticket is created 6 years, 10 months 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 12:00 – 17:00 -
- 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 18:00 – 21:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by adi-iskandarB 6 years, 10 months ago.

Assisted by: Noman.

Author
Posts
#540138

Types dashboard returns a 502 gateway error and settings page is blank when NADI plugin is enabled. The wp-debug error is "Catchable fatal error: Object of class Twig_Source could not be converted to string in /var/www/html/wp-content/plugins/next-active-directory-integration/vendor/twig/twig/lib/Twig/Lexer.php on line 87"

I can access both Types dashboard and settings page when I disable NADI.

#540250

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi Adi,

Thank you for contacting Toolset Support. The error you have reported is coming from NADI plugin’s file as you can see and not from Types plugin. So this is something they need to fix in their code, please report it to their support forum. There is not much we can do at our end.

"Catchable fatal error: Object of class Twig_Source could not be converted to string in /var/www/html/wp-content/plugins/next-active-directory-integration/vendor/twig/twig/lib/Twig/Lexer.php on line 87"

Thank you

#543548

Issue was with the NADI plugin. Thanks.

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.