File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33## Unreleased
44
55- Fixed a bug where newly created variants weren’t visible on Edit product screens.
6- - Fixed a SQL error that could occur when viewing product indexes.
6+ - Fixed a SQL error that could occur when viewing product indexes.
7+ - Fixed a PHP error that occurred when applying project config changes after updating. ([ #4185 ] ( https://github.com/craftcms/commerce/issues/4185 ) )
78
89## 5.5.0.1 - 2025-11-24
910
Original file line number Diff line number Diff line change @@ -295,6 +295,11 @@ public function handleChangedGateway(ConfigEvent $event): void
295295 $ gatewayUid = $ event ->tokenMatches [0 ];
296296 $ data = $ event ->newValue ;
297297
298+ // Bail if the data is not a valid gateway config array
299+ if (!is_array ($ data )) {
300+ return ;
301+ }
302+
298303 $ transaction = Craft::$ app ->getDb ()->beginTransaction ();
299304 try {
300305 $ gatewayRecord = $ this ->_getGatewayRecord ($ gatewayUid );
You can’t perform that action at this time.
0 commit comments