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)

CommentFileSizeAuthor
#4 yoast_seo-2753057-4.patch722 bytesnairb
#2 yoast_seo-2753057.patch722 bytesnairb
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

nairb created an issue. See original summary.

nairb’s picture

FileSize
722 bytes
nairb’s picture

Issue summary: View changes
nairb’s picture

FileSize
722 bytes

Ignore the first patch, stupid mistake. I was not paying attention.

nairb’s picture

Status: Active » Needs review
robertragas’s picture

Status: Needs review » Fixed

Thanks for the patch! I approved it and merged it in the 7.x-1.x branch, will be included in the next release.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.