Support » Plugin: Gallery Custom Links » Gutenberg: Updating failed

  • Resolved strarsis

    (@strarsis)


    When Link URL is not empty for a gallery item,
    updating the page which is containing the gallery fails with
    ‘Updating failed.’.

    Page only updates when all gallery items got empty Link URL.

    WordPress 5.1.1
    Gallery Custon Links 1.1.3

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Can you have a look in your PHP Error Logs and tell me the error you have?

    @tigroumeow:
    Interestingly, no server errors are logged.

    These requests run in background when updating:
    /wp-json/wp/v2/pages/987?_locale=user
    /wp/wp-admin/post.php?post=987&action=edit&meta-box-loader=1&_wpnonce=9fe05dcdec&_locale=user
    /wp/wp-admin/post.php?post=987&action=edit&message=4
    /wp/wp-admin/admin-ajax.php

    I checked the JSON response and noticed that the gallery item got an href attribute without quotes ("):

    <figure><a href=example.com/some/url/ class="custom-link no-lightbox" onclick="event.stopPropagation()" target="_self" rel=""><img src=\"\/app\/uploads\/2019\/02\/IMG_1.jpg\" alt=\"\" data-id=\"117\" data-link=\"\/test\/img_1\/\" class=\"wp-image-117\"\/><\/a><figcaption>Test<\/figcaption><\/figure>

    • This reply was modified 1 month, 1 week ago by  strarsis.
    • This reply was modified 1 month, 1 week ago by  strarsis.
    • This reply was modified 1 month, 1 week ago by  strarsis.
    Plugin Author Jordy Meow

    (@tigroumeow)

    Hello,

    Maybe I know why. Can you try the new version I just released? (1.1.5)

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.