mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #41541
[Bug 1677063] A patch has been submitted for review
Patch for "master" branch: https://reviews.mahara.org/7578
--
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/1677063
Title:
PHP7 deprecated constructor for xmldb
Status in Mahara:
Confirmed
Bug description:
On upgrade I get these errors in error.log
PHP Deprecated: Methods with the same name as their class will not be
constructors in a future version of PHP; XMLDBpostgres has a
deprecated constructor in /home/robertl/code/mahara-
devel/mahara/htdocs/lib/xmldb/classes/generators/postgres/postgres.class.php
on line 31
We need to update the lib/xmldb/ files so classes are constructed
correctly
eg
Replace
public function XMLDBpostgres($host, $queryPort)
with
public function __construct($host, $queryPort)
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1677063/+subscriptions
References