• Resolved nominell

    (@nominell)


    Our WooCommerce store is preventing access to our website and WordPress login after updating the PayPal Payments plugin to version 3.0.
    All plugins are up to date, and WordPress version 6.5.5 is installed.
    The error message is:

    Warning: Class ‘WooCommerce\PayPalCommerce\Vendor\Stringable’ not found in /var/www/web878/html/hotelfritz/wp-content/plugins/woocommerce-paypal-payments/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php on line 20

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/web878/html/hotelfritz/wp-content/plugins/woocommerce-paypal-payments/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php:20) in /var/www/web878/html/hotelfritz/wp-includes/pluggable.php on line 1435

    Warning: Cannot modify header information – headers already sent by (output started at /var/www/web878/html/hotelfritz/wp-content/plugins/woocommerce-paypal-payments/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php:20) in?/var/www/web878/html/hotelfritz/wp-includes/pluggable.php?on line?1438

    I cannot re-activate the plugin because it causes my site to crash. Any assistance would be appreciated.

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

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Krystian

    (@inpsydekrystian)

    Hello,

    Thanks for reaching out to us, we’re here to help.

    The error you’re seeing is a warning and not critical, but it’s disrupting your dashboard because WP_DEBUG_DISPLAY is enabled in your site’s wp-config.php file. The warning points to the vendor directory, likely related to a PHP scoping issue with the PayPal Payments plugin.

    To stop the warning from disrupting your dashboard, you can disable it by following these steps:

    1. Open your?wp-config.php?file.
    2. Find this line:
    define('WP_DEBUG_DISPLAY', true);

    Change it to:

    define('WP_DEBUG_DISPLAY', false);

    If WP_DEBUG is enabled, you can also stop logging errors by setting it to false:

    define('WP_DEBUG', false);

    Regarding the error pointing to the vendor directory, it seems related to a PHP scoping issue. To help resolve the issue, I am sharing this package with you, which you can use on your site: unscoped-woocommerce-paypal-payments

    This should assist in resolving the problem on your end. Let me know if this helps.

    Looking forward to your feedback.

    Regards,

    Krystian

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @nominell

    A quick update from our end — we’ve prepared a package that should resolve the issue you’re encountering. You can download it here: https://drive.google.com/open?id=1BlQruxuH5bS1b_YF3iZb57oWMG7jhBow&usp=drive_fs

    Could you please give it a try and let us know if this resolves the warning on your site?

    Thank you!

    Kind Regards,
    Krystian

    Hi, we have the same issue, and it’s not only affecting our dashboard. It can be seen by visitors as well. The folder you have linked to. Where do we upload it? Just as another plugin?

    Hallo,

    Ich habe das gleiche Problem! Den Ordner habe ich heruntergeladen. Aber wo lade ich ihn hoch, wenn ich mich nicht in WordPress einloggen kann?

    Hi @inpsydekrystian,

    Github sent me this plugin version and it fixed the error message. They said that your version would also work, but they recommended this one because it includes the proposed fix that will be included in the next update in the coming week. @melanieep, yes it is just a revised plugin that will overwrite the original one.

    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @dave8441

    This is the same link I already shared in the message here.

    Hello @melanieep & @tibidog

    Download the package and install it manually just like any other plugin via WordPress. Go to Plugins > Add New > Upload Plugin, then upload the zipped plugin package and install it from there.

    Let me know if you need help during the installation process.

    Kind Regards,
    Krystian

    Hi?@inpsydekrystian,

    You are correct, I just checked and both links point to the same URL. However, I did end up with two versions:

    unscoped-woocommerce-paypal-payments.zip
    woocommerce-paypal-payments-3.0.0-polyfill.zip

    No worries though… obviously the file was replaced at some point with the latter one.

    storm640

    (@storm640)

    Hello, I’m having the same issue. I tried following the second link provide in the above message and it said it expired, so then I choice the other link and I get another error message about exceeds upload max. Can you assist on what this means. Thanks

    Warning: Class ‘WooCommerce\PayPalCommerce\Vendor\Stringable’ not found in?wp-content/plugins/woocommerce-paypal-payments/vendor/symfony/polyfill-php80/Resources/stubs/Stringable.php?on line?20

    The uploaded file exceeds the upload_max_filesize directive in php.ini.

    • This reply was modified 3 days ago by storm640.
    Plugin Support Krystian

    (@inpsydekrystian)

    Hello @storm640

    To solve this, there are a few options:

    1. Change the PHP limit (if you have access):
      You can increase the upload_max_filesize and post_max_size values in your php.ini file. For example:

    upload_max_filesize = 64M post_max_size = 64M

    Then restart your web server.

    1. If you’re using cPanel or a hosting panel:
      Go to Select PHP Version > Options or MultiPHP INI Editor, and increase upload_max_filesize and post_max_size there.
    2. Alternative option – manual upload via FTP:
      If you cannot change the PHP settings, you can upload the plugin manually:
    • Extract the ZIP file on your computer
    • Upload the entire extracted folder via FTP to /wp-content/plugins/
    • Once uploaded, go to WordPress > Plugins and activate the plugin from there

    Let me know if you need help with any of the steps above.

    Kind Regards,
    Krystian

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.