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
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.
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.
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.
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.