Hi, I updated Toolset plugins today to the latest version and I am receiving critical error:
Parse error: syntax error, unexpected '::' (T_PAAMAYIM_NEKUDOTAYIM) in /wp-content/plugins/cred-frontend-editor/vendor/toolset/common-es/server/Rest/Route/ToolsetSettings.php on line 96
I built the copy of your website locally and I had to disable all the plugins in order to login to the backend. I started by enabling only Toolset plugins, the issue was not reproduced. Then, I enabled a couple of plugins at a time until I activated all the plugins, except cache, and security plugins. And the issue was not reproduced.
I suspect one of the following:
- Either, it is an edge case that happens when one of your plugins is installed before Toolset Forms.
- Or, an issue with PHP 5.6. My local setup uses PHP 7.3. Check this screenshot from the Duplicator script hidden link
To verify the first case, we need to disable all plugins, enable Toolset plugins, then enable the other plugins. I wanted to test it on the provided server, but the FTP credentials are not working for me. Your next reply will be private to let you share credentials safely if you want me to test this.
To verify the second case, you need to ask your hosting provider to change the PHP version. Maybe you can change it in your hosting dashboard, such as cPanel.
So I suspect this has something to do with php, because my other websites work fine after update, and this is the only website still using php 5.6 (unfortunately, it cannot be updated to the newer version, because of incompatibility issues of other websites on the server).
Indeed, this is an issue that happens on PHP 5. I get the same errors too. Let me escalate this to our 2nd Tier and get back to you as soon as we have something to share.
Jamal doesn't work Thursday's, so let me update that we have published plugin hotfixes for this issue which are now available at toolset.com/account/downloads. If you don't see the updates on your plugins page, click the registered link for one of our plugins to go to the custom installer page, where you can use the "Check for Updates" button to bring up the updates.
As Nigel explained, we have published Forms 2.6.8 to fix this issue with PHP 5.6. I have tested it with the local copy that I have from your site and it worked without issues. Can you update Forms to the latest release, either through the Toolset Installed(Plugins->Add New->Commercial(tab)). Or you can download the latest version manually from your account page https://toolset.com/account/downloads/