• Resolved martina1997

    (@martina1997)


    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 to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Samuel Silva

    (@samuelsilvapt)

    @martina1997 the plugin is working correctly on PHP 8.0.

    Do you still have issues?

    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

    (@samuelsilvapt)

    Hi @mrschaal and @martina1997 ,

    The fatal error has been fixed! Pls update the plugin with the new version ^^

    Best,

    Samuel

    Hi @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.