Hello,
I am receiving the following error whenever I try to update points within the SocialProfile extension:
Invalid argument supplied for foreach() in /webroot/extensions/SocialProfile/UserStats/UserStatsClass.php on line 433
Line 433 starts:
foreach($this->point_values as $point_field => $point_value){ if($this->stats_fields[$point_field]){ $field = $this->stats_fields[$point_field]; $new_total_points += $point_value * $row->$field; } }
This is on Mediawiki 1.12.0 and SocialProfile extension version 1.1.
Does anyone have any ideas? I appreciate it.
Andrew Thornton wrote:
This is on Mediawiki 1.12.0 and SocialProfile extension version 1.1.
Does anyone have any ideas? I appreciate it.
Seems a bug on SocialProfile. Does it support MW 1.12 ?
I just figured it out. I did not have any point values defined within Localsettings so the array was empty.
On Tue, Jul 29, 2008 at 4:50 PM, Platonides Platonides@gmail.com wrote:
Andrew Thornton wrote:
This is on Mediawiki 1.12.0 and SocialProfile extension version 1.1.
Does anyone have any ideas? I appreciate it.
Seems a bug on SocialProfile. Does it support MW 1.12 ?
MediaWiki-l mailing list MediaWiki-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
mediawiki-l@lists.wikimedia.org