Closed (fixed)
Project:
Backup and Migrate
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Sep 2009 at 03:36 UTC
Updated:
19 Feb 2012 at 04:20 UTC
using the dev version:
update.php generated the following error:
Cannot access empty property in /sites/all/modules/backup_migrate/includes/crud.inc on line 355
Comments
Comment #1
ronan commentedI have not been able to reproduce that. Where you updating from backup and migrate v.1.x or from a different 2.x dev release?
Comment #2
vako commentedI removed ver. 1 and installed ver2.dev, enabled it and ran update.php.
line 355 says:
return $this->{$keys[0]} = $id;are these global variables?
Comment #3
chadsowald commentedHi. I got the same error:
"An error occurred. http://localhost/..../update.php?id=20&op=do
Fatal error: Cannot access empty property in C:\Program Files\xampp\htdocs\....\sites\default\modules\backup_migrate\includes\crud.inc on line 355"
when trying to upgrade from
6.x-1.2 to 6.x-2.x-dev
Comment #4
vako commentedtoday I got an email from my cron task as follows:
Fatal error: Call to undefined function backup_migrate_db_lock_tables() in <b>/home/xxxx/public_html/sites/all/modules/backup_migrate/includes/filters.utils.inc on line 149it was at 1am and the site remained offline until 10am in the morning when I discovered the issue.
I removed ver 2.x-dev and installed the old version.
Comment #5
akalata commentedI'm having the same issue as the original post, running update.php after installing 6.x-2.x-dev, snapshot dated 9/27 and downloaded today.
Version 6.x-1.2 works just fine for me, but I'm trying to figure out how to use http://drupal.org/project/backup_migrate_profile
There's nothing in my error log or watchdog table. Rerunning update.php returns the following warnings, but also indicates that all queries were executed successfully (blockquote).
Warnings:
Query status:
Comment #6
ronan commentedI'm still not able to reproduce this, but I've added some code which should hopefully mitigate it.
Thanks.
Comment #8
plan9 commentedI just encountered the same error. removing ver 2.x-dev and installing the previous version works.
Comment #9
crifi commentedThis problem is maybe caused by a wrong configuration of $base_url and should be prevented by inserting a warning message to the requirements system. Therefore I created a new issue #1046682: Install/Update process fails if $base_url is set to a wrong URL. Please close this bug as a duplicate, if this solves your issue. Thanks!
Comment #10
ronan commented