mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #33519
[Bug 1560110] [NEW] artefact linkedin config form raises error
Public bug reported:
Hi,
When I validate the LinkedIn artefact config form, Mahara raises the
following PHP Fatal error :
Cannot use object of type Pieform as array in
********/mahara/htdocs/artefact/linkedin/lib.php on line 294, referer:
https://********/admin/extensions/pluginconfig.php?plugintype=artefact&pluginname=linkedin&type=linkedin
The code mentionned is :
290 public static function save_config_options($values)
291 {
292 foreach (array(self::APPLICATION_SECRET, self::APPLICATION_ID) as $settingname)
293 {
294 set_config_plugin('artefact', 'linkedin', $settingname, $values[$settingname]);
295 }
296 }
I'm running Mahara 15.10.2testing on RHEL6 64bits, with PHP 5.6.19 and
MySQL 5.6.29. I use Mozilla Firefox 44.0.2.
Thanks.
** Affects: mahara
Importance: Undecided
Status: New
** Tags: config linkedin pieform
--
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/1560110
Title:
artefact linkedin config form raises error
Status in Mahara:
New
Bug description:
Hi,
When I validate the LinkedIn artefact config form, Mahara raises the
following PHP Fatal error :
Cannot use object of type Pieform as array in
********/mahara/htdocs/artefact/linkedin/lib.php on line 294, referer:
https://********/admin/extensions/pluginconfig.php?plugintype=artefact&pluginname=linkedin&type=linkedin
The code mentionned is :
290 public static function save_config_options($values)
291 {
292 foreach (array(self::APPLICATION_SECRET, self::APPLICATION_ID) as $settingname)
293 {
294 set_config_plugin('artefact', 'linkedin', $settingname, $values[$settingname]);
295 }
296 }
I'm running Mahara 15.10.2testing on RHEL6 64bits, with PHP 5.6.19 and
MySQL 5.6.29. I use Mozilla Firefox 44.0.2.
Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1560110/+subscriptions
Follow ups