PHP notices messages

Seeing a lot of log spam from these:

PHP Notice: Undefined variable: backpic in /var/www/interface/globals.php on line 528
PHP Notice: Trying to access array offset on value of type null in /var/www/interface/main/calendar/includes/pnMod.php on line 488
PHP Notice: Trying to access array offset on value of type null in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 155
PHP Notice: Trying to access array offset on value of type null in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 157
PHP Notice: Only variable references should be returned by reference in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 146
PHP Notice: Undefined index: pc_username in /var/www/interface/main/calendar/modules/PostCalendar/pnuserapi.php on line 829
PHP Notice: Undefined index: pc_username in /var/www/interface/main/calendar/modules/PostCalendar/pnuserapi.php on line 100
PHP Notice: Undefined index: pc_username in /var/www/interface/main/calendar/modules/PostCalendar/pnuser.php on line 70
PHP Notice: Constant REPEAT_EVERY_DAY already defined in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 54
PHP Notice: Constant REPEAT_EVERY_WEEK already defined in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 55
PHP Notice: Constant REPEAT_EVERY_MONTH already defined in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 56
PHP Notice: Constant REPEAT_EVERY_YEAR already defined in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 57
PHP Notice: Constant REPEAT_EVERY_WORK_DAY already defined in /var/www/interface/main/calendar/modules/PostCalendar/common.api.php on line 58
PHP Notice: Undefined index: pc_facility in /var/www/interface/main/calendar/index.php on line 67
PHP Notice: Undefined variable: forwardIp in /var/www/library/sanitize.inc.php on line 31

The backpic spams a lot in logs, as each time openemr refreshes in the background it generates that every 10 or so seconds.
@sjpadgett are any of these helpful to you? Not sure if there is a central thread for tracking these PHP notices.

hi @madmax, not necc to log those, can turn off

1 Like

@sjpadgett Everything appears to work except the Portal inside the admin panel, I get a forbidden message when trying to access that area, any idea on what I could look for?

Forbidden

You don’t have permission to access /portal/patient/provider on this server.

Looks like I was missing this:

<Directory β€œ/var/www/”>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted