Situation
I just downloaded and installed on a CentOS 7 system and am getting a lot of errors in the http log. The setup ran on the first access and now I am logged in as the admin. I suspect that this is due to some global error either in PHP or Apache setup. Perhaps a missing module. I am pasting excerpt from the log below.
OpenEMR Version
I’m using OpenEMR version 6.0.0
Browser:
I’m using: Chrome
Operating System
I’m using: CentOS 7
Logs
[Tue Jan 25 17:34:59.418133 2022] [php7:warn] [pid 6365] [client 101.53.248.253:60554] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /opt/openemr/interface/main/calendar/find_patient_popup.php on line 156, referer: http://openemr.sapphire.co/interface/main/calendar/find_patient_popup.php
[Tue Jan 25 17:35:03.026770 2022] [php7:warn] [pid 6365] [client 101.53.248.253:60554] PHP Warning: A non-numeric value encountered in /opt/openemr/interface/main/calendar/add_edit_event.php on line 1320, referer: http://openemr.sapphire.co/interface/main/calendar/add_edit_event.php?startampm=1&starttimeh=10&userid=1&starttimem=45&date=20220125&catid=0
[Tue Jan 25 17:35:03.026824 2022] [php7:notice] [pid 6365] [client 101.53.248.253:60554] PHP Notice: Undefined index: date in /opt/openemr/interface/main/calendar/add_edit_event.php on line 1357, referer: http://openemr.sapphire.co/interface/main/calendar/add_edit_event.php?startampm=1&starttimeh=10&userid=1&starttimem=45&date=20220125&catid=0
[Tue Jan 25 17:35:04.390645 2022] [php7:notice] [pid 6349] [client 101.53.248.253:60564] PHP Notice: Only variable references should be returned by reference in /opt/openemr/interface/main/calendar/modules/PostCalendar/common.api.php on line 227, referer: http://openemr.sapphire.co/interface/main/calendar/index.php?module=PostCalendar&func=view&tplview=default&pc_category=&pc_topic=
[Tue Jan 25 17:35:25.322555 2022] [php7:notice] [pid 8828] [client 101.53.248.253:27623] PHP Notice: Undefined variable: result in /opt/openemr/interface/main/calendar/find_patient_popup.php on line 156, referer: http://openemr.sapphire.co/interface/main/calendar/find_patient_popup.php
[Tue Jan 25 17:35:25.322603 2022] [php7:warn] [pid 8828] [client 101.53.248.253:27623] PHP Warning: count(): Parameter must be an array or an object that implements Countable in /opt/openemr/interface/main/calendar/find_patient_popup.php on line 156, referer: http://openemr.sapphire.co/interface/main/calendar/find_patient_popup.php
[Tue Jan 25 17:35:28.876206 2022] [php7:warn] [pid 8828] [client 101.53.248.253:27623] PHP Warning: A non-numeric value encountered in /opt/openemr/interface/main/calendar/add_edit_event.php on line 1320, referer: http://openemr.sapphire.co/interface/main/calendar/add_edit_event.php?startampm=1&starttimeh=9&userid=1&starttimem=15&date=20220125&catid=0
[Tue Jan 25 17:35:28.876257 2022] [php7:notice] [pid 8828] [client 101.53.248.253:27623] PHP Notice: Undefined index: date in /opt/openemr/interface/main/calendar/add_edit_event.php on line 1357, referer: http://openemr.sapphire.co/interface/main/calendar/add_edit_event.php?startampm=1&starttimeh=9&userid=1&starttimem=15&date=20220125&catid=0
[Tue Jan 25 17:35:30.265743 2022] [php7:notice] [pid 6364] [client 101.53.248.253:60653] PHP Notice: Only variable references should be returned by reference in /opt/openemr/interface/main/calendar/modules/PostCalendar/common.api.php on line 227, referer: http://openemr.sapphire.co/interface/main/calendar/index.php?module=PostCalendar&func=view&tplview=default&pc_category=&pc_topic=