Title: Error with PHP 8.3.2
Last modified: February 12, 2024

---

# Error with PHP 8.3.2

 *  Resolved [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-8-3-2/)
 * Version 3.7.2 of Ninja Forms is not compatible with PHP 8.3.2. When I change 
   the version of PHP on my site to 8.3.2 I get the following error and the whole
   site crashes.
 * **Fatal error**: Duplicate declaration of static variable $fields in **…/wp-content/
   plugins/ninja-forms/includes/Admin/CPT/Submission.php** on line **245**
 * This error is preventing me from upgrading my version of PHP. Please advise when
   this will be fixed.

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

 *  [Faisal Ahammad](https://wordpress.org/support/users/faisalahammad/)
 * (@faisalahammad)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-8-3-2/#post-17419889)
 * Hi Jeff,
 * WordPress Core and many plugins are still not fully compatible with **PHP v8.3**.
   Currently, **WordPress v6.4** has added “_beta support_” for **PHP v8.3**.
 * Therefore, if you plan to update your PHP version, you may encounter compatibility
   issues with certain plugins. I recommend using **PHP v8.2** until more themes
   and plugins have ensured compatibility with this version. Thank you.
 *  [https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/)
 *  [Shaylee](https://wordpress.org/support/users/shayleehansen30/)
 * (@shayleehansen30)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-8-3-2/#post-17419956)
 * Hi Jeff,
 * We released version [3.7.3 t](https://wordpress.org/plugins/ninja-forms/#developers)
   oday, which should resolve PHP 8.3 issues. Give it an update, and if the issue
   persists, don’t hesitate to contact our Customer Success team [here](https://ninjaforms.com/contact).
 *  Thread Starter [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * (@foomagoo)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-8-3-2/#post-17421752)
 * Version 3.7.3 does fix the issue. Thank you [@shayleehansen30](https://wordpress.org/support/users/shayleehansen30/)!!

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

The topic ‘Error with PHP 8.3.2’ is closed to new replies.

 * ![](https://ps.w.org/ninja-forms/assets/icon-256x256.png?rev=1649747)
 * [Ninja Forms - The Contact Form Builder That Grows With You](https://wordpress.org/plugins/ninja-forms/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ninja-forms/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ninja-forms/)
 * [Active Topics](https://wordpress.org/support/plugin/ninja-forms/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ninja-forms/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ninja-forms/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Jeff Sterup](https://wordpress.org/support/users/foomagoo/)
 * Last activity: [2 years, 3 months ago](https://wordpress.org/support/topic/error-with-php-8-3-2/#post-17421752)
 * Status: resolved