Skip Navigation

[Resolved] Fatal error when clicking on Custom Fields

This support ticket is created 2 years, 5 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.

This topic contains 1 reply, has 1 voice.

Last updated by karlK-2 2 years, 5 months ago.

Author
Posts
#2509963

I am trying to get into the toolset custom fields area.

It had been working but I decided to delete the OTGS Installer, after doing that, I started to get this fatal error. I tried uninstalling and reinstalling Toolset Types and the OTGS Installer, but the error persists. I've disabled all plugins except for OTGS Installer and Toolset Types. Any suggestions on where I should look to fix this fatal error? Unfortunately, the error below is also preventing me from accessing the debug info for Toolset.

Warning: include_once(/home/staneweag/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/utility/gui-base/../../lib/twig/src/environment.php): failed to open stream: No such file or directory in /home/staneweag/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/utility/gui-base/twig_autoloader.php on line 77

Warning: include_once(): Failed opening '/home/staneweag/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/utility/gui-base/../../lib/twig/src/environment.php' for inclusion (include_path='.:/opt/cpanel/ea-php74/root/usr/share/pear') in /home/staneweag/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/utility/gui-base/twig_autoloader.php on line 77

Fatal error: Uncaught Error: Class 'OTGS\Toolset\Twig\Environment' not found in /home/staneweag/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/utility/gui-base/main.php:222 Stack trace: #0 /home/staneweag/public_html/wp-content/plugins/types/application/controllers/page/custom_fields.php(260): Toolset_Gui_Base->create_twig_environment(Array) #1 /home/staneweag/public_html/wp-content/plugins/types/application/controllers/page/custom_fields.php(605): Types_Page_Custom_Fields->get_twig() #2 /home/staneweag/public_html/wp-content/plugins/types/application/controllers/page/custom_fields.php(138): Types_Page_Custom_Fields->prepare_dialogs() #3 /home/staneweag/public_html/wp-content/plugins/types/application/controllers/page/router.php(81): Types_Page_Custom_Fields->prepare() #4 /home/staneweag/public_html/wp-includes/class-wp-hook.php(307): Types_Page_Router->__call('load_custom_fie...', Array) #5 /home/staneweag/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #6 /home/sta in /home/staneweag/public_html/wp-content/plugins/types/vendor/toolset/toolset-common/utility/gui-base/main.php on line 222

#2509975

My issue is resolved now. Thank you!