SmartString Errors After v3.74 Upgrade

3 posts by 2 authors in: Forums > CMS Builder
Last Post: November 6   (RSS)

Hi,

I just upgraded from 3.71 to 3.74 on my beta install and noticed that I suddenly started getting deprecated warnings on the admincp. I am using PHP8.3

Deprecated: SmartString::fromArray() is deprecated, use "SmartArray::new($array)" instead.
/system/vendor/itools/smartstring/src/SmartString.php on line 703

This is a new addition since the previous version, so I was a bit surprised that it wouldn't be ready for PHP 8.3. The notice seems to get thrown into the log every time I try to load the 'General Settings' page and the details suggest the call comes from this URL:

https://www.MYDOMAIN.com/system/admin.php?menu=admin&action=generalServerInfoAjax&forceUpdate=1

Thanks, that seemed to fix it :)