-
Notifications
You must be signed in to change notification settings - Fork 35
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disabling plugin breaks site #211
Comments
Disable/update it causes: PHP Notice: Undefined index: x-amz-bucket-region in /home/h****l/wp-content/plugins/ilab-media-tools/lib/mcloud-aws/aws-sdk-php/src/S3/S3ClientTrait.php on line 219 |
You shouldn't have PHP notices breaking your site. If you are seeing PHP error notices on our site on the front end on a production site, then PHP it not configured optimally.
First, turn of displaying errors:
https://www.php.net/manual/en/errorfunc.configuration.php#ini.display-errors
https://www.php.net/manual/en/errorfunc.configuration.php#ini.display-startup-errors
Second, yuu should be logging errors to a log file, not displaying them on a production site:
https://www.php.net/manual/en/errorfunc.configuration.php#ini.log-errors
https://www.php.net/manual/en/errorfunc.configuration.php#ini.error-log
Third, set up the correct error logging levels. A NOTICE is not an error. Try 30711 or 6135 for this value. I don't remember which it is off the top of my head. This is less important though if you get proper logging working.
https://www.php.net/manual/en/errorfunc.configuration.php#ini.error-reporting
… On Jul 6, 2023, at 1:03 AM, Luis Enrique Martinez ***@***.***> wrote:
Disable/updated causes: PHP Notice: Undefined index: x-amz-bucket-region in /home/h****l/wp-content/plugins/ilab-media-tools/lib/mcloud-aws/aws-sdk-php/src/S3/S3ClientTrait.php on line 219
—
Reply to this email directly, view it on GitHub <#211 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AAAK3IKOKO4R6X773NHJOEDXOWUAHANCNFSM6AAAAAAY3NUN7I>.
You are receiving this because you are subscribed to this thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I want to disable Cloud Storage because of costs, but when I disable cloud storage it breaks my site's image display. The url has a strange string before the file name so the image from the media library cannot display correctly. Ho do I fix the issue without re-assigning new media to all the broken links.
The text was updated successfully, but these errors were encountered: