Skip Navigation

[Resolved] Toolset Types Interaction with YooTheme is crashing site

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

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 5 replies, has 2 voices.

Last updated by jameyR-3 2 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#2512501

I am trying to: Use Toolset Types in conjunction with YooTheme

The issue is not currently present on the live site but when Toolset and YooTheme are enabled and then the YooTheme customizer is opened the site will crash. Disabling Toolset Types will bring the site back up. Any insight regarding this issue would be much appreciated.

#2513645

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

We will require some more details why is casing the issue. To know that, can you please activate the debug log and share what error you see with that.
- https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/#general-toolset-debugging

Can you please share all those require details that will help us to know what exactly the issue. You should also share the details about where can I download the theme files you are using.

#2517135

Hello Minesh,

Thank you for your guidance. I enabled error logs in our wp-config.php file. In the error_log.txt file this is the error I am receiving:

[16-Dec-2022 16:02:43 UTC] PHP Notice: Undefined index: host in /home/psv86ki5e14z/public_html/wp-includes/canonical.php on line 687
[16-Dec-2022 16:02:43 UTC] PHP Notice: Undefined index: host in /home/psv86ki5e14z/public_html/wp-includes/canonical.php on line 696
[16-Dec-2022 16:02:43 UTC] PHP Notice: Undefined index: host in /home/psv86ki5e14z/public_html/wp-includes/canonical.php on line 699
[16-Dec-2022 16:07:09 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_field_slugs() on bool in /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/Helper.php:68
Stack trace:
#0 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/Helper.php(88): YOOtheme\Builder\Wordpress\Toolset\Helper::fields('post', Array)
#1 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/SourceListener.php(43): YOOtheme\Builder\Wordpress\Toolset\Helper::fieldsGroups('post', 'dentist')
#2 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/container/src/Container.php(277): YOOtheme\Builder\Wordpress\Toolset\SourceListener::initSource(Object(YOOtheme\Builder\Source))
#3 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/application/src/Application/EventLoader.php(71): YOOtheme\Container->call(Array, Array)
#4 /home/psv86ki5e14z/public_html/wp-content/themes/yooth in /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/Helper.php on line 68
[16-Dec-2022 16:07:09 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/psv86ki5e14z/public_html/wp-includes/class-wp-recovery-mode-email-service.php on line 371
[16-Dec-2022 16:07:09 UTC] PHP Notice: Trying to access array offset on value of type bool in /home/psv86ki5e14z/public_html/wp-includes/class-wp-recovery-mode-email-service.php on line 372

The error occurs on our site when we enter the YooTheme customizer while Toolset Types is enabled on our site. If Toolset Types is disabled the error does not occur.

The theme we are using is a custom YooTheme file that exists on our WordPress backend. If there is any information I can provide that could help you access it I would be happy to provide it.

Thanks again,
Grady

#2517139

I also found these errors in a separate error log file:

Stack trace:
#0 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/Helper.php(88): YOOtheme\Builder\Wordpress\Toolset\Helper::fields('post', Array)
#1 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/SourceListener.php(43): YOOtheme\Builder\Wordpress\Toolset\Helper::fieldsGroups('post', 'dentist')
#2 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/container/src/Container.php(277): YOOtheme\Builder\Wordpress\Toolset\SourceListener::initSource(Object(YOOtheme\Builder\Source))
#3 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/application/src/Application/EventLoader.php(71): YOOtheme\Container->call(Array, Array)
#4 /home/psv86ki5e14z/public_html/wp-content/themes/yooth in /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/Helper.php on line 68
[16-Dec-2022 16:09:28 UTC] PHP Warning: require(/home/psv86ki5e14z/public_html/wp-includes/version.php): failed to open stream: No such file or directory in /home/psv86ki5e14z/public_html/wp-settings.php on line 33
[16-Dec-2022 16:09:28 UTC] PHP Fatal error: require(): Failed opening required '/home/psv86ki5e14z/public_html/wp-includes/version.php' (include_path='.:/opt/alt/php74/usr/share/pear') in /home/psv86ki5e14z/public_html/wp-settings.php on line 33

#2519309

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Thank you for sharing error details. Based on what information you shared I see that the error is from theme file.

/home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/SourceListener.php(43): YOOtheme\Builder\Wordpress\Toolset\Helper::fieldsGroups('post', 'dentist')
#2 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/container/src/Container.php(277): YOOtheme\Builder\Wordpress\Toolset\SourceListener::initSource(Object(YOOtheme\Builder\Source))
#3 /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/application/src/Application/EventLoader.php(71): YOOtheme\Container->call(Array, Array)
#4 /home/psv86ki5e14z/public_html/wp-content/themes/yooth in /home/psv86ki5e14z/public_html/wp-content/themes/yootheme/vendor/yootheme/builder-wordpress-toolset/src/Helper.php on line 68

Could you please raise the issue with yootheme support as it certainly seems this needs to be fixed from their end.

#2519897

Ok thank you for your guidance!