Staff replied Templates

Fatal error Class "JEventDispatcher" not found with the search in frontend, warning an deprecated with shaper_gazette

Asked by MARIE OLCHANSKI 3 years ago Last activity 3 years ago

I have a Page Builder Pro - Agency
As a website developper i have to migrate more than 20 website from J3 to J4.
Most of the template are out
So I choose to use jommshaper products as template : shaper_gazette or helixutimate and SPPagebuilder.

But all is not easy !

With php 8.1 I get this "deprecated information"
Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/assocoweys/vsez/templates/shaper_gazette/features/logo.php on line 60

With both I get this warning
Warning: Undefined property: stdClass::$image_medium in /home/assocoweys/vsez/templates/shaper_gazette/sppagebuilder/addons/articles/site.php on line 210

BUT MORE IMPORTANT, with the search infront end I have a fatal error
Object of class stdClass could not be converted to string
Error
Class "JEventDispatcher" not found

How can I solve this quickly as my client is waiting ...with no patience ...
Thanks a lot
marie

1 reply

Ofi Khan Staff

Hello MARIE OLCHANSKI

The template is not PHP 8.1 compatible. Please downgrade your PHP version to 8.0 and check the issues.

Best regards

Log in to reply.