Error when trying to add multiple galleries to the same page
-
I’ve made a few different galleries on a friend’s site and when I use 2 or more gallery short codes on the same page, the plugin breaks and I get an error code (I replaced all private user profile names/info with “PRIVATE INFO” in the below error):
Fatal error: Uncaught exception 'LogicException' with message 'Unable to add function "get_attachment" as extensions have already been initialized.' in /home/PRIVATE INFO/public_html/wp-content/plugins/grid-gallery-ready/vendor/Twig/Environment.php:946 Stack trace: #0 /home/PRIVATE INFO/public_html/wp-content/plugins/grid-gallery-ready/src/GirdGallery/Galleries/Module.php(146): Twig_Environment->addFunction(Object(Twig_SimpleFunction)) #1 [internal function]: GirdGallery_Galleries_Module->getGallery(Array, '', 'gird-gallery') #2 /home/PRIVATE INFO/public_html/wp-includes/shortcodes.php(287): call_user_func(Array, Array, '', 'gird-gallery') #3 [internal function]: do_shortcode_tag(Array) #4 /home/PRIVATE INFO/public_html/wp-includes/shortcodes.php(201): preg_replace_callback('/\[(\[?)(embed|...', 'do_shortcode_ta...', '<h2>Full Galler...') #5 [internal function]: do_shortcode('<h2>Full Galler...') #6 /home/PRIVATE INFO/public_html/wp-includes/plugin.php(192): call_user_func_array('do_shortcode', Array) #7 /home/PRIVATE INFO/public_htm in /home/PRIVATE INFO/public_html/wp-content/plugins/grid-gallery-ready/vendor/Twig/Environment.php on line 946
Is there any way to have multiple galleries or something similar on the same page or is that no possible with the free version of the plugin? Thanks!
- The topic ‘Error when trying to add multiple galleries to the same page’ is closed to new replies.