shortpixel alt generator got stuck and the javascript console says there are items in…
- User
shortpixel alt generator got stuck and the javascript console says there are items in the queue, but it's not true, how to fix it?
- Assistant
shortpixel alt generator got stuck and the javascript console says there are items in the queue, but it's not true, how to fix it?
When the ShortPixel ALT Generator gets stuck and the JavaScript console indicates there are items in the queue when in reality there aren't, it generally means the plugin's queue status has become out of sync—possibly due to a cached state or a transient error.
Here are some steps to fix this issue:
Clear Cache and Cookies
Reset the Queue Manually
shortpixel_ or transients named like _transient_shortcode_alt_generator_queue.Run the ALT Generator in Small Batches
Check for Plugin or Theme Conflicts
Update or Reinstall ShortPixel
Check Server Logs and Console Errors
Contact ShortPixel Support
If you want a quick way to reset the queue in the database and have access to WP-CLI and your DB, running:
DELETE FROM wp_options WHERE option_name LIKE '%shortpixel%alt_generator%';
(or the equivalent in your DB prefix) can force the plugin to reset the queue status.
If you want, I can provide exact queries or commands tailored to your environment.
Not yet included in a published release.