Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tatiana5/popuppm/event/listener.php on line 127: Trying to access array offset on value of type bool
Try and change that lineSpIdErPiGgY wrote: ↑Wed May 05, 2021 1:25 am I'm getting this error when sending points to users via the Ultimate Points extension:
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tatiana5/popuppm/event/listener.php on line 127: Trying to access array offset on value of type bool
[ROOT]/ext/tatiana5/popuppm/event/listener.php on line 127
if ($row['msg_id'] != '')
if (is_array($row) && !empty($row['msg_id'])
That gives an error3Di wrote: ↑Wed May 05, 2021 2:36 amTry and change that lineSpIdErPiGgY wrote: ↑Wed May 05, 2021 1:25 am I'm getting this error when sending points to users via the Ultimate Points extension:
Code: Select all
[phpBB Debug] PHP Warning: in file [ROOT]/ext/tatiana5/popuppm/event/listener.php on line 127: Trying to access array offset on value of type bool
[ROOT]/ext/tatiana5/popuppm/event/listener.php on line 127
FROM
if ($row['msg_id'] != '')
TO
if (is_array($row) && !empty($row['msg_id'])
NOT TESTED
Code: Select all
Parse error: syntax error, unexpected token "{" in /var/www/vhosts/amusementspaleis.online/httpdocs/ext/tatiana5/popuppm/event/listener.php on line 128
Code: Select all
if (is_array($row) && !empty($row['msg_id']))
That worked, thank you bothТатьяна5 wrote: ↑Wed May 05, 2021 5:50 pmCode: Select all
if (is_array($row) && !empty($row['msg_id']))
Writing on the fly.Татьяна5 wrote: ↑Wed May 05, 2021 5:50 pmCode: Select all
if (is_array($row) && !empty($row['msg_id']))
I finally got to the bottom of this. The server host had added an internal email scanner which was preventing lots of emails getting sent. I have reconfigured the email now which hopefully will bypass the internal scanner.thecaretaker1 wrote: ↑Sat May 01, 2021 2:00 pm I've had a few complaints that folk are not getting the usual email notification sent when they get a PM. I don't see how that can be due to the extension, but thought I'd ask. I'm getting emails OK, but I am admin.