Error when using gallery

PHP WARNING [2] A non-numeric value encountered in sources/images_cleanup_pipeline.php on line 545 (version: 10.0.16, PHP version: 7.2.7, URL: /cms/index.php?page=cms-galleries&type=_add&redirect=https%3A%2F%2Fdoenwenu.nl%2Findex.php%3Fpage%3Dgalleries%26type%3Dbrowse%26id%3Dweerfoto_s&uploading=1)
I follow Menu > gallery > album > add image


There is an issue on PHP 7.2+. Please try these 2 fixed files:
sources/global3.php:
https://raw.githubusercontent.com/ocproducts/composr/master/sources/global3.php
sources/images_cleanup_pipeline.php:
https://raw.githubusercontent.com/ocproducts/composr/master/sources/images_cleanup_pipeline.php
Become a fan of Composr on Facebook or add me as a friend. Add me on on Mastodon. Follow me on Minds (where I am most active). Support me on Patreon
- If not, please let us know how we can do better (please try and propose any bigger ideas in such a way that they are fundable and scalable).
- If so, please let others know about Composr whenever you see the opportunity or support me on Patreon.
- If my reply is too Vulcan or expressed too much in business-strategy terms, and not particularly personal, I apologise. As a company & project maintainer, time is very limited to me, so usually when I write a reply I try and make it generic advice to all readers. I'm also naturally a joined-up thinker, so I always express my thoughts in combined business and technical terms. I recognise not everyone likes that, don't let my Vulcan-thinking stop you enjoying Composr on fun personal projects.
- If my response can inspire a community tutorial, that's a great way of giving back to the project as a user.
