PHP 7.2 error when bulk importing people via Leap2A
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
In Progress
|
High
|
Lisa Seeto | ||
19.04 |
Confirmed
|
High
|
Unassigned | ||
19.10 |
In Progress
|
High
|
Lisa Seeto |
Bug Description
I received the following error on Ubuntu 18.04 with PHP 7.2 running Postgres. Robert said it was a PHP 7.2 bug:
[WAR] d3 (artefact/
Call stack (most recent first):
log_
error(2, "count(): Parameter must be an array or an object t...", "/home/
LeapImportI
call_
PluginImpor
PluginImpor
import_
bulkimport_
Pieform-
Pieform:
pieform(
To replicate:
1. Go to the bulkimport page in master /admin/
2. Upload the attached Leap2A file that is a bulk export file.
Expected result: No error messages on the screen.
Actual result: You get the above error.