One of the websites I’m running - using MODx 0.9.1 - started having weird problems with stats.
On the main admin page, instead of showing the visitors’ stats, the following lines appear:
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 110
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 117
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 124
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 132
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 139
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 146
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 155
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 162
Warning: mysql_fetch_assoc(): supplied argument is not a valid MySQL result resource in /home/virtual/site146/fst/var/www/html/test/manager/actions/static/welcome.static.action.php on line 169
Is there anything I can do to make that section back to work?
Any help would be greatly appreciated