When attempting to save a content type with SEO Compliance Checker with the keyword rules module enabled a 500 server error occurs with the following message from the server log:
PHP Fatal error: Cannot use object of type stdClass as array in [path removed]/sites/all/modules/seo_checker/keyword_rules/keyword_rules.module on line 198,
The content from the node add page does not get written to the database.
On refreshing the page the following error is written to the screen
Notice: Undefined index: body in basic_seo_rules_alt_attribute() (line 43 of [path removed]/sites/all/modules/seo_checker/basic_seo_rules/basic_seo_rules.module).
Comments
Comment #1
Anonymous (not verified) CreditAttribution: Anonymous commentedI also get this error in the 7.x-1.6 release, but on an edited Page content type.
Comment #2
miruoss CreditAttribution: miruoss commentedHi there,
Thanks for the report. This should be fixed on the development branch and released soon.
Michael
Comment #3
makokis CreditAttribution: makokis commentedsame issue here, suscribbing
Notice: Undefined index: body en basic_seo_rules_alt_attribute() (línea 43 de /home5/teleinfo/public_html/sites/all/modules/seo_checker/basic_seo_rules/basic_seo_rules.module).
Notice: Undefined index: body en basic_seo_rules_alt_attribute() (línea 43 de /home5/teleinfo/public_html/sites/all/modules/seo_checker/basic_seo_rules/basic_seo_rules.module).
Notice: Undefined index: body en basic_seo_rules_title_attribute() (línea 63 de /home5/teleinfo/public_html/sites/all/modules/seo_checker/basic_seo_rules/basic_seo_rules.module).
Notice: Undefined index: body en basic_seo_rules_title_attribute() (línea 63 de /home5/teleinfo/public_html/sites/all/modules/seo_checker/basic_seo_rules/basic_seo_rules.module).
please help
Comment #4
bakedbeanjk CreditAttribution: bakedbeanjk commentedI also get this error - see part of error msg pasted below
sites/all/modules/seo_checker/basic_seo_rules/basic_seo_rules.module).
Can I safely ignore this error msg until a fix can be done or should I disable the module for the time being?
Thanks
Comment #5
miruoss CreditAttribution: miruoss commentedFixed in 7.x-1.7