Title: Two errors repeating in log re: plugin itself
Last modified: August 30, 2016

---

# Two errors repeating in log re: plugin itself

 *  [filup](https://wordpress.org/support/users/filup/)
 * (@filup)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/two-errors-repeating-in-log-re-plugin-itself/)
 * [Thu Oct 08 18:38:47.819997 2015] [:error] [pid 16576] [client 192.69.243.82:
   55777] PHP Warning: fclose() expects parameter 1 to be resource, boolean given
   in /nas/wp/www/cluster-40838/newrockstars/wp-content/plugins/error-log-monitor/
   Elm/PhpErrorLog.php on line 110, referer: [http://newmediarockstars.com/wp-admin/index.php](http://newmediarockstars.com/wp-admin/index.php)
   [
   Thu Oct 08 18:38:47.819902 2015] [:error] [pid 16576] [client 192.69.243.82:55777]
   PHP Warning: fopen(/var/log/apache2/newrockstars.error.log): failed to open stream:
   Permission denied in /nas/wp/www/cluster-40838/newrockstars/wp-content/plugins/
   error-log-monitor/Elm/PhpErrorLog.php on line 109, referer: [http://newmediarockstars.com/wp-admin/index.php](http://newmediarockstars.com/wp-admin/index.php)
 * [https://wordpress.org/plugins/error-log-monitor/](https://wordpress.org/plugins/error-log-monitor/)

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

 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/two-errors-repeating-in-log-re-plugin-itself/#post-6629763)
 * It looks like the plugin is trying to read the Apache error log, which is not
   accessible to plugins. Did you intentionally point it to that log file, or did
   it start doing that on its own?
 *  Thread Starter [filup](https://wordpress.org/support/users/filup/)
 * (@filup)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/two-errors-repeating-in-log-re-plugin-itself/#post-6629914)
 * Nope, I’ve made no alterations to this plugin.
 *  Plugin Author [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * (@whiteshadow)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/two-errors-repeating-in-log-re-plugin-itself/#post-6629923)
 * Hmm, that’s strange. Try explicitly setting the error log file name in your `
   wp-config.php` like this:
 * `@ini_set('error_log', '/full/path/to/php-errors.log');`
 * Replace the example path with the actual log file path. Note that this must be
   an _absolute_ path, not a path relative to your WordPress directory or FTP root.

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

The topic ‘Two errors repeating in log re: plugin itself’ 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/)

 * 3 replies
 * 2 participants
 * Last reply from: [Janis Elsts](https://wordpress.org/support/users/whiteshadow/)
 * Last activity: [10 years, 8 months ago](https://wordpress.org/support/topic/two-errors-repeating-in-log-re-plugin-itself/#post-6629923)
 * Status: not resolved