• Resolved drdemi

    (@drdemi)


    Dear all

    Since I updated to the latest version of the plugin, the gallery shortcode seems to be broken.

    I have latest wordpress version, latest plugin version. here’s the code:

    [su_custom_gallery source=”taxonomy: category/4″ limit=”100″
    link=”lightbox” width=”150″ height=”150″]

    it worked perfectly before and now it produces zero output (empty page, no html at all).

    another anomaly: turning on gutenberg editor, editing the page is not possible. i get a critical wordpress error saying the admin will receive an email with infos. and the email never arrives. turning off gutenberg and turning on classical editor lets me edit the page.

    Any clues?
    Best,
    Artemi

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Vova

    (@gn_themes)

    Hi Artemi,

    have you tried to disable all plugins, except for SU itself and switch theme to a default (Twenty Eighteen, etc.)?

    Also, could you post here a link with an example and a screenshot of the problem?

    Thank you.

    Thread Starter drdemi

    (@drdemi)

    Dear Vladimir

    Yes, I have tried to disable all the other plugins. Still the same result.

    Here’s the link to the page with the code above: http://www.egorov.ch/egorov/graphics/

    The theme I use is a twenty seventeen child theme. I also tried activating the original theme instead of the child. All leading to the same results – empty page.

    Thanks for replying. Any suggestions?

    Plugin Author Vova

    (@gn_themes)

    Please enable WP_DEBUG on your site. To do that, open the wp-config.php file in a text editor, find a line with WP_DEBUG and set it to true. This is how it should look:

    Plugin Author Vova

    (@gn_themes)

    After enabling WP_DEBUG you’ll see a PHP error message on your page. Please post it here. Do not forget to remove any sensitive information in it.

    Thread Starter drdemi

    (@drdemi)

    Here you go:

    Fatal error: Uncaught Error: Cannot use object of type WP_Error as array in /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/custom-gallery.php:137 Stack trace: #0 /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-includes/shortcodes.php(343): su_shortcode_custom_gallery(Array, ”, ‘su_custom_galle…’) #1 [internal function]: do_shortcode_tag(Array) #2 /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-includes/shortcodes.php(218): preg_replace_callback(‘/\\[(\\[?)(su_cus…’, ‘do_shortcode_ta…’, ‘[su_custom_gall…’) #3 /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-includes/class-wp-hook.php(287): do_shortcode(‘[su_custom_gall…’) #4 /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-includes/plugin.php(206): WP_Hook->apply_filters(‘[su_custom_gall…’, Array) #5 /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-includes/post-template.php(253): apply_filters(‘the_content’, ‘[su_custom_gall…’) #6 /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-content/themes/twentyseventeen/template-parts/p in /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-content/plugins/shortcodes-ultimate/includes/shortcodes/custom-gallery.php on line 137

    Thread Starter drdemi

    (@drdemi)

    p.s. there’s another php message on top of the page:

    Notice: A non well formed numeric value encountered in /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-content/plugins/my-wp-backup/src/util.php on line 74

    see for yourself:

    http://www.egorov.ch/egorov/en/graphics/

    Plugin Author Vova

    (@gn_themes)

    The issue will be fixed in the closest update.

    p.s. there’s another php message on top of the page:

    Notice: A non well formed numeric value encountered in /var/www/vhosts/egorov.ch/httpdocs/egorov/wp-content/plugins/my-wp-backup/src/util.php on line 74

    Please contact the developer of my-wp-backup plugin to fix this.

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

The topic ‘gallery shortcode broken since update :-(’ is closed to new replies.