Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I see php errors on a node edit page if the meta description is empty and a default is not set. I fixed the issue by checking to see if a value is set before it is accessed.
Notice: Undefined index: description in yoast_seo_configuration_form() (line 147 of www.example.org/web/content/sites/all/modules/yoast_seo/yoast_seo.module)
Notice: Undefined index: description in yoast_seo_configuration_form() (line 152 of www.example.org/web/content/sites/all/modules/yoast_seo/yoast_seo.module)
Comment | File | Size | Author |
---|---|---|---|
#4 | yoast_seo-2753057-4.patch | 722 bytes | nairb |
Comments
Comment #2
nairb CreditAttribution: nairb commentedComment #3
nairb CreditAttribution: nairb commentedComment #4
nairb CreditAttribution: nairb commentedIgnore the first patch, stupid mistake. I was not paying attention.
Comment #5
nairb CreditAttribution: nairb commentedComment #6
robertragas CreditAttribution: robertragas commentedThanks for the patch! I approved it and merged it in the 7.x-1.x branch, will be included in the next release.