Support » Plugin: PHP Browser Detection » 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/’ in /home/release/www/

    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.


Viewing 1 replies (of 1 total)
  • Plugin Author Mindshare Labs, Inc.


    This sounds like a standard permissions issue. However, it also could be that PHP is running out of RAM while writing to the file but based on your solution it seems more likely to be a problem with permissions. An update will be released soon, we’ll look out for this during testing.

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Fatal Error on Auto Update’ is closed to new replies.