Support » Plugin: Optimize Images Resizing » Plugin stuck at 110/692. Doesn’t generate any error. Any fix?

  • Resolved badcoffee


    Hi there,

    I just downloaded this plugin and I’m running into a persistent issue. Whenever I run the “Remove image sizes” clean up function it always freezes early in the process- at 110/692:

    Things I’ve tried:
    – Switching the theme to the default WP theme, then using the “Remove image sizes” function. Didn’t work (same problem- it froze)

    – Disabling all of my other plugins. Still didn’t work.

    – Checked my .php error logs. But the logs don’t show anything, since the plugin just hangs and doesn’t generate an error.

    Any suggestions?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author OriginalEXE



    is your WP_DEBUG set to true in wp-config.php file?

    Yes it is. But it just displays an error at the top of my website saying:

    Warning: Missing argument 2 for Better_Mag::better_sticky_sidebar_config() in /home/virtual/site27/fst/var/www/html/wp-content/themes/better-mag/includes/class-better-mag.php on line 1892
    Notice: Undefined variable: sidebar_id in /home/virtual/site27/fst/var/www/html/wp-content/themes/better-mag/includes/class-better-mag.php on line 1894

    But nothing new gets added to my php-errors.log file. All it says is:

    ini_set('log_errors', 'On');
    ini_set('error_log', '/full/path/to/php-errors.log');
    Plugin Author OriginalEXE



    what you can try is go to this file in your plugins folder:

    Below that highlighted line, add this:
    error_log( $file );

    This will error log each file as it processes it. That means your error log file will fill up pretty fast, but once it gets stuck, the last file it logs is the problematic one, so try deleting that one manually.

    I just tried what you’ve suggested, but unfortunately it didn’t generate any sort of error log. The problem is that the plugin just “hangs” and doesn’t generate an error, so my error log files aren’t changed at all.

    Any other possible ways of identifying the problem file?

    Plugin Author OriginalEXE


    Hmm that would probably mean you are not checking the correct file for error logs, or that error logging does not work on your server, because error_log should definitely work.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Plugin stuck at 110/692. Doesn’t generate any error. Any fix?’ is closed to new replies.