• Resolved codeid

    (@codeid)


    Hi,

    Wanting to let you guys know, I’ve been getting fatal errors in checkout after updating to 7.3.1. Only a downgrade to 7.3.0 seemed to fix the issue.

    Backend fatal error: PHP Fatal error: Uncaught TypeError: Return value of Mollie\\WooCommerce\\Gateway\\Surcharge::addMaxLimit() must be of the type float, string returned in [removed]/public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/Gateway/Surcharge.php:237

    Hope you can fix the issue soon.

    Kind regards, Peter

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @codeid,

    This behavior is most likely the result of a conflict with a different plugin that doesn’t return a value in the expected format.
    If you encounter any problems with the latest update, I suggest sticking with version 7.3.0 until the issue has been addressed.

    To learn more about the cause of this error, we are interested in a copy of your WooCommerce system report and your latest plugin log files.
    You can share these either here in the forums or privately with us from here:
    https://mollie.inpsyde.com/docs/request-support/
    If you send a private message, please include a link to this thread.

    Thanks!

    Kind regards,
    Niklas`

    Thread Starter codeid

    (@codeid)

    Hi Niklas,

    Thanks for your reply.
    I’m not in the clear yet. Still getting errors on the Mollie plugin during chechout.

      
    Error Level: E_ERROR
        Message: Uncaught Error: Wrong parameters for Mollie\Api\Exceptions\ApiException([string $message [, long $code [, Throwable $previous = NULL]]]) in /public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php:88
    
        Stack trace:
    
        #0 /public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php(88): Exception->__construct('[2022-09-17T15:...', 'http_request_fa...', NULL)
    
        #1 /public_html/wp-content/plugins/mollie-payments-for-woocommerce/src/SDK/WordPressHttpAdapter.php(45): Mollie\Api\Exceptions\ApiException->__construct('[2022-09-17T15:...', 'http_request_fa...')
    
        #2 /public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/MollieApiClient.php(538): Mollie\WooCommerce\SDK\WordPressHttpAdapter->send('GET', '
        File: /public_html/wp-content/plugins/mollie-payments-for-woocommerce/vendor/mollie/mollie-api-php/src/Exceptions/ApiException.php
        Line: 88
        Request: /cart/?removed_item=1&swcfpc=1
        Referrer: https%3A%2F%2Fwww.[domain].com%2Fcart%2F
    

    Going to try and downgrade to v 7.2.x

    Kind regards,
    Peter

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    Hi @codeid,

    Apologies for getting back just now.
    This API error may appear sporadically but should not occur on 7.2.0. In any case, the team working on a new version that should entirely resolve this error.

    Regarding the addMaxLimit error, this could be fixed with a minor change in the plugin files: https://github.com/mollie/WooCommerce/pull/722/files
    A fix for this will also be included in a new version, which should be tested in the coming days.

    Kind regards,
    Niklas

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    We haven’t heard back in a while, so I’m marking this as resolved.
    For any questions, let us know anytime. Thanks!

    Kind regards,
    Niklas

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Backend fatal error: PHP Fatal error: Uncaught TypeError’ is closed to new replies.