Title: Plugin is not compatible with php 8.0
Last modified: November 14, 2022

---

# Plugin is not compatible with php 8.0

 *  Resolved [martina1997](https://wordpress.org/support/users/martina1997/)
 * (@martina1997)
 * [3 years, 7 months ago](https://wordpress.org/support/topic/plugin-is-not-compatible-with-php-8-0/)
 * Hello,
 * I have a problem with the plugin version 2.3.2 and PHP version 8.0.
 * can you help me here?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fplugin-is-not-compatible-with-php-8-0%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Samuel Silva](https://wordpress.org/support/users/samuelsilvapt/)
 * (@samuelsilvapt)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/plugin-is-not-compatible-with-php-8-0/#post-16328562)
 * [@martina1997](https://wordpress.org/support/users/martina1997/) the plugin is
   working correctly on PHP 8.0.
 * Do you still have issues?
 *  [mrschaal](https://wordpress.org/support/users/mrschaal/)
 * (@mrschaal)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-is-not-compatible-with-php-8-0/#post-16387269)
 * Dear Samuel Silva,
 * I’m also experiencing issues as soon as I upgrade from PHP 7.4. to PHP 8.0 or
   above.
 * When `WP_DEBUG` is set to true, I can see the following warning when using PHP
   7.4:
 * `Warning: in_array() expects parameter 2 to be array, bool given in /mnt/web121/
   a1/54/51251354/htdocs/archbase-production/wp-content/plugins/animated-fullscreen-
   menu/frontend-animatedfsmenu.php on line 121`
 * However, as soon as I upgrade to 8.0 or later, the warning will become a fatal
   error, resulting in the following stack trace:
 * `Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be
   of type array, bool given in /mnt/web121/a1/54/51251354/htdocs/archbase-production/
   wp-content/plugins/animated-fullscreen-menu/frontend-animatedfsmenu.php:121 Stack
   trace: #0 /mnt/web121/a1/54/51251354/htdocs/archbase-production/wp-content/plugins/
   animated-fullscreen-menu/frontend-animatedfsmenu.php(121): in_array() #1 /mnt/
   web121/a1/54/51251354/htdocs/archbase-production/wp-includes/class-wp-hook.php(
   308): render_animatedfsmenu_nav() #2 /mnt/web121/a1/54/51251354/htdocs/archbase-
   production/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters() #3 /mnt/
   web121/a1/54/51251354/htdocs/archbase-production/wp-includes/plugin.php(517):
   WP_Hook->do_action() #4 /mnt/web121/a1/54/51251354/htdocs/archbase-production/
   wp-includes/general-template.php(3043): do_action() #5 /mnt/web121/a1/54/51251354/
   htdocs/archbase-production/wp-content/themes/virtue_premium/templates/head.php(
   7): wp_head() #6 /mnt/web121/a1/54/51251354/htdocs/archbase-production/wp-includes/
   template.php(785): require('...') #7 /mnt/web121/a1/54/51251354/htdocs/archbase-
   production/wp-includes/template.php(718): load_template() #8 /mnt/web121/a1/54/
   51251354/htdocs/archbase-production/wp-includes/general-template.php(204): locate_template()#
   9 /mnt/web121/a1/54/51251354/htdocs/archbase-production/wp-content/themes/virtue_premium/
   header.php(18): get_template_part() #10 /mnt/web121/a1/54/51251354/htdocs/archbase-
   production/wp-includes/template.php(783): require_once('...') #11 /mnt/web121/
   a1/54/51251354/htdocs/archbase-production/wp-includes/template.php(718): load_template()#
   12 /mnt/web121/a1/54/51251354/htdocs/archbase-production/wp-includes/general-
   template.php(48): locate_template() #13 /mnt/web121/a1/54/51251354/htdocs/archbase-
   production/wp-content/themes/virtue_premium/base.php(10): get_header() #14 /mnt/
   web121/a1/54/51251354/htdocs/archbase-production/wp-includes/template-loader.
   php(106): include('...') #15 /mnt/web121/a1/54/51251354/htdocs/archbase-production/
   wp-blog-header.php(19): require_once('...') #16 /mnt/web121/a1/54/51251354/htdocs/
   archbase-production/index.php(17): require('...') #17 {main} thrown in /mnt/web121/
   a1/54/51251354/htdocs/archbase-production/wp-content/plugins/animated-fullscreen-
   menu/frontend-animatedfsmenu.php on line 121`
 * Many thanks in advance for your help and kind regards,
   Christian
 *  Plugin Author [Samuel Silva](https://wordpress.org/support/users/samuelsilvapt/)
 * (@samuelsilvapt)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-is-not-compatible-with-php-8-0/#post-16393307)
 * Hi [@mrschaal](https://wordpress.org/support/users/mrschaal/) and [@martina1997](https://wordpress.org/support/users/martina1997/),
 * The fatal error has been fixed! Pls update the plugin with the new version ^^
 * Best,
 * Samuel
 *  [mrschaal](https://wordpress.org/support/users/mrschaal/)
 * (@mrschaal)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-is-not-compatible-with-php-8-0/#post-16396553)
 * Hi [@samuelsilvapt](https://wordpress.org/support/users/samuelsilvapt/),
 * many thanks for that quick fix, I don’t experience the error anymore now and 
   I’ve been able to successfully upgrade to PHP 8.0 now.
 * Kind regards,
   Christian

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

The topic ‘Plugin is not compatible with php 8.0’ is closed to new replies.

 * ![](https://ps.w.org/animated-fullscreen-menu/assets/icon-256x256.png?rev=2982319)
 * [Fullscreen Menu](https://wordpress.org/plugins/animated-fullscreen-menu/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/animated-fullscreen-menu/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/animated-fullscreen-menu/)
 * [Active Topics](https://wordpress.org/support/plugin/animated-fullscreen-menu/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/animated-fullscreen-menu/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/animated-fullscreen-menu/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [mrschaal](https://wordpress.org/support/users/mrschaal/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/plugin-is-not-compatible-with-php-8-0/#post-16396553)
 * Status: resolved