Title: Plugin not automatically adding galleries to posts
Last modified: May 6, 2026

---

# Plugin not automatically adding galleries to posts

 *  [alysoncoletta](https://wordpress.org/support/users/alysoncoletta/)
 * (@alysoncoletta)
 * [2 days, 13 hours ago](https://wordpress.org/support/topic/plugin-not-automatically-adding-galleries-to-posts/)
 * The last few days I have no longer been able to have galleries automatically 
   added to my posts when I hit the button to insert it. Instead, I now have to 
   copy each short code over. Is there a reason this would stop working? I am currently
   using the Classic Editor.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [2 days, 13 hours ago](https://wordpress.org/support/topic/plugin-not-automatically-adding-galleries-to-posts/#post-18900588)
 * A couple of questions:
    1. Can you please provide me with an error log from your console? To get this, 
       open the browser’s Developer Tools from page that you are editing. In Chrome
       on Windows, this would be F12 (also on a Mac), or Ctrl + Shift + I. Click on
       the tab that says “Console”. As you proceed through the clicks in the Wizard
       and get to the last step, let me know if you are seeing any errors in the “Console”
       when you try to insert the gallery.
    2. Switch from the “Visual” mode of the Classic Editor to the “Code” mode and reload
       the page. Then try inserting the gallery. Does this work?
 * Can you also please let me know what plugins are active on your site?
 *  Thread Starter [alysoncoletta](https://wordpress.org/support/users/alysoncoletta/)
 * (@alysoncoletta)
 * [2 days, 1 hour ago](https://wordpress.org/support/topic/plugin-not-automatically-adding-galleries-to-posts/#post-18901168)
 * Option 2 does not work, unfortunately. This is the error I’m getting in the console
   when I hit Insert: Uncaught (in promise) Error: A listener indicated an asynchronous
   response by returning true, but the message channel closed before a response 
   was received
 * Active Plug-Ins: AdRotate Professional, Advanced Custom Fields, Advanced Database
   Cleaner, Ally – Web Accessibility & Usability, Classic Editor, Custom Post Type
   UI, Dynamic Visibility for Elementor, DynamicConditions, Elementor, Elementor
   Pro, Hide Admin Notices, JetBlog For Elementor, JetEngine, Members, Ninja Popups,
   Photonic, Prime Slider, Prime Slider Pro, Redirection, Security Optimizer, Speed
   Optimizer, White Label CMS, WordPress Backup & Security Plugin – BlogVault, Wp-
   Insert, WP-Memory-Usage, Yoast SEO
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [1 day, 12 hours ago](https://wordpress.org/support/topic/plugin-not-automatically-adding-galleries-to-posts/#post-18901791)
 * Thanks for this information. A few more questions:
    1. Can you please provide me with a full stack trace (you can expand on the error
       message in the console). I want to see which file and which call are triggering
       this – Chrome should give y ou the file name and other information.
    2. If you pick an existing gallery, are you able to edit that successfully?
    3. If you switch to Gutenberg / the Block Editor, are you able to create a new 
       gallery?
 *  Plugin Author [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * (@sayontan)
 * [1 day, 12 hours ago](https://wordpress.org/support/topic/plugin-not-automatically-adding-galleries-to-posts/#post-18901806)
 * Another test: can you please try this in a different browser, or in the Incognito
   Mode in Chrome? From what I could see, this **_might_** happen due to [a bug in some **Chrome** extensions](https://stackoverflow.com/questions/72494154/a-listener-indicated-an-asynchronous-response-by-returning-true-but-the-messag)(
   unrelated to WordPress). Do you still get the error in another browser? Do you
   have some optimization plugins installed for Chrome?

Viewing 4 replies - 1 through 4 (of 4 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-not-automatically-adding-galleries-to-posts%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/photonic/assets/icon.svg?rev=1972449)
 * [Photonic Gallery & Lightbox for Flickr, SmugMug & Others](https://wordpress.org/plugins/photonic/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photonic/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photonic/)
 * [Active Topics](https://wordpress.org/support/plugin/photonic/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photonic/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photonic/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Sayontan Sinha](https://wordpress.org/support/users/sayontan/)
 * Last activity: [1 day, 12 hours ago](https://wordpress.org/support/topic/plugin-not-automatically-adding-galleries-to-posts/#post-18901806)
 * Status: not resolved