mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #47525
[Bug 1758757] [NEW] Leap2A export warnings on comment/annotation
Public bug reported:
On doing an export in PHP 7.0/7.1 I see these warnings
[WAR] 4a (export/leap/lib.php:406) Parameter 1 to
LeapExportElementComment::setup_links() expected to be a reference,
value given, referer: http://testing/export/index.php
[WAR] 4a (export/leap/lib.php:406) Parameter 1 to
LeapExportElementAnnotation::setup_links() expected to be a reference,
value given, referer: http://testing/export/index.php
In the Mahara code it says:
"You must explicitly pass variables by reference when calling call_user_func, ..."
But in PHP manual itself it says "Note that the parameters for
call_user_func() are not passed by reference."
So there is something not quite right here
** Affects: mahara
Importance: Medium
Assignee: Robert Lyon (robertl-9)
Status: In Progress
** Changed in: mahara
Status: New => In Progress
** Changed in: mahara
Importance: Undecided => Medium
** Changed in: mahara
Assignee: (unassigned) => Robert Lyon (robertl-9)
** Changed in: mahara
Milestone: None => 18.10.0
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1758757
Title:
Leap2A export warnings on comment/annotation
Status in Mahara:
In Progress
Bug description:
On doing an export in PHP 7.0/7.1 I see these warnings
[WAR] 4a (export/leap/lib.php:406) Parameter 1 to
LeapExportElementComment::setup_links() expected to be a reference,
value given, referer: http://testing/export/index.php
[WAR] 4a (export/leap/lib.php:406) Parameter 1 to
LeapExportElementAnnotation::setup_links() expected to be a reference,
value given, referer: http://testing/export/index.php
In the Mahara code it says:
"You must explicitly pass variables by reference when calling call_user_func, ..."
But in PHP manual itself it says "Note that the parameters for
call_user_func() are not passed by reference."
So there is something not quite right here
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1758757/+subscriptions
Follow ups