PHP8 causes errors on loading the main form
Posted: Wed Dec 07, 2022 1:05 pm
I tried to install nuBuilder (nuBuilder Forte 4.5
DB Version: V.4.5-2022.10.28.00
Files Version: V.4.5-2022.11.07.01
(V.MajorVersion-CurrentDate.BuildNumber)
with PHP8 and getting the following errors instead of the main form:
*****************************
Uncaught Error.
Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 316
Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 317
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
*******************
Tried with PHP7 and it works fine.
DB Version: V.4.5-2022.10.28.00
Files Version: V.4.5-2022.11.07.01
(V.MajorVersion-CurrentDate.BuildNumber)
with PHP8 and getting the following errors instead of the main form:
*****************************
Uncaught Error.
Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 316
Deprecated: addslashes(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 317
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 653
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
Deprecated: trim(): Passing null to parameter #1 ($string) of type string is deprecated in C:\Server\data\htdocs\nuBuilder4\core\nucommon.php on line 622
*******************
Tried with PHP7 and it works fine.