• I am getting this error on some pages displaying my Featured Images. I’m not sure when it began, but it affecting only some pages.

    Warning: stream_context_set_option(): options should have the form [“wrappername”][“optionname”] = $value in …/wp-content/plugins/amazon-s3-and-cloudfront/classes/providers/streams/aws-s3-stream-wrapper.php on line 74

    Any help from anyone would be very much appreciated.

Viewing 2 replies - 1 through 2 (of 2 total)
  • WP Offload S3 worked fine until today when I got the same exact error. Actually this is happening only when “Remove Files From Server” is enabled, and it happens with avatar profile images, when the client changes his profile picture it sends the bigger file to amazon s3 but when click save the cropped image is the issue, wordpress error log:

    [21-Jul-2018 07:11:41 UTC] PHP Warning:  stream_context_set_option(): options should have the form ["wrappername"]["optionname"] = $value in /home/admin/public_html/mysite.com/wp-content/plugins/amazon-s3-and-cloudfront/classes/providers/streams/aws-s3-stream-wrapper.php on line 74
    

    When I check the image path on website is the server upload folder but the file is gone because “Remove Files From Server” is enabled. When I check cropped image path on wordpress admin media the big image is present with proper cloufront link but the cropped image icon is empty with this link “https://mysite.com/wp-content/uploads/2018/07/21071136/cropped-work.png”

    The strange thing is that yesterday worked fine, the only thing I did today prior that is to change “Path” on WP Offload S3 by replacing wp-content with cloud. Seen the issue I changed back but the problem persists.

    • This reply was modified 6 years, 4 months ago by alfateam.
    Plugin Contributor ianmjones

    (@ianmjones)

    Fixed in version 1.4.3.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Warning: stream_context_set_option():’ is closed to new replies.