Title: Polylang causing problem with Foogallery
Last modified: August 30, 2026

---

# Polylang causing problem with Foogallery

 *  Resolved [paganini58](https://wordpress.org/support/users/paganini58/)
 * (@paganini58)
 * [1 week ago](https://wordpress.org/support/topic/polylang-causing-problem-with-foogallery/)
 * Hi,
 * my foogallery pictures do not show in editor any more, but they do appear in 
   frontend (that’s the good news). After endless checks I found out that polylang
   is the problem (when polylang is deactivated, everything is fine). Discussion
   with ChatGPT informed me that in version 3.2.0 there was a change of polylang
   integration in foogallery, which might cause the problem. I recognized the problem
   right now, but it might be around 4 weeks old (before that time, everything worked
   fine). I use version 3.2.6 and polylang 3.8.7 on generatepress theme.
 * Measures so far: cleared all caches I could find, tried a rollback to May 2026,
   changed lazy loading setup, nothing worked. I do not use any caching plugin. 
   On a test post, I get the following red errors in console:
 * Uncaught TypeError: Cannot read properties of undefined (reading ‘mark’) at Module.
   <anonymous> (index.js?ver=1788095737:34:113483) at n (index.js?ver=1788095737:
   1:110) at index.js?ver=1788095737:1:902 at index.js?ver=1788095737:1:913
 * GET [https://www.peter-auf-tour.de/var/www/web85/htdocs/peter-auf-tour.de/wp-content/plugins/block-options/build/styles-manager-addon.js?ver=6a942cf957cf9](https://www.peter-auf-tour.de/var/www/web85/htdocs/peter-auf-tour.de/wp-content/plugins/block-options/build/styles-manager-addon.js?ver=6a942cf957cf9)
   net::ERR_ABORTED 404 (Not Found)
 * Refused to execute script from ‘[https://www.peter-auf-tour.de/var/www/web85/htdocs/peter-auf-tour.de/wp-content/plugins/block-options/build/styles-manager-addon.js?ver=6a942cf957cf9&#8217](https://www.peter-auf-tour.de/var/www/web85/htdocs/peter-auf-tour.de/wp-content/plugins/block-options/build/styles-manager-addon.js?ver=6a942cf957cf9&#8217);
   because its MIME type (‘text/html’) is not executable, and strict MIME type checking
   is enabled.
 * Do you have any solution for my problem?
 * Thanks and regards,
 * Peter
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpolylang-causing-problem-with-foogallery%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [5 days, 14 hours ago](https://wordpress.org/support/topic/polylang-causing-problem-with-foogallery/#post-19008564)
 * Hi Peter,
 * Thanks for the detailed report. We have reproduced the missing FooGallery images
   in the block editor with FooGallery 3.2.6 and Polylang 3.8.7. The same gallery
   renders again when Polylang is disabled, and the frontend gallery data remains
   intact.
 * Our testing points to a compatibility problem in how the editor request filters
   FooGallery’s selected attachments by language. We are now validating the smallest
   safe fix and the affected versions. Please do not delete or rebuild the gallery,
   and we do not want to promise a release date until the fix has completed testing
   and review.
 * The `block-options` / `styles-manager-addon.js` console messages are from the
   EditorsKit / Block Options plugin and are a separate issue. We reproduced those
   messages even when the FooGallery preview was working, so they are not the cause
   of this FooGallery/Polylang problem.
 * We will update this topic when the FooGallery fix has passed testing. If your
   WordPress or PHP versions differ from the current releases, please share those
   versions as well, as they will help us cover your environment in the final checks.
 *  Plugin Support [elviiso](https://wordpress.org/support/users/elviiso/)
 * (@elviiso)
 * [5 days, 14 hours ago](https://wordpress.org/support/topic/polylang-causing-problem-with-foogallery/#post-19008573)
 * Hi [@paganini58](https://wordpress.org/support/users/paganini58/)
 * We are aware of this issue and our team is currently working on a fix. I will
   reach back out to notify you as soon as the patch is deployed and released in
   an upcoming FooGallery update!
 * Best regards,
   Elvis
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [2 days, 15 hours ago](https://wordpress.org/support/topic/polylang-causing-problem-with-foogallery/#post-19011600)
 * hi [@paganini58](https://wordpress.org/support/users/paganini58/)
 * Just an update on this issue.
 * We have released FooGallery v3.3.3 today which fixes the compatibility problem
   with Polylang. It should be available to update in a few hours.
 * I am therefore resolving this thread. Please let us know how it works for you
   either way
 *  Thread Starter [paganini58](https://wordpress.org/support/users/paganini58/)
 * (@paganini58)
 * [2 days, 13 hours ago](https://wordpress.org/support/topic/polylang-causing-problem-with-foogallery/#post-19011788)
 * it works 🙂 – Thank you so much !

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%2Fpolylang-causing-problem-with-foogallery%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Gallery : FooGallery](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [paganini58](https://wordpress.org/support/users/paganini58/)
 * Last activity: [2 days, 13 hours ago](https://wordpress.org/support/topic/polylang-causing-problem-with-foogallery/#post-19011788)
 * Status: resolved