- This topic has 3 replies, 3 voices, and was last updated 3 weeks, 6 days ago by Tom.
August 28, 2020 at 10:56 pm #1422565Matt
WP version 5.5
GP theme version 2.4.2
GP Premium 1.11.3
Generate Blocks 1.1.2
What happens: For any container, select block settings > Background Image > Set background image
The image selection window appears, allowing you to select the image as expected.
However, clicking the Set featured image button returns you to the editor without setting an image. No error message.
The console shows the following:
blocks.build.js?ver=1594326046:1 Uncaught TypeError: Cannot read property 'full' of undefined at S (blocks.build.js?ver=1594326046:1) at s (amp-block-editor.js?…e6d38cb71e9cea89:11) at i.value (amp-block-editor.js?…1e6d38cb71e9cea89:7) at p (backbone.min.js?ver=1.4.0:2) at f (backbone.min.js?ver=1.4.0:2) at l (backbone.min.js?ver=1.4.0:2) at i.n.trigger (backbone.min.js?ver=1.4.0:2) at i.clickSelect (media-views.min.js?ver=5.5:2) at i.click (media-views.min.js?ver=5.5:2) at HTMLButtonElement.dispatch (jquery.js?ver=1.12.4-wp:3) S @ blocks.build.js?ver=1594326046:1 s @ amp-block-editor.js?…e6d38cb71e9cea89:11 value @ amp-block-editor.js?…1e6d38cb71e9cea89:7 p @ backbone.min.js?ver=1.4.0:2 f @ backbone.min.js?ver=1.4.0:2 l @ backbone.min.js?ver=1.4.0:2 n.trigger @ backbone.min.js?ver=1.4.0:2 clickSelect @ media-views.min.js?ver=5.5:2 click @ media-views.min.js?ver=5.5:2 dispatch @ jquery.js?ver=1.12.4-wp:3 r.handle @ jquery.js?ver=1.12.4-wp:3
This is happening on three different WP sites, on two entirely separate servers.August 29, 2020 at 8:41 am #1423098LeoStaffCustomer SupportAugust 29, 2020 at 12:59 pm #1423337Matt
With all plugins deactivated except for GP and GB, the background image works as expected.
I tracked down the culprit. It was the official AMP plugin, which has recently upgraded to version 2.0. https://wordpress.org/plugins/amp/
I guess it’s raising havoc with the post editor. I’ve deactivated it on the affected sites and everything is working as it should with Generate Blocks.
Maybe that will help someone else.August 29, 2020 at 1:53 pm #1423374TomLead DeveloperLead Developer
We have this conflict fixed in GB 1.2 – have a couple more features to add to it, then it will enter a quick beta period before being released.
Sorry for the inconvenience!
- You must be logged in to reply to this topic.