Error log - viewing Invoice from Admin
ZC 2.1 - upgraded from 1.57
php 8.3
getting this error when viewing invoice from Admin side.
--> PHP Deprecated: str_contains(): Passing null to parameter #1 ($haystack) of type string is deprecated in
AdminDir/includes/functions/html_output.php on line 150.
Thanks!
Re: Error log - viewing Invoice from Admin
Looks like this is fixed in Github. You could pull the new copy of this file and update this function, or just change the offending line to
if ($height !== '' && !str_contains($params ? '', 'height:')) {