Title: Fatal errors with PHP 8.2
Last modified: November 9, 2023

---

# Fatal errors with PHP 8.2

 *  Resolved [Nitin Rathod](https://wordpress.org/support/users/rnitinb/)
 * (@rnitinb)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/fatal-errors-with-php-8-2/)
 * hello,
 * when I try to submit the form it is giving a Fatal error:
 * PHP Fatal error: Uncaught TypeError: method_exists(): Argument #1 ($object_or_class)
   must be of type object|string, null given in /plugins/ninja-forms/includes/AJAX/
   Controllers/Submission.php:564
 * I managed to fix the error for now by changing the code but I would like to inform
   you about that so you can add the fix in it in future releases.
 * Thanks for the great plugin.
    -  This topic was modified 2 years, 7 months ago by [Nitin Rathod](https://wordpress.org/support/users/rnitinb/).

Viewing 1 replies (of 1 total)

 *  [Shaylee](https://wordpress.org/support/users/shayleehansen30/)
 * (@shayleehansen30)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-errors-with-php-8-2/#post-17198688)
 * Thank you for bringing this issue to our attention, and I appreciate your kind
   words about our plugin.
 * The error you encountered seems related to a PHP Fatal error involving method_exists().
   We take such feedback seriously as it helps us improve our plugin. To ensure 
   this issue is addressed properly, reach out to our [Customer Success team](https://ninjaforms.com/contact)
   and provide more details about the code change you made to resolve it temporarily.
   This information will be invaluable in identifying and addressing the problem
   in future releases.
 * Once we have more details, we’ll do our best to incorporate the necessary fix
   in an upcoming release to ensure a smoother experience for all our users. Your
   cooperation in this matter is greatly appreciated, and please don’t hesitate 
   to reach out if you encounter any more issues or have further suggestions.

Viewing 1 replies (of 1 total)

The topic ‘Fatal errors with PHP 8.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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shaylee](https://wordpress.org/support/users/shayleehansen30/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/fatal-errors-with-php-8-2/#post-17198688)
 * Status: resolved