• First, thank you for this plugin ??

    I installed it and looked at the log and it said this:
    PHP Warning: fread(): Length parameter must be greater than 0 in …\wp-content\plugins\wpsimpletools-log-viewer\wpsimpletools-log-viewer.php on line 51

    So I guess it’s working?

Viewing 1 replies (of 1 total)
  • Thread Starter lamafoundation

    (@lamafoundation)

    On line 45 of wpsimpletools-log-viewer.php I replaced
    if (! empty($logFile) )
    with
    if (! empty($logFile) && filesize($logFile) > 0 )

    That seems to have taken care of it

Viewing 1 replies (of 1 total)
  • The topic ‘PHP Warning’ is closed to new replies.