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

PHP Deprecated

nagesh

nagesh

Template 2 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.

0
9 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #127778

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.

0
nagesh
nagesh
Accepted Answer
2 years ago #127787

Didnt help.

logo.svg exists Can you check for me please.

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #127801

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

Should be OK.


Yes, I switched to PHP 8.0

0
nagesh
nagesh
Accepted Answer
2 years ago #127824

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

0
nagesh
nagesh
Accepted Answer
2 years ago #127920

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

0
nagesh
nagesh
Accepted Answer
2 years ago #128069

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #128080

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.

0
nagesh
nagesh
Accepted Answer
2 years ago #128094

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

0
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #128098
  1. You're welcome.
  2. Check & Ask on forum.joomla.org OR disable showing errors in Global Configuration by now.
0