Shortcode Borks when used in Gutenberg
-
After I installed Gutenberg I could add a shortcode block with the Sponsors shortcode. It previews, displays and saves fine. I was so happy, that it would work out of the box.
However when I accessed the post again with Gutenberg, I received a white screen with no error message in the browser console, but my debug log registers this error message:
PHP Notice: Undefined index:
“wp_sponsor_link_behaviour in /app/public/wp-content/plugins/wp-sponsors/includes/class-wp-sponsors.php on line 334”I used a clean WP instance to test with only the two plugins installed: Sponsors and Gutenberg.
Here is a video: https://recordit.co/ZNYzvAvcPK
Let me know what else you need to replicate it and to troubleshoot this.
Update:
I was able to replicate above test on two different environments, both on nginx + w/ Gutenberg 3.2 and WP 4.9.7 – PHP version (1) 7.1.7 and (2) HHVM/3.19/2-dev
==
I did not encounter these problems on php 5.8 / WP 4.9.6 and Gutenberg 3.0
- The topic ‘Shortcode Borks when used in Gutenberg’ is closed to new replies.