PHP warning when viewing SVG attachment
-
At this URL:
https://www.domain.com/?attachment_id=XX
when viewing a SVG file this PHP warning can be read:
Warning: Trying to access array offset on value of type bool in /home/user/domain.com/wp-content/themes/twentytwentyone/inc/template-functions.php on line 460
WordPress 5.8.2
PHP 8 Apache serverHope this helps. Thanks!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP warning when viewing SVG attachment’ is closed to new replies.