Title: Doesn&#8217;t work with PHP 8
Last modified: June 17, 2021

---

# Doesn’t work with PHP 8

 *  [elcharlie](https://wordpress.org/support/users/elcharlie/)
 * (@elcharlie)
 * [4 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-php-8/)
 * The Affinipay module doesn’t work if the site is running on PHP 8.0.
 * The shortcode doesn’t change (it’s displayed as typed) and the resources doesn’t
   load at all.
 * Switching to PHP 7.4 solves it but eventually most hosting providers will switch
   to PHP 8.0.
 * Just a heads up.

The topic ‘Doesn’t work with PHP 8’ is closed to new replies.

 * ![](https://ps.w.org/affinipay-payment-gateway/assets/icon.svg?rev=1906616)
 * [AffiniPay WordPress](https://wordpress.org/plugins/affinipay-payment-gateway/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/affinipay-payment-gateway/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/affinipay-payment-gateway/)
 * [Active Topics](https://wordpress.org/support/plugin/affinipay-payment-gateway/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/affinipay-payment-gateway/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/affinipay-payment-gateway/reviews/)

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [version](https://wordpress.org/support/topic-tag/version/)

 * 0 replies
 * 1 participant
 * Last reply from: [elcharlie](https://wordpress.org/support/users/elcharlie/)
 * Last activity: [4 years, 11 months ago](https://wordpress.org/support/topic/doesnt-work-with-php-8/)
 * Status: not resolved