Support » Plugin: WPBook » Still some fwrite warnings with the cron

  • I see tons of these in my logs:
    PHP Warning: fwrite() expects parameter 1 to be resource, boolean given in /wp-content/plugins/wpbook/includes/wpbook_cron.php on line 147

    Let me know if you need more info.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author John Eckman


    This is in the most recent version of WPBook?

    The client has an IPv6 address so maybe that’s the problem if you parse the IP?

    Plugin Author John Eckman


    The fwrite shouldn’t be parsing any IP – it is just trying to write to the local debug file, I think.

    Line 147 of wpbook_cron is just writing to a debug file, opened under the fopen call a few lines above.

    If that file handle passed into the call is a boolean rather than a file pointer, I think that means the file wasn’t opened – maybe the file system there isn’t writeable?

    Disabling debugging should make these go away

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Still some fwrite warnings with the cron’ is closed to new replies.