• Resolved doly77

    (@doly77)


    Hello,

    After updating Woocommerce to 8.6.0, then 8.6.1, WooCommerce PayPal Payments on the checkout page doesn’t work anymore. Also, in my dashboard if I go to the WooCommerce PayPal Payments plugin settings page I get this fatal error :

    Fatal error: Uncaught Error: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given
    in /home/0/d/autre.dietetiquetuina.fr/www/wp-admin/includes/class-wp-filesystem-ftpext.php on line 438
    
    Call stack:
    
        ftp_nlist()
        wp-admin/includes/class-wp-filesystem-ftpext.php:438
        WP_Filesystem_FTPext::exists()
        wp-admin/includes/class-wp-filesystem-ftpext.php:456
        WP_Filesystem_FTPext::is_file()
        wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php:247
        Automattic\W\I\A\L\F\File::is_readable()
        wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php:451
        Automattic\W\I\A\L\F\FileController::Automattic\W\I\A\L\F\{closure}()
        array_map()
        wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php:448
        Automattic\W\I\A\L\F\FileController::convert_paths_to_objects()
        wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php:350
        Automattic\W\I\A\L\F\FileController::get_files_by_id()
        wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php:363
        Automattic\W\I\A\L\F\FileController::get_file_by_id()
        wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php:131
        Automattic\W\I\A\L\F\FileController::write_to_file()
        wp-content/plugins/woocommerce/src/Internal/Admin/Logging/LogHandlerFileV2.php:60
        Automattic\W\I\A\L\LogHandlerFileV2::handle()
        wp-content/plugins/woocommerce/includes/class-wc-logger.php:164
        WC_Logger::log()
        wp-content/plugins/woocommerce-paypal-payments/modules/woocommerce-logging/src/Logger/WooCommerceLogger.php:62
        WooCommerce\W\L\L\WooCommerceLogger::log()
        wp-content/plugins/woocommerce-paypal-payments/vendor/psr/log/Psr/Log/LoggerTrait.php:127
        WooCommerce\W\L\L\WooCommerceLogger::debug()
        wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/RequestTrait.php:50
        WooCommerce\P\A\E\WebhookEndpoint::request()
        wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-api-client/src/Endpoint/WebhookEndpoint.php:151
        WooCommerce\P\A\E\WebhookEndpoint::list()
        wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/services.php:140
        WooCommerce\P\W\WebhookModule::WooCommerce\P\W\{closure}()
        wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php:117
        WooCommerce\P\V\D\C\DelegatingContainer::invokeFactory()
        wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/DelegatingContainer.php:56
        WooCommerce\P\V\D\C\DelegatingContainer::get()
        wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CompositeContainer.php:53
        WooCommerce\P\V\D\C\CompositeContainer::get()
        wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php:61
        WooCommerce\P\V\D\C\CachingContainer::WooCommerce\P\V\D\C\{closure}()
        wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php:161
        WooCommerce\P\V\D\C\CachingContainer::invokeGenerator()
        wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php:128
        WooCommerce\P\V\D\C\CachingContainer::getCached()
        wp-content/plugins/woocommerce-paypal-payments/lib/packages/Dhii/Container/CachingContainer.php:60
        WooCommerce\P\V\D\C\CachingContainer::get()
        wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-webhooks/src/WebhookModule.php:129
        WooCommerce\P\W\WebhookModule::run()
        wp-content/plugins/woocommerce-paypal-payments/bootstrap.php:67
        {closure}()
        wp-content/plugins/woocommerce-paypal-payments/woocommerce-paypal-payments.php:75
        WooCommerce\PayPalCommerce\init()
        wp-content/plugins/woocommerce-paypal-payments/woocommerce-paypal-payments.php:90
        WooCommerce\PayPalCommerce\{closure}()
        wp-includes/class-wp-hook.php:324
        WP_Hook::apply_filters()
        wp-includes/class-wp-hook.php:348
        WP_Hook::do_action()
        wp-includes/plugin.php:517
        do_action()
        wp-settings.php:506
        require_once()
        wp-config.php:101
        require_once()
        wp-load.php:50
        require_once()
        wp-admin/admin.php:34


    I installed another Paypal plugin and I get a critical error if I try to pay an order on the checkout page with Paypal.

    Even if I deactivate all plugins, except Woocommerce and the Paypal plugin, I still get the same problem.
    Also, if I try to deactivate Woocommerce I get a fatal error.

    When I roll back to Woocommerce 8.5.2, these 2 Paypal plugins are working fine again, both in the dashboard and on the checkout page, and I can deactivate Woocommerce without any problem.

    Best regards

    The page I need help with: [log in to see the link]

Viewing 4 replies - 16 through 19 (of 19 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi again @doly77,

    Thanks for your help. I got to email them.

    Please let us know what they’ve got to say about the issue. This will not only be beneficial to us, but to the community at large.

    Have a wonderful weekend.

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @doly77,

    We haven’t heard back from you in a while, so I’m going to mark this as resolved – we’ll be here if and/or when you are ready to continue.

    Thanks!

    Thread Starter doly77

    (@doly77)

    Hello @ckadenge,

    Just finished to discuss with them. I need to add define ( ‘FS_METHOD’, ‘direct’); in my wp-config in order for payment modules to work.
    They said that it happens when the PHP config on the server is set a specific way for security purposes.
    So i’m going to contact my web hosting provider.

    Regards

    Hey, @doly77!

    Thank you for sharing the solution here and contributing to the WooCommerce community. This might help other users in the future.

    I hope your host is able to solve this issue soon.

    Please let us know if there’s anything else we can do to help or if you have any questions.

    Have a wonderful day!

Viewing 4 replies - 16 through 19 (of 19 total)
  • The topic ‘Woocommerce 8.6.0 and 8.6.1 break Paypal plugins’ is closed to new replies.