humanmade / S3-Uploads

The WordPress Plugin to Store Uploads on Amazon S3
1.95k stars 392 forks source link

Trying to install the plugin with php8 #671

Closed kirsley closed 4 months ago

kirsley commented 4 months ago

We've been using manual installation as we used this plugin inside a docker. Now, when I even try to use compose install from within the cloned folder, it says Problem 1

Is it not compatible yet with php 8 or higher?

mellinger commented 4 months ago

I think you're encountering the same problem as this user (and myself): https://github.com/humanmade/S3-Uploads/issues/670

The solve they posted at the end worked for me.

kirsley commented 4 months ago

yes, it worked thanks! I also had to add this in wp-config.php instead of what is shown in Readm file, as, for some reason, it wasn't trying to open the vendor folder in plugins path, but in root path "require DIR . '/wp-content/plugins/s3-uploads/vendor/autoload.php';"