PHP Fatal Error on Auto Update
-
We have php-browser-detection installed on a client site of ours. We upgraded php-browser-detection to Version 3.8 on June 2nd. On July 2nd we received the following PHP Fatal Error:
[Sun Jul 02 00:16:36.538579 2016] [:error] [pid 10313] [] PHP Fatal error: Uncaught exception ‘phpbrowscap\\Exception’ with message ‘error opening lockfile /home/release/www/www.clientsite.com/wp-content/plugins/php-browser-detection/cache/cache.lock’ in /home/release/www/www.clientsite.com/wp-content/plugins/php-browser-detection/lib/Browscap.php:527
This fatal error continued for some time causing our WordPress pages to fail to render properly.
Some questions that I have:
1.) Has anyone else experienced something similar on their WordPress installations?
2.) Cache.lock is not a file that is included when downloading the latest version of your plugin. It seems like there is a permissions issue with the plugin in that it either expects this file to already be there or it cannot create it when it needs it. Can you provide any more details around this?
3.) The remedy for this was to create the cache.lock file manually and set write permissions on it. If thats the case though then this should be part of the installation instructions unless Im missing something.Thanks for any help you can give me.
Sincerely,
Brian
- The topic ‘PHP Fatal Error on Auto Update’ is closed to new replies.