Batch processing of color throws error

Search
Other Bug Reports questions
Forum

Batch processing of color throws error

Astrid van Eerd's Avatar Astrid van Eerd

When using batch to change module color to transparent an error occurs.
RegularLabs\Library\DB::quote(): Argument #1 ($text) must be of type array|string, null given, called in \libraries\regularlabs\src\Color.php on line 26
Then after going back to Module Manager, it shows default Module Manager in stead of AMM. After logging out and in again AMM is shown again.
When batch changing color to another color it works like expected.

I think it is caused by table structure where color field is set to varchar(8 ) and batch tries to store "transparent" (11 characters). So either field length should be increased or value for transparent should be set to default value NULL.

AMM Version 10.0.23 fresh install of AMM on a site where AMM wasn't installed to make sure it wasn't caused by upgrade.
Joomla 5.1.1
Peter van Westen's Avatar Peter van Westen ADMIN
Please try the latest development version from:
regularlabs.com/development-releases
Please post a rating at the Joomla! Extensions Directory
Astrid van Eerd's Avatar Astrid van Eerd
Perfect. Batch processed some modules to a nice color purple and then batch processed them back to transparant. No more errors! Thx!
Peter van Westen's Avatar Peter van Westen ADMIN
Ok, great 🙂
The fix will be included in the next release.
Please post a rating at the Joomla! Extensions Directory
You can only post on this forum if you log in