Staff replied Templates

PHP Deprecated

Asked by nagesh 3 years ago Last activity 3 years ago

PHP Deprecated: json_decode(): Passing null to parameter #1 ($json) of type string is deprecated in /home/hospitalitycom/public_html/templates/gourmand/features/logo.php on line 35

The hosting provider support PHP 7.4 and above only.

8 replies

Paul Frankowski Senior Staff
3 years ago · edited

Hi Nagesh,

please comment line 35 and 36 using // of mentioned file.

info_1453_2023.gif

it should help by now if you have image logo.

nagesh Asked this

Didnt help.

logo.svg exists Can you check for me please.

Paul Frankowski Senior Staff

Thanks, I made changes also in line 45, 94.

Should be OK.


Yes, I switched to PHP 8.0

nagesh Asked this

Thanks a lot. But still the site is not opening?

nagesh Asked this

Hello can i get some help it is something to do with the template. Sometimes it works but if you refresh it goes in to buffering

nagesh Asked this

Hello, Any update. Is there a solution. Why the support is so bad here?

Paul Frankowski Senior Staff
3 years ago · edited

Site worked fine 3 day ago, next time I will share screenshot,

anyway .... DISABLE PRELAODER from template settings - you don't need that and browsers sometimes freeze on it as you said with "buffering".

info_1373_2023.gif

OFF (grey) here

info_1372_2023.gif

Save changes, and that's all.

nagesh Asked this

Thanks it is working now. Thanks for the SEO Suggestion :)

I am getting this error in backend admin?

/home/hospitalitycom/public_html/libraries/vendor/joomla/database/src/Mysqli/MysqliStatement.php on line 137

Paul Frankowski Senior Staff
  1. You're welcome.
  2. Check & Ask on forum.joomla.org OR disable showing errors in Global Configuration by now.
Log in to reply.