Quote:
Originally Posted by squawell
i got this error when i run scheduled task in my admincp
Code:
Warning: asort() expects parameter 1 to be array, boolean given in C:\Apache Group\Apache2\htdocs\forum\includes\cron\threadviews.php on line 41
the line 41 is
Code:
asort($+++++adarray);
any idea?thankz
edit:delete the line 41 than it works 
|
Don't worry about it, it's a warning (it doesn't stop the code from executing), that's because some threads might not have any data to sort. If you really don't want to see the warning change it to this:
Code:
if (is_array($+++++adarray)) {
asort($+++++adarray);
}