Open martinlipp opened 1 year ago
The explode() call here https://github.com/t3solution/t3sbootstrap/blob/8f58e96e0adb790cd198be79aec0dfaf0dd23dbb/Classes/ViewHelpers/MediaViewHelper.php#L182 can fail with a TypeError, when only a single value is set in the srcset attribute (f.e. 'srcset': '575'). $breakpoint['srcset'] are integer values in that cases, they need to be cast to strings. This happens since strict typing was enabled (since 5.2.9).
$breakpoint['srcset']
BUGFIX: https://github.com/t3solution/t3sbootstrap/commit/e848dff0a81cc988ec59f4d880cf4c3bc06fa863
The explode() call here https://github.com/t3solution/t3sbootstrap/blob/8f58e96e0adb790cd198be79aec0dfaf0dd23dbb/Classes/ViewHelpers/MediaViewHelper.php#L182 can fail with a TypeError, when only a single value is set in the srcset attribute (f.e. 'srcset': '575').
$breakpoint['srcset']
are integer values in that cases, they need to be cast to strings. This happens since strict typing was enabled (since 5.2.9).