Hi Andrew,
I just upgraded PHP from 7.4.33 to 8.0.27, and I don’t know if these errors were already in the error_log or not. I don’t see any issue with the site, but I thought I should report this in case there is something that needs to be done. WordPress 6.1.1, Ultra 2.6.4
[09-Feb-2023 19:07:15 UTC] PHP Warning: Trying to access array offset on value of type bool in /home2/foobar/public_html/foobar/wp-content/themes/ultra/inc/template-tags.php on line 124
[09-Feb-2023 19:07:15 UTC] PHP Warning: Trying to access array offset on value of type bool in /home2/foobar/public_html/foobar/wp-content/themes/ultra/inc/template-tags.php on line 125
[09-Feb-2023 19:07:15 UTC] PHP Warning: Trying to access array offset on value of type bool in /home2/foobar/public_html/foobar/wp-content/themes/ultra/inc/template-tags.php on line 126
[09-Feb-2023 19:13:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home2/foobar/public_html/foobar/wp-content/themes/ultra/inc/template-tags.php on line 124
[09-Feb-2023 19:13:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home2/foobar/public_html/foobar/wp-content/themes/ultra/inc/template-tags.php on line 125
[09-Feb-2023 19:13:10 UTC] PHP Warning: Trying to access array offset on value of type bool in /home2/foobar/public_html/foobar/wp-content/themes/ultra/inc/template-tags.php on line 126
else {
$image = wp_get_attachment_image_src( $logo, ‘full’ );
124 $src = $image[0];
125 $height = $image[2];
126 $width = $image[1];
Note that this site does NOT have a logo, if that makes any difference.
Note that the other site did not generate this message, same versions of every thing, but it does have a logo.