Site Error: Htmlspecialchars(): Argument #1 ($string) Must Be Of Type String, StdClass Given - Question | JoomShaper
🎃 Halloween Sale is Live! Get 35% OFF on all plans. Sale ends soon! Get Offer

Site Error: Htmlspecialchars(): Argument #1 ($string) Must Be Of Type String, StdClass Given

Tom Fullen

Tom Fullen

General 3 years ago

Hello,

I have restored a backup of a site to xampp from a live site and I am getting the error: htmlspecialchars(): Argument #1 ($string) must be of type string, stdClass given when accessing the site on my localhost.

Have you seen this before? Any help would be greatly appreciated.

Windows NT DESKTOP-USJ5IFC 10.0 build 19043 (Windows 10) AMD64 XAMPP for Windows 8.0.11 Joomla 3.10.6 PHP 8.0.11

0
2 Answers
Rashida Rahman
Rashida Rahman
Accepted Answer
Support Agent 3 years ago #63170

Hi there!

Sorry for your issue.

Would you please check the following faq to see if it helps?

https://www.joomshaper.com/documentation/sp-page-builder/sp-page-builder-3/faq-problems-solutions#warning-htmlspecialchars-parser-addon-parser-php

You may check by downgrading your PHP version as well.

Note: Keeping full site backup is strongly recommended before trying anything!

Best Regards

0
Tom Fullen
Tom Fullen
Accepted Answer
3 years ago #63173

Hi, Rashida, Thank you.

I updated JCE Editor and that helped.

The issue was happening with Joomla 4 and Helix Ultimate (both the latest versions).

But, now I notice that I can not access the Helix Ultimate Template Options and getting the message: InvalidArgumentException: Please specify a valid response format, other than that of HTML, such as json, raw, debug, etc. Installs: helixultimate_template_v2.0.7 helix_ultimate_plugin_pkg_2.0.7 com_sppagebuilder_pro_v3.8.6

0