Open Radzio1615 opened 2 years ago
I am able to reproduce the issue. However, I am hesitant to say that Yoast is the origin of the problem. The Responsive Lightbox & Gallery
plugin calls WP_Scripts::localize
in the wrong way, with and without Yoast installed. This results in several notices on the requested pages. It may be that Yoast causes the wrong behavior due to these errors.
"WP_Scripts::localize was called <strong>incorrectly</strong>. The <code>$l10n</code> parameter must be an array. To pass arbitrary data to scripts, use the <code>wp_add_inline_script()</code> function instead. Please see <a href="https://wordpress.org/support/article/debugging-in-wordpress/">Debugging in WordPress</a> for more information. (This message was added in version 5.7.0.)"
Hi There, I'm also having issues when both Yoast SEO (free version) is active and so is the "Responsive Lightbox & Gallery" plugin. It completely shuts down my website and I get a page that says: "There has been a critical error on this website. Please check your site admin email inbox for instructions."
Please help! https://beta.gatewayfunnelpros.com/
Technical info WordPress version: 6.1.1 Yoast SEO version: 19.13 Responsive Lightbox & Gallery version: 2.4.3 Tested with theme: Twenty Twenty-Two
Please give us a description of what happened.
When Yoast SEO (free version) is active, the gallery doesn’t work properly on a single gallery page. The problem only appears on the gallery pages. If we copy the gallery's shortcode and put the shortcode in a regular page / post, the gallery will work fine.
Please describe what you expected to happen and why.
I expect galleries to start working properly.
How can we reproduce this behavior?
Technical info
Used versions