rmcgirr83 / contactadmin

This form allows guests and/or registered users to either send an email or send a PM to admins or make a Post in a designated forum. It also overrides the default contact admin link found on the forum. A port of the phpBB 3.0.x mod “Contact Board Administration”. Latest version requires at least PHP 8.0.
GNU General Public License v2.0
7 stars 9 forks source link

PHP 8.1 compatability question - PHP Warning: Undefined array key in ext/rmcgirr83/contactadmin/event/listener.php on line 151 #22

Closed nomind60s closed 2 years ago

nomind60s commented 2 years ago

One of my boards running phpBB 3.3.8 with Contact Admin 1.3.7 was recently updated to use PHP 8.1 (8.1.11). I've posted https://www.phpbb.com/customise/db/extension/contact_admin/support/topic/239431 but haven't received any replies.

I'm periodically seeing the following in my error_log:

[16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_bot" in /home2/xxx/public_html/forum/ext/rmcgirr83/contactadmin/event/listener.php on line 151
[16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_bot" in /home2/xxx/public_html/forum/phpbb/textformatter/s9e/renderer.php on line 178
[16-Oct-2022 22:01:12 America/Boise] PHP Warning:  Undefined array key "is_registered" in /home2/xxx/public_html/forum/phpbb/textformatter/s9e/renderer.php on line 179

I have tried a number of different steps using the navbar Contact us link and haven't been able to determine what or when this error gets generated.

Is the extension compatible with PHP 8.1 and should I be concerned with this PHP Warning?

nomind60s commented 2 years ago

Searching a bit deeper I found f67f156 that addresses this.

This can therefore be closed.