1. Yamas
  2. Friday, 21 August 2020
I hope you can assist but I'm seeing hundreds of instances of the same error in a Yamas template and on the site in question I am unable to add any javascript based widgets such as restaurant table booking widget and TripAdvisor reviews widget. I'm hoping if I can resolve the error then it may resolve my javascript issue?

Here is the error in question ...

PHP Warning: json_decode() expects parameter 1 to be string, object given in templates/.../error.php on line 49
PHP Warning: json_decode() expects parameter 1 to be string, object given in templates/.../error.php on line 49
PHP Warning: json_decode() expects parameter 1 to be string, object given in templates/.../error.php on line 49
PHP Warning: json_decode() expects parameter 1 to be string, object given in templates/.../error.php on line 49

I've updated the template and I certainly haven't changed anything in any of the core template files. I've purely added a custom.css file.

I've also tried changing the PHP between 7.0, 7.2 and 7.3

I can PM access to Joomla admin and/or FTP.

Thanks,
Mike
Responses (2)
Hello mjandrew,
Apology for your issue. Please avoid this warning by setting Error Reporting to None.
Screenshot_8.png

- Best regards
Attachments (1)
  1. more than a month ago
  2. Yamas
  3. # 1
HI Ofi - I appreciate that will silence that particular error message, but the real issue is the fact that I cannot add any javascript widgets to the website. I did contact my hosts about the issue and they advised me to resolve the error.php issue with a view to that allowing javascript widgets to be added without issue.
Right now, I cannot add any TripAdvisor widgets, or my clients ResDiary widget for table booking.
Thanks, Mike
  1. more than a month ago
  2. Yamas
  3. # 2


There are no replies made for this post yet.
Be one of the first to reply to this post!


This forum is archived

This forum has been archived. Please use JoomShaper official support system.