When running a cron on my site i get the error.
key1
Warning: min() [function.min]: Array must contain at least one element in /home3/banumren/public_html/ratter/ratter/cron.php on line 95
Warning: max() [function.max]: Array must contain at least one element in /home3/banumren/public_html/ratter/ratter/cron.php on line 95
[ 0 ] (0 %) - 0 / 0 (beforeRefID: )
- [cachedUntil=2014-05-14 23:02:34 (time-api-taken: 2014-05-14 22:47:34]) ]
- wallet.dates = ( to )
the line of code it references is
[php]
* wallet.dates = ( “.$dates1[ min($dates) ].” to “.$dates1[ max($dates) ].” ) \n
\n[/php]
the code worked fine in 2010-2011 and im trying to bring it back to life . Any suggestions on how to fix the error.