Problem with ranking.php

Moderator: And_One

Posts: 40
Joined: Thu Nov 26, 2009 9:13 am

Problem with ranking.php

Postby zicoo » Thu Apr 11, 2013 9:52 am

From yesterday i have problem with this file:

When i first time come to my home page, then i see this error:

Code: Select all

Fatal error: Call to a member function getPoints() on a non-object in /home/zicoopl/domains/ on line 1102

line 1102

Code: Select all

$res =- ($teams[$a->_ptid]->getPoints(false) - $teams[$b->_ptid]->getPoints(false));

After refres (F5) problem dissapear but display anoter error:

Code: Select all

Warning: array_filter() [function.array-filter]: The first argument should be an array in /home/zicoopl/domains/ on line 862

Warning: uasort() [function.uasort]: The argument should be an array in /home/zicoopl/domains/ on line 882

Warning: Invalid argument supplied for foreach() in /home/zicoopl/domains/ on line 885


line 862

Code: Select all

$teams = array_filter($teams, array($this, "_filterdivision"));

line 882

Code: Select all

uasort($teams, array($this, $c)); // sort

line 885

Code: Select all

foreach ($teams as $k => $team)

Two days ago, all was ok. I did not insatll any nev plugins and modules.
Please help me with this issue

Return to “ranking”

Who is online

Users browsing this forum: No registered users and 1 guest