We did a migration of an EE website from a server to DigitalOcean.
After we managed to change every route and everything, it seems that we can't upload images into channel images anymore.
it gives the following error:
Message: Creating default object from empty value
Line Number: 369
Fatal error: Call to undefined method stdClass::run() in /var/www/html/system/expressionengine/third_party/channel_images/ajax.channel_images.php on line 371
EE 2.9.0 Latest Channel Images The difference between the servers is that the current one has Latest PHP library.