Support » Plugin: Advanced Recent Posts » Minor Enhancement Request: To suppress 1000s/minute debug log warnings

  • On high traffic WordPress sites with deep debugging enabled, 1000s of “Undefined variable” diagnostics are produced from…

    …/advanced-recent-posts/includes/class.widget.fluid.images.php on line 125

    The fix is simple + is my enhancement request.

    Please change this line of code to the following, for PHP-5.6.x + PHP-7.0.x series compatibility.

    ‘tax_query’ => isset($tax_query) ? $tax_query : ”,

    Thanks for your consideration.

    https://wordpress.org/plugins/advanced-recent-posts/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Be great if this could be fixed.

    On high traffic servers running deep debugging/instrumentation, this produces 1000s of diagnostic messages every hour.

    Makes debugging real problems a nightmare.

    Be great if this minor fix was added to code.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Minor Enhancement Request: To suppress 1000s/minute debug log warnings’ is closed to new replies.