Title: PHP Warning
Last modified: August 24, 2016

---

# PHP Warning

 *  Resolved [Jan-Peter](https://wordpress.org/support/users/starguide/)
 * (@starguide)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warning-54/)
 * Hello,
 * since WP 4.2 I get the following error everyday three times in a row:
 * `PHP Warning: fopen(/wp-content/uploads/elm-email-errors.lock): failed to open
   stream: Permission denied in /wp-content/plugins/error-log-monitor/Elm/ExclusiveLock.
   php on line 11`
 * Any idea?
 * [https://wordpress.org/plugins/error-log-monitor/](https://wordpress.org/plugins/error-log-monitor/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warning-54/#post-6072252)
 * Please double-check that `uploads` directory is writable by PHP. The plugin usually
   creates a small “lock file” in there that it uses to ensure it doesn’t send the
   same email notification twice.
 * One (indirect) way to check file permission would be to try to upload an image
   to the media library.
 *  Thread Starter [Jan-Peter](https://wordpress.org/support/users/starguide/)
 * (@starguide)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/php-warning-54/#post-6072266)
 * Ah, got it! Thanks. After the last move somebody just set the rights for the 
   subdirectories 2014, 2015 and so on, but not for the main upload dir. Therefore
   the media upload worked fine and nobody noticed it.
 * Thank you for this really useful plugin!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/error-log-monitor.svg)
 * [Error Log Monitor](https://wordpress.org/plugins/error-log-monitor/)
 * [Support Threads](https://wordpress.org/support/plugin/error-log-monitor/)
 * [Active Topics](https://wordpress.org/support/plugin/error-log-monitor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/error-log-monitor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/error-log-monitor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Jan-Peter](https://wordpress.org/support/users/starguide/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/php-warning-54/#post-6072266)
 * Status: resolved