• 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 15 replies - 1 through 15 (of 19 total)
  • Hello @doly77,

    I’m sorry to hear that you’re experiencing issues after updating WooCommerce to version 8.6.0 and 8.6.1.

    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.

    It looks like you also tried the basic conflict test. Just so I can understand the issue better, were you able to even test using a default theme like Storefront?

    Just curious, is there any chance that you are using any custom snippets in your theme?

    Looking forward to your reply.

    Thread Starter doly77

    (@doly77)

    Hello @ckadenge,

    Thanks for your reply. Yes I’ve tested with Storefront theme and I get the same problem.
    I do use snippets using the Code Snippets plugin. Even if I turn off all snippets or even delete the Code Snippets plugin, I still get the same problem.

    Regards

    Hello,

    I got the same problem with woocommerce-gateway-stripe after updating WooCommerce to version 8.6.0 and 8.6.1.
    I checked with my custom theme, also Storefront.
    I also tried the basic conflict test, deactivate all plugins, except Woocommerce and the woocommerce-gateway-stripe.

    [error] 1317328#1317328: *1 FastCGI sent in stderr: "; PHP message: PHP Fatal error: Uncaught TypeError: ftp_nlist(): Argument #1 ($ftp) must be of type FTP\Connection, null given in /home/kusanagi/shop.xxx.net/DocumentRoot/wp-admin/includes/class-wp-filesystem-ftpext.php:438

    Stack trace:
    #0 /home/kusanagi/shop.xxx.net/DocumentRoot/wp-admin/includes/class-wp-filesystem-ftpext.php(438): ftp_nlist()
    #1 /home/kusanagi/shop.xxx.net/DocumentRoot/wp-admin/includes/class-wp-filesystem-ftpext.php(456): WP_Filesystem_FTPext->exists()
    #2 /home/kusanagi/shop.xxx.net/DocumentRoot/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/File.php(247): WP_Filesystem_FTPext->is_file()
    #3 /home/kusanagi/shop.xxx.net/DocumentRoot/wp-content/plugins/woocommerce/src/Internal/Admin/Logging/FileV2/FileController.php(451): Automattic\WooCommerce\Internal\Admin\Logging\FileV2\File->is_readable()
    #4 [internal function]: Automattic\WooCommerce\Internal\Admin\Logging\FileV2\FileController->Automattic\WooCommerce\Internal\Admin\Logging\FileV2\{closure}()
    #5 /home/kusanagi/shop.xxx.net/D" while reading upstream, client: 000.000.00.000, server: shop.xxx.net, request: "GET /wp-admin/index.php HTTP/2.0", upstream: "fastcgi://127.0.0.1:9000", host: "shop.xxx.net", referrer: "https://shop.xxx.net/wp-admin/admin.php?page=wc-admin"

    If I deactivate Woocommerce-gateway-stripe, I can access dashboard.
    I downgrade Woocommerce to 8.5.2 with woocommerce-gateway-stripe, it works fine.

    I checked with the other shop site with my custom theme (with the same VPS server).
    It works but got error below.

    [error] 215702#215702: *3247 FastCGI sent in stderr: "PHP message: The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.; PHP message: The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3" while reading response header from upstream, client: 000.000.00.000, server: shop.xxx.net, request: "GET /wp-json/wc-admin/options?options=woocommerce_admin_transient_notices_queue%2Cwoocommerce_admin_install_timestamp%2Cwc_show_upe_customization_options_notice&_locale=user HTTP/3.0", upstream: "fastcgi://127.0.0.1:9000", referrer: "https://shop.xxx.net/wp-admin/admin.php?page=wc-settings&tab=checkout&section=stripe&panel=methods"
    
    [error] 215705#215705: *6812 FastCGI sent in stderr: "PHP message: The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3.; PHP message: The Automattic\WooCommerce\Admin\API\Options::get_options function is deprecated since version 6.3" while reading response header from upstream, client: 000.000.00.000, server: shop.xxx.net, request: "GET /wp-json/wc-admin/options?options=wc_show_upe_customization_options_notice&_locale=user HTTP/3.0", upstream: "fastcgi://127.0.0.1:9000", referrer: "https://shop.xxx.net/wp-admin/admin.php?page=wc-settings&tab=checkout&section=stripe&panel=methods"


    Regards,

    Hello @doly77,

    Yes I’ve tested with Storefront theme and I get the same problem.

    If I understand you correctly, you went ahead performing a conflict test and removing all custom code snippets, leaving only WooCommerce and the default Storefront theme, but the same issue persists. Is that correct?

    As a next step, could you please share with us your system status report so that we can understand your site setup. You can find the system status report under WooCommerce > Status > Get system status report > Copy for support.

    Please copy the report and paste it via https://gist.github.com/?and send the link here.

    Hi @nicowpdevuse,

    As per forum rules, I suggest that you start a new thread, so that we don’t mix several troubleshooting sessions in one thread.

    Even if the symptoms are the same, perhaps the underlying problem is different in your case.

    Cheers!

    hello @ckadenge

    thank you for you reply and sorry for that…
    OK, I will.
    regrads,

    Thread Starter doly77

    (@doly77)

    Hello @ckadenge

    Thanks for your answer.
    Yes I did the conflict test and removing all custom code snippets, leaving only WooCommerce, WooCommerce PayPal Payments plugin and the default Storefront theme, but the same issue persists.

    Also I see that WooCommerce Stripe Gateway plugin doesn’t work as well after upgrading Woocommerce to 8.6.0, then 8.6.1.

    Here is the system status report link : https://gist.github.com/doly7778/6abb987fce64059c64ee6d6d6758d23d

    Regards

    • This reply was modified 1 year, 1 month ago by doly77.
    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @doly77,

    Since you’ve already tried deactivating all plugins except WooCommerce and the PayPal plugin and the issue persists, it seems like the issue is not caused by a plugin conflict.

    You also mentioned that you get a fatal error when deactivating WooCommerce. This is unusual and suggests that there might be a deeper issue with your WordPress installation or server configuration.

    How about downgrading your PHP from 8.3 to 8.1.27? If the issue still persists after downgrading PHP, I recommend contacting your hosting provider to check if there are any issues with your server’s FTP configuration. In particular, they should check if the FTP functions in PHP are working correctly.

    In the meantime, you could also try reinstalling WooCommerce and the PayPal plugin to see if that resolves the issue. Please make sure to backup your site before doing this to avoid data loss.

    Let us know how that goes. Looking forward to resolving this issue for you.

    Thread Starter doly77

    (@doly77)

    Hello @shameemreza

    Thanks for your help. I reproduced the problem on another site. I’ve found that when I install the angelleye’s paypal plugin, it interferes with woocommerce 8.6.0 and 8.6.1.
    The problem is that even when I uninstall the angelleye’s paypal plugin, the problem persists.
    On my live site, this Paypal plugin has been installed for years. I guess the only solution to get Woocommerce working correctly now is to restore an old backup from before the angelleye’s Paypal plugin installation, but I must find a way to restore important data such as orders, customers account…

    Regards

    • This reply was modified 1 year, 1 month ago by doly77.

    Hi again @dolly77,

    We appreciate your efforts in trying to troubleshoot this issue.

    It is possible that there might be some residual data from the Angelleye’s PayPal plugin that’s causing the issue even after uninstallation.

    Before you go ahead with restoring an old backup, let’s try a couple of things:

    1. Go to WooCommerce > Status > Tools and click on ‘Clear transients’. This will clear any cached data in WooCommerce.
    2. If the above steps don’t work, try reinstalling WooCommerce. Don’t worry, your data won’t be lost.

    Let us know if this helps.

    Thread Starter doly77

    (@doly77)

    Hello @ckadenge

    Thanks for your help but clear transients and reinstalling Woocommerce 8.6.1 didn’t work. Except if I install Woocommerce 8.5.2

    Regards

    Hello @doly77,

    Just to confirm, were you able to downgrading your PHP version from 8.3 to 8.1.27 and check if the issue persisted?

    Thread Starter doly77

    (@doly77)

    Hello @ckadenge

    I wasn’t able to downgrading PHP. Since Woocommerce 8.5.2 works well with PHP 8.3, I don’t understand why should I downgrade PHP for Woocommerce 8.6.1 ?

    Also, on another site with PHP 8.3 as well everything is fine, the problem occurs only when I install angelleye’s paypal plugin. So, it looks like that PHP8.3 is not the problem.

    • This reply was modified 1 year, 1 month ago by doly77.
    • This reply was modified 1 year, 1 month ago by doly77.

    Hello @doly77,

    why should I downgrade PHP for Woocommerce 8.6.1 ?

    In some setups, downgrading the PHP versions proved to have solved some errors.

    on another site with PHP 8.3 as well everything is fine, the problem occurs only when I install angelleye’s paypal plugin

    Thank you for confirming. In that case, as angelleye’s paypal plugin is a third-party plugin, I recommend reaching out to them directly here as they stand a better chance at helping understand why the activation of their plugin causes errors.

    I hope this helps.

    Thread Starter doly77

    (@doly77)

    Hello @ckadenge,

    Thanks for your help. I go to email them.

    Regards

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