Deprecated: Htmlspecialchars(): Passing Null To Parameter #1 ($string) Of Type String is Deprecated In (php 8.1) - Question | JoomShaper
Black Friday sale is live with flat 50% OFF. Sale ends soon! Grab your deal now!

Deprecated: Htmlspecialchars(): Passing Null To Parameter #1 ($string) Of Type String is Deprecated In (php 8.1)

R

Rózsa Csaba

SP Page Builder 2 years ago

Hello!

I would like to ask for help. I updated to php 8.1 and an error message appears in the seach module field and after the search. Can I get your help on what could be the problem? Thank you very much!

0
3 Answers
Paul Frankowski
Paul Frankowski
Accepted Answer
Senior Staff 2 years ago #128746

In Joomla 4.3+ module and component Search was removed, that's why it works in legacy mode only - and must be replaced with Smart Search in all subpages and websites.

I changed module in "Jánoshalma" page - as example, now is your turn to correct everywhere.

0
R
Rózsa Csaba
Accepted Answer
2 years ago #128749

Hello Paul!

Thank you again for your quick response! I'm thankful!

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

HI Rózsa,

In general in Joomla 4+ you shouldn't use "classic" Search anymore, but Smart search - but sure, I will check on your site...

0