For some reason, possibly related to #1188338: Notice & Warnings: when adding a new field to a new content-type, the schema properties I had previously set did not actually save. I had to go back and reset the schema properties within my new content-type.

The following Warning was displayed after 'Save settings':

    Warning: array_filter() expects parameter 1 to be array, null given in schemaorg_terms_merge() (line 165 of /.../sites/all/modules/schemaorg/schemaorg.module).
    Warning: array_unshift() expects parameter 1 to be array, null given in schemaorg_terms_merge() (line 170 of /.../sites/all/modules/schemaorg/schemaorg.module).

This issue is similar to #1188338: Notice & Warnings: when adding a new field to a new content-type. So I created a similar patch which fixed this for me. Patch forthcoming.

CommentFileSizeAuthor
#1 1189466-1-warnings_schema_terms.patch450 bytesclayball

Comments

clayball’s picture

Status: Active » Needs review
StatusFileSize
new450 bytes

here's the patch.

scor’s picture

Status: Needs review » Fixed

Thanks Clay. fixed with http://drupalcode.org/project/schemaorg.git/commit/cf0ae99 and its author attribution.

Status: Fixed » Closed (fixed)

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