We cannot open the snippet editor. In the console, we get the following error message:
js_KrfL1pru7aVwhzz-J…QnMiZtPPB3hU.js:177 Uncaught TypeError: Cannot read property 'value' of null
at YoastSEO_DrupalSource.getDataFromInput (js_MZ1CDJAcm5Gt_KIp9…J6WemObD72c.js:1443)
at YoastSEO_DrupalSource.getData (js_MZ1CDJAcm5Gt_KIp9…J6WemObD72c.js:1414)
at u.getData (js_MZ1CDJAcm5Gt_KIp9…J6WemObD72c.js:1236)
at new u (js_MZ1CDJAcm5Gt_KIp9…J6WemObD72c.js:1236)
at HTMLBodyElement.<anonymous> (js_MZ1CDJAcm5Gt_KIp9…J6WemObD72c.js:1320)
at Function.each (jquery.min.js:2)
at r.fn.init.each (jquery.min.js:2)
at Object.attach (js_MZ1CDJAcm5Gt_KIp9…J6WemObD72c.js:1261)
at js_KrfL1pru7aVwhzz-J…QnMiZtPPB3hU.js:189
at Array.forEach (<anonymous>)
Anyone out there knows, how to fix this issue?
We already tried to uninstall an reinstall the SEO module. We tried different versions but the snippet editor won't appear.
| Comment | File | Size | Author |
|---|---|---|---|
| screen.png | 387.52 KB | Anonymous (not verified) |
Comments
Comment #1
Anonymous (not verified) commentedtimomueller created an issue.
Comment #2
gemalmI am getting this error in some content types.
Comment #3
gemalmI found out this is happening when my content does not have an alias. The url value is null then.
In the form display of my content types I did not have the url alias field visible.
After moving the url alias for being visible again, it fixes the problem and there are no errors.
Comment #4
Anonymous (not verified) commentedI do not have any hidden fields in form display, yet I'm having the same issue.
Comment #5
anne-pierre commentedOne possible cause:
https://www.drupal.org/project/yoast_seo/issues/2935826#comment-13422252
Comment #6
socialnicheguru commentedalso if you have http://drupal.org/project/auto_entitylabel enabled
Comment #7
ahmadhalahGive the user the ability to change and create alias fixed has fixed the issue
Comment #8
mchamps commentedGreat fix #7 !
As an Administrator I had access to Real-time SEO for drupal in the content creation.
As an Editor, my colleague did not have access to it.
I gave her the right to change and create alias, the Real-time SEO for drupal element appear in the content creation !