• M

    (@infolegal)


    When trying to delete all records in the log, WP returns this warning:
    Warning: Invalid argument supplied for foreach() in /home/***/public_html/wp-content/plugins/redirection/models/pager.php on line 88

    Warning does not occur in the 404 log.

    Would be nice to fix.
    Thanks!

    https://www.ads-software.com/plugins/redirection/

Viewing 3 replies - 1 through 3 (of 3 total)
  • I can’t reproduce this, so if you think the plugin author should fix it, you’ll have to include more information. I suggest trying it on a different site, to see if the error happens again. Then you have data to debug, such as your server setup or something else. ^_^

    Thread Starter M

    (@infolegal)

    I can’t find a rule yet to describe so you can test it too. But bug has occured at least once more since my posting here. As soon as I get the logic I’ll write it here.

    Thread Starter M

    (@infolegal)

    I think I found a way to reproduce the bug. In the page: wp-admin/tools.php?page=redirection.php&sub=log if you select “delete” option in the bottom of the page without actually selecting any entry in the page to be deleted, this error will appear:

    Warning: Invalid argument supplied for foreach() in /home/***/public_html/wp-content/plugins/redirection/models/pager.php on line 457

    Then, if you select the delete all, in the same page, the error is kept on top of the page (it may not appear again, but only the message could be shown.. this is only a supposition)

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