Actually this is not resolved for our sites. I activated the plugin on the website I really need it on – three pages are working, the other main pages are not working and still getting the same error. [NOTE: this is with Browser/OS/Device options enabled]
Parse error: syntax error, unexpected T_USE, expecting T_FUNCTION in /home/content/65/5274565/html/uransoft/wp-content/plugins/duracelltomi-google-tag-manager/integration/whichbrowser/src/Parser.php on line 9
I activated the plugin on another site so you can see the issue:
https://uransoftware.com/
We are now running PHP version: 5.4.19 (you can verify this here as I added a page to show the current PHP version: https://uransoftware.com/phpversion.php
I will add that this issue is intermittent so you will need to navigate back and forth between pages to get the error. I have tried it on three browsers – Firefox 48.0, Chrome 52.2 and Safari 9.1.1. There are varying and inconsistent results…
- The homepage will display without error but when you navigate to other pages (using the navigation menu) some give the original PHP error.
- When navigating back to the homepage that page again can gives an error
- Using the back arrow usually opens the page that is working
- Pages are working but when you click on the upper left site name to go back to the homepage then the homepage gives the PHP error. After this even the back arrow key will show the error on a page that previously displayed without error. Refreshing this page sometimes works
Although the plugin may work with a later version of PHP GoDaddy shared hosting only offers up to 5.4.19.
Disabling the Browser/OS/Device options works but I have not disabled the options on uransoftware.com if you want to take a look.