delete Image from media library through api
Hi I want to delete images which are in my media library and it is giving me an error.
Fatal error: Uncaught Error: Class 'Cloudinary\Uploader' not found in /var/www/html/chekmate-website/admin/rider/process.php:444 Stack trace: #0 {main} thrown in /var/www/html/chekmate-website/admin/rider/process.php on line 444
The code which i have written is this.
-
Hi Syed,
Based on the error message you shared in your response it appears that something with your installation of the Cloudinary PHP SDK may not have worked correctly hence why it cannot find the Cloudinary/Uploader class.
Could you please confirm you have performed the installation steps detailed here?
https://cloudinary.com/documentation/php1_integration#installationIn addition, that version of the SDK (v1) is now the legacy and replaced with a newer V2 PHP SDK which you can find below. If you are starting to use the PHP SDK we recommend you to upgrade and use the V2 instead of the now legacy V1 that you are currently using.
https://cloudinary.com/documentation/php_integrationLooking forward to your updates.
0
Post is closed for comments.
Comments
1 comment