• Resolved vass30

    (@vass30)


    When trying to edit reusable block (by clicking to Edit) you get such error in console (and blank page with 3 buttons – Attepmt Recovery, Copy post text and copy error) :

    TypeError: Cannot read property ‘twitterCardType’ of undefined
    at r.value ***/wp-content/plugins/jm-twitter-cards/build/index.js?ver=11.1.0:257:65)
    at re ***/wp-includes/js/dist/vendor/react-dom.min.js?ver=16.9.0:95:261)
    ….
    Another posts editable as well. How to solve this ploblem?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter vass30

    (@vass30)

    Forgot to tell, that is in Gutenberg editor.

    Anonymous User 10765487

    (@anonymized-10765487)

    Hi,

    I’m busy for now but I will check definitely that, thanks for reporting

    Anonymous User 10765487

    (@anonymized-10765487)

    cannot reproduce it, what is your wordpress version? do you have any hint to reproduce the bug?

    Thread Starter vass30

    (@vass30)

    Hi,

    My wordpress verison – 5.3.2.

    When i go to edit any page, i click on + to add some gutenberg blocks, and there is “reusable blocks” section and under the Reusable blocks section, there is a ‘Manage All Reusable Blocks’ link. Click on the link and it will take you to a page where you can see all your saved blocks. From this page, you can click to edit any block. Right there i got an error, which i described above.
    I tryed to debug js file from your plugin, and saw that meta.twitterCardType and other values are undefined.
    On the other pages (not reusable) meta.twitterCardType has some value, so no errors are coming.

    Anonymous User 10765487

    (@anonymized-10765487)

    the fix is on its way, thanks for the detailed explanation ??

    Thread Starter vass30

    (@vass30)

    Thank you!

    Anonymous User 10765487

    (@anonymized-10765487)

    fixed in 11.1.1 ??

    Thread Starter vass30

    (@vass30)

    Thanks! Great job, works very well ??

    Anonymous User 10765487

    (@anonymized-10765487)

    ??

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Error when edit reusable block’ is closed to new replies.