Title: ninja-forms.php:747 Error!
Last modified: January 19, 2021

---

# ninja-forms.php:747 Error!

 *  Resolved [zocus](https://wordpress.org/support/users/zocus/)
 * (@zocus)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/ninja-forms-php747-error/)
 * Hello there,
    I just upgrade the PHP version from 7.4 to 8.0 and now I’m getting
   ERROR
 * Error MSG:
    “uksort(): Returning bool from comparison function is deprecated,
   return an integer less than, equal to, or greater than zero”
 * Error Location:
    “wp-content/plugins/ninja-forms/ninja-forms.php:747”
 * At the same time because of this WordPress has an issue too:
    “Only the first
   byte will be assigned to the string offset”
 * “wp-includes/class.wp-scripts.php:492”
 * How to fix this WARNING/ERROR?

Viewing 1 replies (of 1 total)

 *  Plugin Contributor [Justin McElhaney](https://wordpress.org/support/users/jmcelhaney/)
 * (@jmcelhaney)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/ninja-forms-php747-error/#post-14069901)
 * Can you update your Ninja Forms plugin to the latest version (3.5.1) and let 
   me know if you continue to have the same issues with PHP8?
    If you are still 
   having this issue, can you reach out to our official support channel (ninjaforms.
   com/contact)

Viewing 1 replies (of 1 total)

The topic ‘ninja-forms.php:747 Error!’ 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: [Justin McElhaney](https://wordpress.org/support/users/jmcelhaney/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/ninja-forms-php747-error/#post-14069901)
 * Status: resolved