PHP Warning – array_combine()
-
Hi,
We are receiving a PHP warning displayed on the website as well as on the error log file as below :
PHP Warning: array_combine() function.array-combine: Both parameters should have at least 1 element in /public_html/wp-content/plugins/form-maker/frontend/views/FMViewForm_maker.php on line 176
For now we have updated the file as below to stop receiving the error :
if((!empty($id1s)) && (!empty($types))) {
$labels_and_ids = array_combine($id1s, $types);
}Is there any chance of resolving this issue in your next release?
Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘PHP Warning – array_combine()’ is closed to new replies.