• I am having issues with several sites and backups to Amazon S3. Below is an example of the error

    WordPress version 5.8.1
    Current plugin: BackWPup (version 3.10.0)
    PHP version 7.4.24

    `Error Details
    =============
    An error of type E_ERROR was caused in line 35 of the file /wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Api/Serializer/RestSerializer.php. Error message: Uncaught Error: Call to undefined function GuzzleHttp\Psr7\uri_for() in /wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Api/Serializer/RestSerializer.php:35
    Stack trace:
    #0 /wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Api/Serializer/RestXmlSerializer.php(25): Aws\Api\Serializer\RestSerializer->__construct()
    #1 /wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Api/Service.php(90): Aws\Api\Serializer\RestXmlSerializer->__construct()
    #2 /wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/ClientResolver.php(662): Aws\Api\Service::createSerializer()
    #3 /wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/ClientResolver.php(276): Aws\ClientResolver::_default_serializer()
    #4 /wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/AwsClient.php(174): Aws\ClientResolver->resolve()

Viewing 6 replies - 1 through 6 (of 6 total)
  • @7thcircle
    please enable only BackWPUp then try again, I think maybe there is a plugin conflict.
    Thanks!

    • This reply was modified 4 years, 7 months ago by happyAnt.
    Thread Starter 7thcircle

    (@7thcircle)

    It is a conflict with WooCommerce Bookings, but also a know issue with your plugin as there are numerous reports but no fix as of yet.

    Fatal error: Uncaught Error: Call to undefined function GuzzleHttp\Psr7\uri_for()
    in /var/www/example.com/htdocs/wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Api/Serializer/RestSerializer.php on line 35
    
    Call stack:
    
        Aws\A\S\RestSerializer::__construct()
        wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Api/Serializer/RestXmlSerializer.php:25
        Aws\A\S\RestXmlSerializer::__construct()
        wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/Api/Service.php:90
        Aws\Api\Service::createSerializer()
        wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/ClientResolver.php:662
        Aws\ClientResolver::_default_serializer()
        wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/ClientResolver.php:276
        Aws\ClientResolver::resolve()
        wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/AwsClient.php:174
        Aws\AwsClient::__construct()
        wp-content/plugins/backwpup/vendor/aws/aws-sdk-php/src/S3/S3Client.php:283
        Aws\S3\S3Client::__construct()
        wp-content/plugins/backwpup/inc/class-s3-destination.php:251
        BackWPup_S3_Destination::client()
        wp-content/plugins/backwpup/inc/class-destination-s3.php:491
        BackWPup_Destination_S3::edit_ajax()
        wp-content/plugins/backwpup/inc/class-destination-s3.php:302
        BackWPup_Destination_S3::edit_tab()
        wp-content/plugins/backwpup/inc/class-page-editjob.php:830
        BackWPup_Page_Editjob::page()
        wp-includes/class-wp-hook.php:303
        WP_Hook::apply_filters()
        wp-includes/class-wp-hook.php:327
        WP_Hook::do_action()
        wp-includes/plugin.php:470
        do_action()
        wp-admin/admin.php:259

    @7thcircle
    Yes and I already tell people that this library conflict will be fixed.
    The case is closed here since it’s a known issue.

    Thread Starter 7thcircle

    (@7thcircle)

    Is there an eta on a resolution? Are we talking days, weeks, months, or years since this has been a “known issue” for more than a year?

    Thread Starter 7thcircle

    (@7thcircle)

    FYI, marking it as resolved because you know about the issue does not mean it is resolved, it means you are whitewashing the issue and providing false support numbers.

    Thread Starter 7thcircle

    (@7thcircle)

    You continue to mark this as resolved. What is the resolution or are you just trying to pad your numbers?

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

The topic ‘S3 RestSerializer.php fatal error’ is closed to new replies.