Closing and Next Buttons Missing After Plugin Update
-
Hello,
After updating the plugin from version 1.39.0 to 1.40.0, I noticed that the closing (X) button and the “Next” navigation button are no longer visible or functional. As a result, users cannot close the story view or navigate to other stories in the same category.
Due to this issue, I had to roll back to version 1.39.0.
This change significantly affects the user experience, as the lack of navigation and closing options makes the stories less intuitive and user-friendly.
Thanks.
-
Hi there,
Thanks for reaching out.
It’s unfortunate that you did a rollback, this way we can’t check out your site to see what’s going on and see if we need to fix anything. But what’s probably happening is that there is a conflict with a plugin or theme that prevents some JavaScript from running.
Version 1.40 switches to using the Interactivity API JavaScript to open the stories in the lightbox with the close button and arrows. So if something prevents that JavaScript from loading, it won’t work.
Please try temporarily disabling all other plugins and switching to a default theme to see if it it still happens. If so, we can take a closer look. Otherwise you need to pinpoint which plugin is causing the issue.
Hi Pascal,
Thanks for your quick reply.
As suggested, I switched to the default Twenty Twenty-Five theme and disabled all other plugins, leaving only the Web Stories plugin active. Unfortunately, the issue still persists. can it be related with server?
thanks.Hmm that’s strange. It could be related to the browser more than to the server.
Do you perhaps have a staging site where I could take a look? Or at least your Site Health debug info?
I just setup a brand new InstaWP site with the plugin here and the buttons appear as expected: https://brave-cowfish-766161.instawp.xyz/
Hi,
I think I’ve identified the issue with the missing closing and next buttons after updating to version 1.40.0.
I normally use the Classic Editor to generate and insert the shortcode for Web Stories. I don’t use Gutenberg in my workflow. The shortcode I typically use is:
[web_stories title="false" excerpt="false" author="false" date="false" archive_link="true" archive_link_label="" circle_size="200" sharp_corners="false" image_alignment="left" number_of_columns="1" number_of_stories="5" order="DESC" orderby="post_date" view="circles" scrolling="no" /]
However, I tried embedding a block using Gutenberg, and everything worked correctly. Here’s the Gutenberg-generated block:<!-- wp:web-stories/embed {"blockType":"latest-stories","viewType":"circles","circleSize":125,"order":"asc","fieldState":{"show_title":false,"show_author":false,"show_date":false,"show_image_alignment":false,"show_excerpt":false,"show_sharp_corners":false,"show_archive_link":false,"show_circle_size":true,"show_number_of_columns":false},"taxQuery":{"web_story_category":[]}} /-->///Interestingly, when both the Classic Editor shortcode and the Gutenberg block are present on the same page, everything works fine. But if I remove the Gutenberg block and leave only the Classic Editor shortcode, the issue returns — the closing and next buttons stop working.
So it seems the new update (1.40.0) has compatibility issues with shortcodes inserted via the Classic Editor.
Is there any way to continue using the shortcode method (without relying on Gutenberg)?
I use Classic Editor + WPBakery or Elementor in most of my workflow, and I also place shortcodes inside text widgets.Thanks in advance for your help!
Ah, you’re using the shortcode! 💡
Then that is a bug. You should still be able to use the shortcode (though the block editor is much better!). We’ll fix this in 1.40.1. Thanks for digging into it!
That is cool! thank you. looking forward to seing next update
Hi folks,
We just released version 1.41.0 that addresses this issue. Thanks again for reporting it!
Hi,
Thank you for the update. Unfortunately, version 1.41.0 did not fix the issue on my end. The problem still persists.
Hmm, then can you please share the link to your website or staging site so I can take a look?
Maybe there’s something else going on. Since we fixed the shortcode now, please try again to temporarily disable all other plugins and switching to a default theme.
Hello Pascal,
This time, when I switched to the default theme, it worked. However, I noticed the following error in my developer console.
There doesn’t seem to be any conflict with plugins, but the issue appears to be related to the theme (which has been working fine for years).
In Firefox:
Uncaught TypeError: The "@wordpress/interactivity" specifier was a bare specifier but was not matched with anything. Relative module specifiers must start with "./", "../", or "/".
web-stories-block-view.js:1:17In Chrome:
Uncaught TypeError: Failed to resolve module specifier "@wordpress/interactivity". Relative references must start with either "/", "./", or "../".Thanks, that was very helpful! I see now that we missed an instance.
Could you please try the production build from this link here and tell me if it works: https://github.com/GoogleForCreators/web-stories-wp/pull/14110#issuecomment-2828460393
Thanks for your help
Hello Pascal
I can confirm that one worked! (1.42.0-alpha.0)
Also there is no error in the console.
Thanks.Hello, the update from 1.39.0 to 1.41.0 didn’t work for me, I just followed your instructions and installed 1.42.0-alpha.0 which has worked.
Excellent, thanks for letting me know! We’ll ship this new version ASAP then.
Great. Thank you for your support!
The topic ‘Closing and Next Buttons Missing After Plugin Update’ is closed to new replies.