Title: Plugin incompatible with PHP 8.1
Last modified: May 10, 2023

---

# Plugin incompatible with PHP 8.1

 *  Resolved [mengeco](https://wordpress.org/support/users/mengeco/)
 * (@mengeco)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-1/)
 * Hello,
 * This plugin is not compatible with PHP version 8.1 and crashes the site.
   My host
   imposes this version of PHP and my site is no longer usable.

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

 *  Plugin Author [tumultinc](https://wordpress.org/support/users/tumultinc/)
 * (@tumultinc)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-1/#post-16685672)
 * It would be very helpful to get your debug logs to know what is failing on your
   site: [https://wordpress.org/documentation/article/debugging-in-wordpress/](https://wordpress.org/documentation/article/debugging-in-wordpress/)
 * If you could share the PHP version, language, and MySQL version that would be
   very helpful.
 * In our tests the plugin appears to work correctly in PHP v8.1.9.
 *  Thread Starter [mengeco](https://wordpress.org/support/users/mengeco/)
 * (@mengeco)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-1/#post-16685702)
 * I reactivated all my plugins but if I try to activate Tumult, I have an error
   message:
 * 
   **The extension could not be activated because it triggered a fatal error.**
 * **Fatal error**: Uncaught TypeError: round(): Argument #1 ($num) must be of type
   int|float, string given in /homepages/13/d858307057/htdocs/wp-content/plugins/
   tumult-hype-animations/includes/variables.php:33 Stack trace: #0 /homepages/13/
   d858307057/htdocs/wp-content/plugins/tumult-hype-animations/includes/variables.
   php(33): round() #1 /homepages/13/d858307057/htdocs/wp-content/plugins/tumult-
   hype-animations/includes/variables.php(11): parse_size() #2 /homepages/13/d858307057/
   htdocs/wp-content/plugins/tumult-hype-animations/includes/variables.php(6): upload_mb()#
   3 /homepages/13/d858307057/htdocs/wp-content/plugins/tumult-hype-animations/hypeanimations.
   php(19): include(‘/homepages/13/d…’) #4 /homepages/13/d858307057/htdocs/wp-admin/
   includes/plugin.php(2299): include(‘/homepages/13/d…’) #5 /homepages/13/d858307057/
   htdocs/wp-admin/plugins.php(191): plugin_sandbox_scrape() #6 {main} thrown in**/
   homepages/13/d858307057/htdocs/wp-content/plugins/tumult-hype-animations/includes/
   variables.php** on line **33**
 *  Plugin Author [tumultinc](https://wordpress.org/support/users/tumultinc/)
 * (@tumultinc)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-1/#post-16685797)
 * Thanks for the logs! Can you please copy + paste the contents of [this updated variables.php](https://github.com/tumult/hype-wordpress-plugin/blob/master/includes/variables.php)
   file (or download the [repository](https://github.com/tumult/hype-wordpress-plugin))
   to see if the recent update resolves the issue? In some cases the maximum upload
   size was incorrectly calculated.

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

The topic ‘Plugin incompatible with PHP 8.1’ is closed to new replies.

 * ![](https://ps.w.org/tumult-hype-animations/assets/icon-256x256.png?rev=3409872)
 * [Tumult Hype Animations](https://wordpress.org/plugins/tumult-hype-animations/)
 * [Support Threads](https://wordpress.org/support/plugin/tumult-hype-animations/)
 * [Active Topics](https://wordpress.org/support/plugin/tumult-hype-animations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tumult-hype-animations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tumult-hype-animations/reviews/)

 * 3 replies
 * 4 participants
 * Last reply from: [tumultinc](https://wordpress.org/support/users/tumultinc/)
 * Last activity: [3 years, 1 month ago](https://wordpress.org/support/topic/plugin-incompatible-with-php-8-1/#post-16685797)
 * Status: resolved