• Resolved paulinab

    (@paulinab)


    Uploaded plugin, activated, wordpress blew up πŸ™ Does this plugin not work when amazon-s3-and-cloudfront is active?

    Errors logs:

    
    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 /.../plugins/amazon-s3-and-cloudfront/classes/as3cf-stream-wrapper.php on line 3
    

    and

    
    PHP Fatal error:  Uncaught Error: Access to undeclared static property: AS3CF_Stream_Wrapper::$client in .../plugins/amazon-s3-and-cloudfront/classes/as3cf-stream-wrapper.php:17"
    Stack trace:
    #0 .../plugins/amazon-s3-and-cloudfront/classes/as3cf-plugin-compatibility.php(554): AS3CF_Stream_Wrapper::register(Object(Aws\S3\S3Client), 's3euwest1')
    #1 /.../plugins/amazon-s3-and-cloudfront/classes/as3cf-plugin-compatibility.php(606): AS3CF_Plugin_Compatibility->register_stream_wrapper('eu-west-1')
    #2 /.../wp-includes/class-wp-hook.php(286): AS3CF_Plugin_Compatibility->get_stream_wrapper_file('https://url_here...', '/path_here/w...', 154, Array)"
    #3 /.../wp-includes/plugin.php(203): WP_Hook->apply_filters('https://url_here...', Array)
    #4 /.../plugins/amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php(2217): apply_filters('as3cf_get_attac...', 'https://url_here...', '/path_here...
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor tstachlewski

    (@tstachlewski)

    Hi @paulinab,
    Sorry for not responding sooner. Could you try it again, with the latest plugin version?

    Cheers,
    Tomasz

    Thread Starter paulinab

    (@paulinab)

    Seems to be resolved with the latest version of the plugin, thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘(another) fatal error when activating (amazon-s3-and-cloudfront)’ is closed to new replies.