Possible issue with CMSB 3.82 + Newsletter Builder (PHP 8 date() error)
2 posts by 2 authors in: Forums > CMS Builder: Plugins & Add-ons
Last Post: 3 hours ago (RSS)
Hi all
After upgrading to CMSB 3.82 on PHP 8+, I got this error when opening the subscriber list in the Newsletter Builder:
date(): Argument #2 ($timestamp) must be of type ?int, bool given /cmsb/lib/menus/default/list_functions.php on line 736
/admin.php?menu=_nlb_subscribers
The table cmsb__nlb_subscribers only contained: num, email, confirmed, authkey
But the schema file: cmsb/data/schema/_nlb_subscribers.schema.php
has: ‘listPageFields’ => ‘email, confirmed, createdDate, num’,
To solve the issue I added createdDate to my subscriber table
I suspect a more “correct” fix might be to remove createdDate from the schema so it matches the table, but I preferred not to modify a core plugin file in case I was missing something.
So this may just be an install/update edge case on my side, I’m not sure.
Jeff
By Dave - 3 hours ago
Hi Jeff,
This will be easier for us to confirm and debug on your server directly. Can you send in a 2nd level support request, and we'll take a look?
https://interactivetools.com/support/request/
Thanks!
interactivetools.com