Can you paste the exact error message?
Also, try deleting the plugin and reinstalling the latest version.
Thank you for your answer. I deactivate and delete the plugin. But impossible to even reinstalled the latest version 3.1 linked in another post. But that changes nothing
Here is the error:
Warning: Unexpected character in input: ‘\’ (ASCII=92) state=1 in /data/alternc/html/c/***ddd***/www/triangle/wp-content/plugins/php-browser-detection/php-browser-detection.php on line 44
I can send you the back office if you want to see
best regards
You most likely do not have the proper version of PHP. That error suggests that you do not have at least PHP 5.3.
Hi, I have the last version of the plug-in (3.1.1) and also have a line 44 error :
Parse error: syntax error, unexpected T_STRING in “php-browser-detection.php” on line 44
This happened when I changed my install from local with PHP 5.5 where I didn’t have any problem to my online web hosting which have PHP 5.4
Do you have an idea how to solve this error ?
By the way, thanks for this awesome plug-in !!! Very useful.
Thanks
That error indicates you are not using PHP 5.4, but probably an older version. That issue is caused by PHP versions 5.2 and older which do not support namespaces.
See: http://php.net/manual/en/language.namespaces.rationale.php
You will need to ask your host to upgrade to at least PHP 5.3.
If you are 100% certain you are using version 5.3 or higher post a link to the site with the output of php_info() and we will investigate.
Hello, I checked again and it appears I misread the php-info… I’m in php 5.2 that’s were my problem come from. Thank you for you reply !