Addon-parser Error - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Addon-parser Error

DB

Design8 bv

SP Page Builder 4 years ago

Hi there,

We have tried to update the PHP-version of our website sketchup.nl to PHP 7.4, but that gave some strange error messages like:

Warning: htmlspecialchars() expects parameter 1 to be string, object given in /home/sketchup/domains/sketchup.nl/public_html/components/com_sppagebuilder/parser/addon-parser.php on line 623

PHP 7.3 doesn't give these strange messages, but 7.3 is not supported anymore and we want to stay up-to-date. Joomla, SP Page Builder, all Extensions are up-to-date. Plus, on the other websites where we use Joomla, SP Page Builder as well, we don't experience any troubles.

I have also checked if it could be the template, but all native Joomla templates (Beez3 en protostar) also give these messages.

Coud you please tell me how to fix this?

Thanks and best regards,

Robert | Design8

0
9 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #42561

Hoi,

  1. In general FLEX template from Apikko is known from addons and sppb override that cause similar problems. Long story, many cases here.
  2. Check if you updated JCE Editor, must be 2.9.16+

tip #35 : https://www.joomshaper.com/documentation/sp-page-builder/sp-page-builder-3/faq-problems-solutions

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #42564

Make simple test:

  1. Create a new page with a Text and Image addon only.
  2. Make this page as default Home.
  3. Switch template to Protostar.
  4. Switch PHP version to 7.4
  5. Test

BTW

Sp Page Builder Pro 3.8+ can be used on PHP 7.3, PHP 7.4 and PHP 8.0.x without any problems.

0
DB
Design8 bv
Accepted Answer
4 years ago #42578

Hi Paul,

Thanks. A fresh page with Protostar now doesn't give these error messages with PHP 7.4. May I conclude that Flex Template is causing the error then?

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #42579

Yes, as always in many similar cases here.

Probably one of the addons or SPPB component override cause this error.
You have to check one by one, if your Apikko support ended.

But start from step 4

foto_7116_2021.png

0
DB
Design8 bv
Accepted Answer
4 years ago #42580

I'll email Aplikko then. Dragan is always very responsive.

Best regards,

Robert

0
DB
Design8 bv
Accepted Answer
4 years ago #42608

One note: first I didn't see the image you had sent, but now I do. Anyway, there is no folder folder called sp_pagebuilder on that location. What I do see is a folder called mod_sppagebuilder, but that one only includes a default.php. Deleting that, doesn't do the trick.

Anyway, I have asked Aplikko for support as well.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #42699

it was screenshot from documenation.

let me know after.

0
DB
Design8 bv
Accepted Answer
4 years ago #43259

Problem solved:

"Warning" message: ".../components/com_sppagebuilder/parser/addon-parser.php on line 623" is there because of the old admin for some of the SPPB Addons, in Flex template override. That's why Protostar is not showing this message, because Protostar doesn't have template overrides for SP Page Builder.

Our server was set to display errors (PHP and other errors), and it should be set not to display errors (by default). So we disabled this by setting Error Reporting to "None", in Joomla administrator > System > Global Configuration > Error Reporting > "None". Site is working like a charm now.

They also told me that Helix3 framework is not yey PHP 8 compatible, so it is advised to use PHP 7.4 for now.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 4 years ago #43482

Yes, they have right. Thx.

About PHP 8. Code upgrade for Helix3 framework is planned for this year (by Us, Joomshaper). It may help, but maybe Flex template update is needed as well, I don't know that yet, anyway it's Apikko job.

0