Skip Navigation

[Resolved] Toolset types causing fatal error

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 6 replies, has 2 voices.

Last updated by Minesh 1 year, 1 month ago.

Assisted by: Minesh.

Author
Posts
#2647329

Hi,

When uploading deactivatiing/activating random plugins in my installation with the most recent version of Toolset Types active, an fatal error is shown. For now I downgraded the Types to version 3.4.19 which seems to resolve the issue.

Info from debug.log:
[23-Sep-2023 08:02:27 UTC] PHP Fatal error: Uncaught Error: Call to undefined function OTGS\Installer\AdminNotices\wpml_collect() in /var/www/vhosts/light4u.io/httpdocs/wp-content/plugins/types/vendor/otgs/installer/includes/admin-notices/Dismissed.php:36
Stack trace:
#0 /var/www/vhosts/light4u.io/httpdocs/wp-includes/class-wp-hook.php(310): OTGS\Installer\AdminNotices\Dismissed::dismissNoticeOnPluginActivation('woocommerce-vie...', false)
#1 /var/www/vhosts/light4u.io/httpdocs/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters(NULL, Array)
#2 /var/www/vhosts/light4u.io/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#3 /var/www/vhosts/light4u.io/httpdocs/wp-admin/includes/plugin.php(678): do_action('activate_plugin', 'woocommerce-vie...', false)
#4 /var/www/vhosts/light4u.io/httpdocs/wp-admin/plugins.php(58): activate_plugin('woocommerce-vie...', 'hidden link...', false)
#5 {main}
thrown in /var/www/vhosts/light4u.io/httpdocs/wp-content/plugins/types/vendor/otgs/installer/includes/admin-notices/Dismissed.php on line 36

Thanks, Jelle

#2647413

Minesh
Supporter

Languages: English (English )

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

Hello. Thank you for contacting the Toolset support.

Can you please specify and share exact step information I will have to follow that should help me to reproduce the issue. You can share what plugin you are trying to activate/deactivate and while latest Toolset Types version 3.4.20 is installed.

#2647429

Hi,

Of course. I updated to the most recent version of Toolset Types. After that I installed a third party plugin which gave a fatal error. So I started investigating be deactivating all the plugins for the WordPress installation and activating them one by one. All other third-party plugins are working fine an can be activated without any problems.

After activating Toolset Types 3.4.20, I couldn't even activate Toolset Woocommerce plugins or Toolset Blocks f.e. After reinstalling the previous version of Toolset Types everything was fine again.

Br, Jelle

#2647487

Minesh
Supporter

Languages: English (English )

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

I've created the following sandbox site and you can auto-login to it using the following auto-login link:
- hidden link

Where I've installed the latest Toolset Types version 3.4.20 and activated it and then I've tried to install the latest WooCommerce plugin using the plugins page and activated it but I do not able to reproduce the issue you shared.

Can you please try to check if you able to reproduce the issue with above sandbox site and if so then share the exact steps to reproduce the issue.

#2647537

Hi Minesh,

Oke thanks. When installing/activating Toolset WooCommerce Blocks the fatal error is shown in my case. But as it turns out, this is not happening in the sandbox site. So I guess something is wrong with my installation.

#2647539

I updated the plugin again and everything seems to be fine now. Not sure what was going on.. really strange.

#2647565

Minesh
Supporter

Languages: English (English )

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

Glad to know that your issue is resolved. You're welcome to mark resolve this ticket.

#2647587

Thanks, I am as well!

Br, Jelle