Rev 3741 of rc1 from svn has this warning returned every time I save a new TV. It is saved, however. Saving it again is fine. Of course, the TV has no rank key or value to retrieve from the database when it is first saved.
Warning: array_combine() [function.array-combine]: Both parameters should have at least 1 element in /home/****/domains/****.com/public_html/manager/processors/save_tmplvars.processor.php on line 187
Warning: Cannot modify header information - headers already sent by (output started at /home/****/domains/****.com/public_html/manager/processors/save_tmplvars.processor.php:187) in /home/****/domains/****.com/public_html/manager/processors/save_tmplvars.processor.php on line 100
They’ve got phpinfo blocked "for security reasons" so I have written my own snippet to get some information.
PHP version 5.2.4
Server version Microsoft-IIS/6.5beta
I added an if condition around the offending line...
if(!empty($getRankArrayKey) && !empty($getRankArrayValue)) {
$getRankArray = array_combine($getRankArrayKey,$getRankArrayValue);
}
and it seems to be working fine with no warnings.