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.

CommentFileSizeAuthor
screen.png387.52 KBAnonymous (not verified)

Comments

Anonymous’s picture

timomueller created an issue.

gemalm’s picture

I am getting this error in some content types.

gemalm’s picture

I 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.

Anonymous’s picture

I do not have any hidden fields in form display, yet I'm having the same issue.

anne-pierre’s picture

socialnicheguru’s picture

ahmadhalah’s picture

Give the user the ability to change and create alias fixed has fixed the issue

mchamps’s picture

Great 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 !