Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /sites/x/components/com_sppagebuilder/helpers/addon-helper.php on line 117 - Forum | JoomShaper
Staff replied SP Page Builder

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /sites/x/components/com_sppagebuilder/helpers/addon-helper.php on line 117

Asked by Eduards 1 year ago Last activity 1 year ago

Deprecated: preg_replace(): Passing null to parameter #3 ($subject) of type array|string is deprecated in /sites/x/components/com_sppagebuilder/helpers/addon-helper.php on line 117

PHP Version 8.2.27
Joomla! 5.2.3 Stable
Pitech

3 replies

Toufiq Senior Staff

Hi there,

Thank you for reaching out, and I apologize for any inconvenience caused by this oversight. To better address the issue, could you kindly provide Joomla administrator access? This will enable me to thoroughly investigate the matter and provide you with a prompt resolution.

I appreciate your cooperation and will ensure to get back to you as soon as possible.

Best regards,

Toufiqur Rahman (Team Lead, Support)

Eduards Asked this

Hi there, Toufiqur Rahman

Toufiq Senior Staff

Initially turned off the error. I will try to manage a fix by next update. Thanks

Eduards Asked this

What and where did you turn off?

Toufiq Senior Staff

Check the hidden content.

Toufiq Senior Staff

I have solved your issue. No need to apply this code on your site.

Andres

Same problem here:
public_html/components/com_sppagebuilder/helpers/addon-helper.php on line 117

Help please

Eduards Asked this

Hi, Andres
Turn off error display in Global configurtion-server-error reporting-none. This will be fixed by the next update.

Toufiq Senior Staff

Update: Go to this file location

components/com_sppagebuilder/helpers/addon-helper.php

Find out this line of code

$_value = $settings->$prop->$key->value;

Replace with this code

$_value = empty($settings->$prop->$key->value) ? '' : $settings->$prop->$key->value;
Log in to reply.