History | Log In     View a printable version of the current page. Get help!  
Issue Details [XML]

Key: CHD-2025
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Assignee: Unassigned
Reporter: Robert Middleswarth
Votes: 0
Watchers: 0
Operations

Clone this issue
If you were logged in you would be able to see more operations.
Cerberus Helpdesk

[support center] Error well upgrading. Fatal error: Call to a member function Execute() on a non-object in /path/to/files/cerb5/features/usermeet.core/patches/5.0.0_beta.php on line 159

Created: 24/Aug/10 05:50 AM   Updated: 24/Aug/10 01:37 PM
Fix Version/s: 5.1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown


 Description   
This came in from Townhall.

I'm looking for some assistance. I tried upgrading to cerb5 last night and when I go to the upgrade script, I get the following error: Fatal error: Call to a member function Execute() on a non-object in /path/to/files/cerb5/features/usermeet.core/patches/5.0.0_beta.php on line 159

A quick look at the code and I see line 155 reassigns $db to an id.

$db = $db->LastInsertId();

That should be $id = $db->LastInsertId();

Thanks
Robert

 All   Comments   Work Log   Change History      Sort Order:
Comment by Robert Middleswarth [24/Aug/10 05:54 AM]
If you get this error there is a simple workaround. Rerun the update it should start back up since code above has already ran it wont run a 2nd time and should complete the upgrade.

Thanks
Robert

Comment by Jeff Standen [WGM] [24/Aug/10 01:37 PM]
Fixed for builds 2010082401+