Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • 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

    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

    We’re facing exactly the same issue here. Pages containing lists won’t be downloaded.

    Thread Starter mrschaal

    (@mrschaal)

    Great, that helped a lot. Thanks!

    Changed from
    [select* hilfe "Telefonische Beratung" "Fahrzeug-Check vor Ort" default:get]

    to

    [select* hilfe default:get "Telefonische Beratung" "Fahrzeug-Check vor Ort"]

    now it works!

    mrschaal

    (@mrschaal)

    I am also looking for this option. But it’s not possible to deactivate the sticky side button only for specific pages at the moment, only for certain page types at the moment. It would also be great if it was just possible to disable them for specific templates. For example if you use a specific template for all landing pages. It would be great if the developer might add this feature.

    Thread Starter mrschaal

    (@mrschaal)

    Thank you, I’ve added a plugin which contains your code, now it works perfectly. Thank you very much!

    • This reply was modified 8 years, 1 month ago by mrschaal.
    Thread Starter mrschaal

    (@mrschaal)

    Thank you so much, it worked very well!

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