Hello.
Just started on a new project and immediately after installing toolset types i am getting these 2 errors.
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\restauranthusetmalin.no\wp-content\plugins\types\vendor\toolset\types\embedded\includes\wpml.php on line 650
Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in C:\xampp\htdocs\restauranthusetmalin.no\wp-content\plugins\types\vendor\toolset\types\embedded\includes\wpml.php on line 667
Why am i getting these and how can i remove them?
I am running PHP version 7.3 and all plugins are updated to the latest versions.
Hello,
This is a known issue with PHP 7.3, see here:
https://toolset.com/errata/php-7-3-shows-warnings-about-continue-statement-in-types/
It will be fixed in future version of Types plugin 3.2.5, but I am not sure when will it be released.
Currently, you can test the patch in your development environment. Replace the file wpml.php, found in the types/vendor/toolset/types/embedded/includes/ directory, with the one contained in this ZIP file:
hidden link
Let me know the results of this test.