Skip to content
This repository has been archived by the owner on Feb 4, 2021. It is now read-only.

Class Cloudinary not found #80

Open
pixel-penguin opened this issue Feb 1, 2021 · 3 comments
Open

Class Cloudinary not found #80

pixel-penguin opened this issue Feb 1, 2021 · 3 comments

Comments

@pixel-penguin
Copy link
Contributor

pixel-penguin commented Feb 1, 2021

It seems since a new update from cloudinary_php (v2), it can't find the Cloudinary Class.

@pixel-penguin
Copy link
Contributor Author

For anyone else experiencing the issue, downgrade cloudinary_php by doing

composer require cloudinary/cloudinary_php:1.20

@jrm2k6
Copy link
Owner

jrm2k6 commented Feb 1, 2021

Hi @pixel-penguin
You could probably pin Cloudinary in here https://github.com/jrm2k6/cloudder/blob/master/composer.json#L16 to only accept 1.1.0 up to 1.2.0 not included. Maybe by doing 1.1.*.
Feel free to open a PR and I can take a look.

@pixel-penguin
Copy link
Contributor Author

I created a pull request that should work. I changed the version to ^1.1. Which basically means it will get the highest version 1. I tested it on my local server and it seems to be working well.

As soon as I use the earliest v2, the error occurs.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants