Force Regenerate Thumbnails
[resolved] Weird "function()..." message instead of success text (2 posts)

  1. Ov3rfly
    Posted 2 years ago #

    If WP_DEBUG in wp-config.php is set to true and you use the plugin, there is a weird message with some code instead of success text:

    function () { if (c) { var a = c.length; n(arguments), j ? (l...

    The regeneration works fine, only the message is bad. Taking a look at the JSON result reveals, it has the success JSON but is prepended with a php notice:

    <b>Notice</b>: Undefined variable: regenerate_status in <b>/var/.../wp-content/plugins/regenerate-thumbnails/regenerate-thumbnails.php</b> on line <b>498</b><br />

    Obviously $regenerate_status is never initialized or set but still used in line 498.

    Please fix, thanks.


  2. Pedro Elsner
    Plugin Author

    Posted 2 years ago #

    Hello @Ov3rfly,
    The version 1.3 is already avaliable.
    Download and enjoy!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Force Regenerate Thumbnails
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.