New setup giving lots of errors

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=

hi @Hussain , notices can be turned off and most warnings have been addressed in 6.1.0 which is the next release slated for late this winter/early spring.

Hi Stephen

The notices are not just informational. Looking at the source mentioned in the lines, I see these are programming issues.

This is effecting usability. e.g. From the primary opening screen, if I search for a patient and then click on “New patient”, I get returned to the opening screen instead of being able to add a new record.

hi @Hussain , sorry about that, you have to adjust your php settings.

Hi @stephenwaite I rechecked php.ini twice and the settings are already as per the link you mentioned.

hi @Hussain , you can make sure via phpinfo() that the php.ini file that is in use on the server is one that is edited and then restart apache.