Using pThumb as part of my ModMore moreGallery and getting errors in the Manager console each time I upload an image. Occurred after updating to MODx 3.2.4, and PHP 8.4. Images display fine on the front end. Cache folder permission is 0755.
Step to reproduce
Uploading an image to the gallery produces the following error.
I’ve discovered that it’s related to pThumb. I used it for resizing images loaded to the MoreGallery. I’ve downloaded Thumb3x, but have not had a chance to test.
I’d be interested to learn what the issue is with pThumb, and if an update to it migth be able to resolve it. Mind filing or adding to a bug? Issues · modxcms/pThumb · GitHub
From what I found on the “ai”, it said the phpThumbOf and pThumb is not compatible with PHP 8+. Gave various methods of editing the code, but nothing that I had in my actual files matched what the “ai” said to edit. Can’t trust the ai anyhow.
I’ll have to take a look. Perhaps it’s related to the way I have it set up. IDK. It’s worked fantastic for a long long time. Only now after the recent MODx update, and switch to PHP 8.4 did the errors began to appear each time I upload an image to the MoreGallery. After I’ve had a chance to investigate, I’ll post back with results. Thank you for your attention.
I had not had a window of time here to investigate. My installed pThumb is 2.3.3. I wonder if I should try uninstalling and then do a reinstall? I will say that MoreGallery, in my opinion, best gallery manager that I have come across. I work with a lot of client, and “their” preferred website host, and have yet to come across any gallery manager that is a fast, intuitive, and easy to use as MoreGallery. Thank you though for taking a look, and providing feedback.