• Resolved Snapper65

    (@snapper65)


    When using Kadence Theme to generate Gutenberg Block Post Grid/Carousel and clicking “Publish” or “Update”, if the NextGen Gallery plugin is also activated, the post fails to update, and shows the error:

    “Updating failed. The response is not a valid JSON response.”

    Please fix

    Thanks

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Contributor Imagely

    (@imagely)

    Hi @snapper65,

    If you are already using the latest version of NextGen Gallery, let’s add this constant to your wp-config.php to see if that’ll resolve the problem:

    define('NGG_DISABLE_SHORTCODE_MANAGER', true);

    Hope this helps

    • This reply was modified 4 years, 5 months ago by Imagely.
    Thread Starter Snapper65

    (@snapper65)

    Hi Imagely

    I have just spent two days of testing, to track down what was causing, Updating failed. The response is not a valid JSON response.” on multiple websites

    The latest version of Nextgen Gallery is installed

    What would help is for you to add this constant to your wp-config.php to see if that’ll resolve the problem:

    define(‘NGG_DISABLE_SHORTCODE_MANAGER’, true);

    Then provide an update to your Plugin

    Do you think this is possible?

    Thanks

    Plugin Contributor Imagely

    (@imagely)

    Our devs may know better the reasons why NextGen doesn’t come with this constant enabled by default so I am going to ask them.

    In any case – adding this constant to your wp-config.php must resolve the problem for sure.

    • This reply was modified 4 years, 5 months ago by Imagely.
    • This reply was modified 4 years, 5 months ago by Imagely.
    Thread Starter Snapper65

    (@snapper65)

    OK

    Please let me know when your devs have fixed this particular problem and provided an updated version of Nextgen Gallery

    I have informed Kadence of the problem too

    Thank you

    Plugin Contributor Imagely

    (@imagely)

    Okay, I think I have found the statement why we don’t want it enabled by default ( to improve the global compatibility with the other themes and plugins ):

    For theme & plugin compatibility and to prevent the output of our shortcodes from being altered we substitute our shortcodes with placeholders at the start of the the_content() filter queue and then at the end of the the_content() queue, we substitute the placeholders with our actual markup. Optionally this can be disabled by defining NGG_DISABLE_SHORTCODE_MANAGER to TRUE.

    Thread Starter Snapper65

    (@snapper65)

    Hi Imagely

    Thanks for the information

    “we don’t want it enabled by default ( to improve the global compatibility with the other themes and plugins )”

    It seems Nextgen Gallery is not compatible with Kadence Theme without this enabled

    Hopefully this will get fixed or have a toggle switch to enable or disable this in a future update

    Thanks again

    Plugin Contributor Imagely

    (@imagely)

    Hi @snapper65,

    Including it as an option sounds pretty reasonable so hopefully to see this one added into one of the upcoming plugin’s updates.

    • This reply was modified 4 years, 5 months ago by Imagely.
    Thread Starter Snapper65

    (@snapper65)

    Hi Imagely

    That would be good “see this one added into one of the upcoming plugin’s updates”

    As Nextgen Gallery is breaking Gutenberg, maybe its time for a code rewrite?

    Are there any plans for a major update of Nextgen Gallery?

    Thanks

    • This reply was modified 4 years, 5 months ago by Snapper65.
    • This reply was modified 4 years, 5 months ago by Snapper65.
    Plugin Contributor Imagely

    (@imagely)

    Hi @snapper65,

    There are such plans regarding rewriting NextGen’s UI for the Insert Gallery Window.

    Thread Starter Snapper65

    (@snapper65)

    Hi Imagely

    That’s great news

    Any idea of timescale?

    Keep up the good work

    Thanks

    • This reply was modified 4 years, 4 months ago by Snapper65.
    Plugin Contributor Imagely

    (@imagely)

    Unfortunately, at the moment we don’t have any time estimations for this one, sorry about that.

    • This reply was modified 4 years, 4 months ago by Imagely.
Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘“Updating failed. The response is not a valid JSON response.”’ is closed to new replies.