CMS Error: Variable passed to each() is not an array or object


#1

I am new with OpenEMR. I am working on Patient Portal. I get the error below when I click on CMS Portal.

…../interface/cmsportal/list_requests.php on line 253
Warning: Variable passed to each() is not an array or object in 
…../interface/cmsportal/list_requests.php on line 254```

Line 253 and 254 are

```$v1 = each($result['list']);
$v2 = each($result['messages']);```

Any help Please?

#2

Hi papaarkoh1d,

Can you please check your CMS portal configurations under Left Nav -> Gloabals -> Portal .
Make sure that your cms configurations are valid .
Could you please explain your issue with screen shot of the error page ?

Note : share your openemr version .

Thanks,
Visolve


#3

Thanks for reply. I will check and get back.