• Resolved Frank

    (@feeschwer)


    DEBUG bringt folgende Fehlermeldung:

    PHP Warning: Invalid argument supplied for foreach() in /…/wp-content/plugins/error-log-viewer/error-log-viewer.php on line 1037

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

    (@bestwebsoft)

    Hi,

    Thank you for contacting us!

    Please submit a private ticket via our Help Center (https://support.bestwebsoft.com/)so we could send you the files.

    Brian Henry

    (@brianhenryie)

    This is still an issue with v1.1.0:

    PHP Warning: Invalid argument supplied for foreach() in /home/user/public_html/wp-content/plugins/error-log-viewer/error-log-viewer.php on line 1037

    This is really bad.

    Because of this bug the foreach loop isn’t entered.

    The line immediately after is:

    if ( empty( $message ) ) {
        $message = __( 'No new errors on your site', 'error-log-viewer' );

    The plugin then emails the site administrator saying there are no errors on the site, regardless of any errors, including this very error.

    foreach ( $rrrlgvwr_options['file_path'] as $key => $file ) { is the offending line. In my case, the value of file_path is just /.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Invalid argument supplied for foreach’ is closed to new replies.