Slider 1

Custom Error: [2] Trying to access array offset on value of type bool
Error on line 450 in /home/padorogg/www/besenbeiz.padorogg.ch/wp-content/themes/cooks/BFI_Thumb.php
PHP 8.2.18 (FreeBSD)
Code context:
448:             //get image size after cropping
449:             $dims = image_resize_dimensions($orig_w, $orig_h, $width, isset($height) ? $height : null, isset($crop) ? $crop : false);
450:             $dst_w = $dims[4];
451:             $dst_h = $dims[5];
452:         }
453: 
Custom Error: [2] Trying to access array offset on value of type bool
Error on line 451 in /home/padorogg/www/besenbeiz.padorogg.ch/wp-content/themes/cooks/BFI_Thumb.php
PHP 8.2.18 (FreeBSD)
Code context:
449:             $dims = image_resize_dimensions($orig_w, $orig_h, $width, isset($height) ? $height : null, isset($crop) ? $crop : false);
450:             $dst_w = $dims[4];
451:             $dst_h = $dims[5];
452:         }
453: 
454:         // create the suffix for the saved file
Slider 1