{"id":19006759,"date":"2026-08-30T13:45:29","date_gmt":"2026-08-30T13:45:29","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/polylang-causing-problem-with-foogallery\/"},"modified":"2026-08-30T13:45:29","modified_gmt":"2026-08-30T13:45:29","slug":"polylang-causing-problem-with-foogallery","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/polylang-causing-problem-with-foogallery\/","title":{"rendered":"Polylang causing problem with Foogallery"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Hi, <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">my foogallery pictures do not show in editor any more, but they do appear in frontend (that&#8217;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. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Uncaught TypeError: Cannot read properties of undefined (reading &#8216;mark&#8217;) at Module.&lt;anonymous&gt; (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<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">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 net::ERR_ABORTED 404 (Not Found)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Refused to execute script from &#8216;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 (&#8216;text\/html&#8217;) is not executable, and strict MIME type checking is enabled.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do you have any solution for my problem?<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thanks and regards, <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Peter<\/p>\n","protected":false},"template":"","class_list":["post-19006759","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19006759","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/19006759\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=19006759"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}