PHP 8.2 Error
3 posts by 2 authors in: Forums > CMS Builder
Last Post: February 13, 2023 (RSS)
By zaba - February 10, 2023
Hi,
I have just upgraded a site I am working on to PHP 8.2 and get the following error
E_DEPRECATED: Creation of dynamic property SeparatorField::$isCollapsible is deprecated
Unchecking all the checked Collapsible boxes in the CMS doesn't fix this..
Having the collapsible separator is really useful, is there a workaround for this?
FILEPATH
/XXXX/public_html/cmsb/lib/field_class.php
#0 _errorlog_logErrorRecord() called at [/XXXX/public_html/cmsb/lib/errorlog_functions.php:64]
#1 _errorlog_catchRuntimeErrors() called at [/XXXX/public_html/cmsb/lib/field_class.php:13]
#2 __construct() called at [/XXXXpublic_html/cmsb/lib/fieldtypes/separator.php:6]
#3 __construct() called at [/XXXX/public_html/cmsb/lib/field_class.php:110]
#4 createFieldObject_fromSchema() called at [/XXXX/public_html/cmsb/lib/menus/default/edit_functions.php:986]
#5 _showSeparator() called at [/XXXX/public_html/cmsb/lib/menus/default/edit_functions.php:46]
#6 showFields() called at [/XXXX/public_html/cmsb/lib/menus/default/edit.php:79]
#7 {closure}() called at [/XXXX/public_html/cmsb/lib/common.php:382]
#8 ob_capture() called at [/XXXX/public_html/cmsb/lib/menus/default/edit.php:77]
#9 include() called at [/XXXX/public_html/cmsb/lib/admin_functions.php:393]
#10 showInterface() called at [/XXXX/public_html/cmsb/lib/menus/default/actionHandler.php:57]
#11 include() called at [/XXXX/public_html/cmsb/admin.php:45]
By zaba - February 11, 2023
Temporary Fix.
Add the following line to:
/cmsb/lib/field_class.php
below the opening <?php
#[\AllowDynamicProperties]
By Dave - February 13, 2023
Thanks for the report! We'll have a look and patch this as needed for a future version release.
interactivetools.com