screenshot: http://prntscr.com/30kum

i did a site migration and tried to restore a snapshot and got those errors, but the snapshot works tho.

*edit:

So did some detective work and it seems that its due to it calling an undefined variable that hasnt been set yet. i did this on a fresh drupal 7.8 install and the errors still showed up. the way i fixed it was edit the demo.admin.inc file.

Line: 627:
if ($prefixes[$plain_table] == $table_prefix || $prefixes['default'] == $table_prefix) {

changed to:
if (isset($prefixes[$plain_table]) == $table_prefix || isset($prefixes['default']) == $table_prefix) {

----------

All i did was add an isset() function to the conditionals to check if those variables are set or not.

please reply back if this worked out for you.. and state your Drupal version.

thanks!

Comments

patoshi’s picture

patoshi’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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

Anonymous’s picture

Issue summary: View changes

updated fix