Hello @znikap,
It will be great if you could share your System Status Report. You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button.
Please provide those log entries on our PrivateBin. After uploading, send us the link, so we can review them in detail.
Once we have a clearer picture of your system’s state and the specific circumstances, we can guide you better on how to resolve the issue.
Kind regards,
Krystian
Thread Starter
znikap
(@znikap)
Thanks for the quick reply,
Here’s the log.
Hello @znikap,
According to your system report, currently you are using:
PHP Version: 8.2.5
The PayPal Payments plugin is fully supported and tested with PHP versions ranging from 7.2 to 8.1. PHP 8.2 is not yet officially supported.
The fatal error is triggered because our plugin uses a previous version of psr/log , as defined in woocommerce-paypal-payments/blob/trunk/composer.json with "psr/log": "^1.1" . The more recent version that would be compatible with PHP 8.2 is this one: https://packagist.org/packages/psr/log#3.0.0. However, an update to this version might result in breaking compatibility with very old versions of PHP.
We have created a Jira request for our development team to take a look at this. At the moment, I do not have a definitive answer, but I assure you that we are looking into this. I will keep you updated on any progress or workaround that might arise after consulting with our team. For now, this remains an open issue.
Please feel free to reach out if you have any further questions.
Kind Regards,
Krystian
Hello,
I did a compatibility check on both PHP 8.1 and 8.2 it got errors, I assumed it should be supported up to 8.1?
Error Samples on PHP 8.1:
Found 1 error and 0 warnings affecting 1 line on file /wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/human-readable-interface/src/CaptionAwareInterface.php.
Found 1 error and 0 warnings affecting 1 line on file /wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/human-readable-interface/tests/functional/MessageAwareInterfaceTest.php.
Any workaround this? Thanks!
Hello @znikap,
Since we haven’t heard back from you, we’ll assume everything is working as needed.
If you have any more questions, feel free to start a new thread or directly reach out for help. You can get support by opening a ticket with our service desk here: Request Support. Please include this thread’s URL in your ticket for reference.
Hello @ctagupa, please create your own thread. We’ll try to analyze this there.
Regards,
Krystian