In admin/structure/schema I get the error: Notice: Undefined index: warn in schema_compare() (line 614 of /var/www/vhosts/ds.com/httpdocs/ds/sites/all/modules/schema/schema.module).
Warning: Invalid argument supplied for foreach() in schema_compare() (line 615 of /var/www/vhosts/ds.com/httpdocs/ds/sites/all/modules/schema/schema.module).

Im not sure if the patch in the other topic for dev version will apply here, so made a separate issue.

CommentFileSizeAuthor
#6 schema_module_errors.PNG47.78 KBparkydrupal

Comments

dgtlmoon’s picture

subscribing

krimos’s picture

same bug.

AlGin’s picture

subscribing

stephenrobinson’s picture

I get:

    *  Notice: Undefined index: warn in schema_compare() (line 615 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/sites/all/modules/contrib/schema/schema.module).
    * Warning: Invalid argument supplied for foreach() in schema_compare() (line 616 of /www/www-staging/drupal.sandbox.sanger.ac.uk/htdocs/sites/all/modules/contrib/schema/schema.module).

I changed line 615:

  //$warnings = $info['warn'];//removed
  $warnings = isset($info['warn']) ? $info['warn'] : array(); // added
  ///////////////////////////////// end patch /////////////////////////////////
thomsol’s picture

subscribing

parkydrupal’s picture

Priority: Normal » Critical
StatusFileSize
new47.78 KB

Hello,
I am getting this error when I clicked "schema" under the "Structure" menu.

any idea to fix this issue?

flak’s picture

Status: Active » Reviewed & tested by the community
Issue tags: +drupal schema, +Notice: Undefined index xxx

parkygis,

Yes, go to this thread (http://drupal.org/node/1007844) and apply the patches in order... if you don't know how to use GNU patch, then simply edit the lines in schedule.module manually. That should do the trick.

parkydrupal’s picture

Thank you!!!

fgm’s picture

Priority: Critical » Normal

This is hardly critical: does not break the site, and does not prevent the module from actually working, so downgrading.

colan’s picture

Status: Reviewed & tested by the community » Closed (duplicate)