Title: PHP Warning in error log
Last modified: February 20, 2018

---

# PHP Warning in error log

 *  [Davide Radice](https://wordpress.org/support/users/davide-radice/)
 * (@davide-radice)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-3/)
 *     ```
       2018/02/20 15:42:23 [error] 1258#0: *24433 FastCGI sent in stderr: "PHP message: PHP Warning:  Declaration of AS3CF_Stream_Wrapper::register(Aws\S3\S3Client $client, $protocol = 's3') should be compatible with Aws\S3\StreamWrapper::register(Aws\S3\S3ClientInterface $client, $protocol = 's3', ?Aws\CacheInterface $cache = NULL) in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-s3-and-cloudfront/classes/as3cf-stream-wrapper.php on line 3
       PHP message: PHP Stack trace:
       PHP message: PHP   1. {main}() /var/www/analisilaica.it/htdocs/wp-cron.php:0
       PHP message: PHP   2. require_once() /var/www/analisilaica.it/htdocs/wp-cron.php:33
       PHP message: PHP   3. require_once() /var/www/analisilaica.it/htdocs/wp-load.php:37
       PHP message: PHP   4. require_once() /var/www/analisilaica.it/htdocs/wp-config.php:106
       PHP message: PHP   5. do_action() /var/www/analisilaica.it/htdocs/wp-settings.php:450
       PHP message: PHP   6. WP_Hook->do_action() /var/www/analisilaica.it/htdocs/wp-includes/plugin.php:453
       PHP message: PHP   7. WP_Hook->apply_filters() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:310
       PHP message: PHP   8. amazon_web_services_init() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:286
       PHP message: PHP   9. Amazon_Web_Services->__construct() /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-web-services/amazon-web-services.php:53
       PHP message: PHP  10. do_action() /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-web-services/classes/amazon-web-services.php:37
       PHP message: PHP  11. WP_Hook->do_action() /var/www/analisilaica.it/htdocs/wp-includes/plugin.php:453
       PHP message: PHP  12. WP_Hook->apply_filters() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:310
       PHP message: PHP  13. as3cf_init() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:286
       PHP message: PHP  14. require_once() /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-s3-and-cloudfront/wordpress-s3.php:68" while reading response header from upstream, client: 52.57.168.47, server:
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [ianmjones](https://wordpress.org/support/users/ianmjones/)
 * (@ianmjones)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-3/#post-9996372)
 * ​We’ve just released WP Offload S3 Lite 1.3.1 to fix this bug, please let us 
   know whether it works for you.
 *  Thread Starter [Davide Radice](https://wordpress.org/support/users/davide-radice/)
 * (@davide-radice)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-3/#post-9997369)
 * Just updated and got the same error:
 *     ```
       2018/02/21 08:21:42 [error] 1258#0: *31345 FastCGI sent in stderr: "PHP message: PHP Warning:  Declaration of AS3CF_Stream_Wrapper::register(Aws\S3\S3Client $client, $protocol = 's3') should be compatible with Aws\S3\StreamWrapper::register(Aws\S3\S3ClientInterface $client, $protocol = 's3', ?Aws\CacheInterface $cache = NULL) in /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-s3-and-cloudfront/classes/as3cf-stream-wrapper.php on line 3
       PHP message: PHP Stack trace:
       PHP message: PHP   1. {main}() /var/www/analisilaica.it/htdocs/index.php:0
       PHP message: PHP   2. require() /var/www/analisilaica.it/htdocs/index.php:17
       PHP message: PHP   3. require_once() /var/www/analisilaica.it/htdocs/wp-blog-header.php:13
       PHP message: PHP   4. require_once() /var/www/analisilaica.it/htdocs/wp-load.php:37
       PHP message: PHP   5. require_once() /var/www/analisilaica.it/htdocs/wp-config.php:106
       PHP message: PHP   6. do_action() /var/www/analisilaica.it/htdocs/wp-settings.php:450
       PHP message: PHP   7. WP_Hook->do_action() /var/www/analisilaica.it/htdocs/wp-includes/plugin.php:453
       PHP message: PHP   8. WP_Hook->apply_filters() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:310
       PHP message: PHP   9. amazon_web_services_init() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:286
       PHP message: PHP  10. Amazon_Web_Services->__construct() /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-web-services/amazon-web-services.php:53
       PHP message: PHP  11. do_action() /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-web-services/classes/amazon-web-services.php:37
       PHP message: PHP  12. WP_Hook->do_action() /var/www/analisilaica.it/htdocs/wp-includes/plugin.php:453
       PHP message: PHP  13. WP_Hook->apply_filters() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:310
       PHP message: PHP  14. as3cf_init() /var/www/analisilaica.it/htdocs/wp-includes/class-wp-hook.php:286
       PHP message: PHP  15. require_once() /var/www/analisilaica.it/htdocs/wp-content/plugins/amazon-s3-and-cloudfront/wordpress-s3.
       ```
   
 * Here is the list of my active plugins:
 *     ```
       Accelerated Mobile Pages (v0.9.82.1) by Ahmed Kaludi, Mohammed Kaludi
       Akismet Anti-Spam (v4.0.3) by Automattic
       Amazon Polly (v1.0.2) by AWS Labs, WP Engine
       Amazon Web Services (v1.0.5) by Delicious Brains
       Autoptimize (v2.3.2) by Frank Goossens (futtta)
       Better Related Content (v0.4.3.4) by Nicolas Kuttler
       Debug This (v0.5.2) by Brian Fegter, Chris Dillon
       Disqus for WordPress (v3.0.12) by Disqus
       Easy Google Analytics for WordPress (v1.6.0) by Shaon
       Easy rel=author Plugin (v0.71b) by Kevin Meyer
       FeedBurner FeedSmith Extend (v1.0.0) by Jiayu (James) Ji
       Gmail SMTP (v1.1.7) by naa986
       Italy Cookie Choices (for EU Cookie Law) (v2.5.1) by Enea Overclokk, Andrea Pernici, Andrea Cardinale
       Jetpack by WordPress.com (v5.8) by Automattic
       Nginx Helper (v1.9.10) by rtCamp
       P3 (Plugin Performance Profiler) (v1.5.3.9) by GoDaddy.com
       PHP Compatibility Checker (v1.4.5) by WP Engine
       Page Speed Optimization (v2.9.10) by o10n-x
       Redirection (v3.2.1) by John Godley
       SSL Insecure Content Fixer (v2.5.0) by WebAware
       Security Headers (v0.9) by Simon Waters (Surevine Ltd)
       Simple Open Graph (v2.4) by Kevin Bowers
       Simple Sitemap (v2.4) by David Gwyer
       UpdraftPlus - Backup/Restore (v1.14.4) by UpdraftPlus.Com, DavidAnderson
       WP Offload S3 Lite (v1.3.1) by Delicious Brains
       WP to Twitter (v3.3.2) by Joseph Dolson
       WP-PageNavi (v2.92) by Lester «GaMerZ» Chan
       WP-Piwik (v1.0.19) by André Bräkling
       Yoast SEO (v6.3.1) by Team Yoast
       iThemes Security (v6.9.0) by iThemes
       miniOrange 2 Factor Authentication (v4.5.7) by miniOrange
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning in error log’ is closed to new replies.

 * ![](https://ps.w.org/amazon-s3-and-cloudfront/assets/icon-256x256.jpg?rev=1809890)
 * [WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage](https://wordpress.org/plugins/amazon-s3-and-cloudfront/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/amazon-s3-and-cloudfront/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/)
 * [Active Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/amazon-s3-and-cloudfront/reviews/)

## Tags

 * [php-error](https://wordpress.org/support/topic-tag/php-error/)

 * 2 replies
 * 2 participants
 * Last reply from: [Davide Radice](https://wordpress.org/support/users/davide-radice/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/php-warning-in-error-log-3/#post-9997369)
 * Status: not resolved