Two errors occur when adding admin to simple forum (after php8.1 upgrade) to accounts table

4 posts by 2 authors in: Forums > CMS Builder
Last Post: April 28, 2023   (RSS)

By Codee - April 27, 2023 - edited: April 27, 2023

Hello I.T.,

I am getting two errors, completely replicatable, when I add or delete simple forum admin in the accounts section:

1) E_WARNING: Cannot modify header information - headers already sent by (output started at /home/xxxxxx/public_html/cmsb/lib/errorlog_functions.php:70)
/home/xxxxxx/public_html/cmsb/lib/menus/header.php (line 4)
https://xxxxxxxxxx.com/cmsb/admin.php?menu=accounts&action=edit&num=1

and,

2) E_DEPRECATED: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated
/home/xxxxxx/public_html/cmsb/plugins/simpleforum_1-04/simpleForum/simpleForum.php (line 828)
https://xxxxxxxxxx.com/cmsb/admin.php?menu=accounts&action=edit&num=1

Using CMSB 3.58 (build 2316), AlmaLinux release 8.7, Apache Web Server, php 8.1.18, MariaDB Server v10.6.12, Website Membership 1.14, Simple Forum 1.04

Thank you in advance for your assistance.

By Dave - April 27, 2023

Hi Codee, 

I just uploaded an updated version of Simple Forum.  Can you give it a try and see if it resolves the issue? 
https://www.interactivetools.com/plugins/simple-forum/

Just be sure to make a backup first.

If you still run into any error after upgrading let us know and we'll get them fixed for you.

Thanks!

Dave Edis - Senior Developer
interactivetools.com

By Codee - April 28, 2023

Mr. Dave,

Looks like we have yet another winner! ;-)

So far, so good. If I do run into any new or repeatable issues then I will contact you back.

Thank you kindly for this ~ it is TRULY appreciated.