PHP warning message during 1.8/1.9/1.10/15.04 -> 15.10 upgrade of a completely new site
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Won't Fix
|
Low
|
Unassigned |
Bug Description
To replicate:
1. Clean install of 15.04.3
2. Upgrade to 15.10_STABLE
Result:
The upgrade proceeds okay, but you see this warning message:
[DBG] c7 (lib/db/
[WAR] c7 (lib/db/
Call stack (most recent first):
log_
error(2, "Invalid argument supplied for foreach()", "/home/
xmldb_
upgrade_
no longer affects: | mahara/16.04 |
no longer affects: | mahara/15.10 |
Changed in mahara: | |
milestone: | 15.10.1 → 16.10.0 |
Changed in mahara: | |
milestone: | 16.10.0 → 16.10.1 |
Changed in mahara: | |
milestone: | 16.10.1 → 17.04.0 |
Changed in mahara: | |
status: | Confirmed → Won't Fix |
Changed in mahara: | |
milestone: | 17.04.0 → none |
This problem only occurs if there is no record in the database that matches "select * from usr where deleted=0 and lastlogin is not null".
In other words, if it's a site that absolutely no one has ever logged into. So, it's only something you'll encounter if, like me, you're a dev who does a clean install from the command-line, and then upgrades.