Error - Deprecated: Automatic conversion of false to array

Hello,

I upgraded to PHP 8.1 recently, and I also moved my website to a different folder in FTP. Everything is working fine, except my blog pages. I am getting this error:

Deprecated: Automatic conversion of false to array is deprecated in /var/.../wp-content/themes/betheme/functions/theme-head.php on line 1446

I didn't have that error before doing these two changes.

Any idea how to fix it?

Thank you

Comments

Sign In or Register to comment.