Title: php error composer
Last modified: July 20, 2023

---

# php error composer

 *  Resolved [risbo95](https://wordpress.org/support/users/risbo95/)
 * (@risbo95)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/)
 * Issue with min.php version.
 * Composer detected issues in your platform: Your Composer dependencies require
   a PHP version “>= 8.1.0”.

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [BitPay](https://wordpress.org/support/users/bitpay/)
 * (@bitpay)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/#post-16909655)
 * Hello! We’ll take a look at this today. Please note that you do not need to use
   composer to install the plugin because we pre-package the vendor directory.
 *  Thread Starter [risbo95](https://wordpress.org/support/users/risbo95/)
 * (@risbo95)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/#post-16909661)
 * Hi, thanks. Its pre-packaged I known but plugin should support also 8.0 php version
   because many plugins and themes don’t support 8.1…
 *  Plugin Author [BitPay](https://wordpress.org/support/users/bitpay/)
 * (@bitpay)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/#post-16909786)
 * Hello,
 * PHP 8.0 is already only under security support, with 8.1 and 8.2 being actively
   supported. Being that our SDK and plugins deal with handling cryptocurrency, 
   our new SDKs and plugins are going to follow officially supported language versions.
 * We are using PHPUnit 10 in our SDK, but we’ve confirmed that our tests will pass
   in PHPUnit 9. We’re updating our tests to run in both 9 and 10 in our workflow,
   and will rebuild our composer.lock file for PHP 8.0.
 * That said, if you just install the plugin, you should be OK on PHP 8.0 since 
   there’s no need to run Composer unless you’re developing for the plugin.
 * We are working on making a few updates today in an effort to address the PHP 
   8.0 issue with Composer.
 * That said, please bear in mind that we will stop supporting PHP 8.0 on Nov 26,
   2023 following its official EOL per [https://www.php.net/supported-versions.php](https://www.php.net/supported-versions.php).
 * Thanks!
 *  Plugin Author [BitPay](https://wordpress.org/support/users/bitpay/)
 * (@bitpay)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/#post-16911047)
 * Hello again [@risbo95](https://wordpress.org/support/users/risbo95/) we just 
   wanted to give you another quick update. We’ve updated the SDK and plugin repositories
   to address this specific issue and plan on releasing both either tomorrow or 
   Monday.
 *  Plugin Author [BitPay](https://wordpress.org/support/users/bitpay/)
 * (@bitpay)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/#post-16919610)
 * [@risbo95](https://wordpress.org/support/users/risbo95/) this is deploying to
   the marketplace now. We’ve tested Composer with PHP 8.0, and tested the plugin.
   We have not run into any issues but definitely let us know if you come across
   anything. I’ll keep this open for a day or two.
 *  Thread Starter [risbo95](https://wordpress.org/support/users/risbo95/)
 * (@risbo95)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/#post-16919687)
 * Thanks, it seems that issue is fixed. I appreciate
 *  Plugin Author [BitPay](https://wordpress.org/support/users/bitpay/)
 * (@bitpay)
 * [2 years, 10 months ago](https://wordpress.org/support/topic/php-error-composer/#post-16919690)
 * Awesome! Thanks for spotting it – it was a huge help. We didn’t catch it because
   our GitHub Actions runners were using `ubuntu-latest`, which very recently switched
   to 22.04. The image for this version does not include PHP 8.0, and does not fail
   when it’s passed into a version matrix. This resulted in 8.1 being used to run`
   composer install` as well as tests on 8.0 and 8.2 in the SDK.
 * We were able to stick with `ubuntu-20.04` and run 8.0, 8.1, and 8.2, and have
   since split our tests between PHPUnit 9 and 10.
 * This was immensely helpful, and we really appreciate you reporting it. It’s a
   case that shows how the WP community really does help.
 *  [ellisrl](https://wordpress.org/support/users/ellisrl/)
 * (@ellisrl)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-error-composer/#post-17051102)
 * Hello [@bitpay](https://wordpress.org/support/users/bitpay/), it seems this issue
   is once again present as of 9/14/2023. I’m setting up a fresh WooCommerce store
   and I’m met with `Composer detected issues in your platform: Your Composer dependencies
   require a PHP version ">= 8.1.0".` same as the OP when I attempt to activate 
   the plugin. Any ideas?
    -  This reply was modified 2 years, 8 months ago by [ellisrl](https://wordpress.org/support/users/ellisrl/).
 *  Plugin Author [BitPay](https://wordpress.org/support/users/bitpay/)
 * (@bitpay)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/php-error-composer/#post-17051617)
 * Hi [@ellisrl](https://wordpress.org/support/users/ellisrl/) we’re looking into
   this, as it’s a result of a sub-dependency update. There was an issue with another
   plugin using a very outdated version of Guzzle, which caused issues. The solution
   to that was to introduce php-scoper (similar to Yoast) to prefix all vendor packages
   with a custom namespace.
 * We’ll check this out on our end. In the mean time, you should be OK to use the
   previous version prior to the introduction of php-scoper.
 * Please note that we are only supporting PHP 8.0 until November 26th, 2023 when
   it will reach the end of its security updates.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘php error composer’ is closed to new replies.

 * ![](https://ps.w.org/bitpay-checkout-for-woocommerce/assets/icon-256x256.png?
   rev=2071618)
 * [BitPay Checkout for WooCommerce](https://wordpress.org/plugins/bitpay-checkout-for-woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bitpay-checkout-for-woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bitpay-checkout-for-woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/bitpay-checkout-for-woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bitpay-checkout-for-woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bitpay-checkout-for-woocommerce/reviews/)

 * 9 replies
 * 3 participants
 * Last reply from: [BitPay](https://wordpress.org/support/users/bitpay/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/php-error-composer/#post-17051617)
 * Status: resolved