This topic has 5 replies, 3 voices, and was last updated 1 year, 10 months ago by Fem.
Tagged: admin@cyprus-churches.com
Viewing 6 posts - 1 through 6 (of 6 total)
I need help figuring this out. I dont know what to do to fix this, Requesting help..PLEASE lol
<h2>The site was moved from a1pestcontrolco.net to a1pestcontrolco.com. same host provider. they say they cant help me</h2>
PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_nav_menu_remove_menu_item_has_children_class(), 1 passed in /home/shatterp/public_html/a1pestcontrolco.net/wp-includes/class-wp-hook.php on line 324 and at least 2 expected in /home/shatterp/public_html/a1pestcontrolco.net/wp-includes/nav-menu-template.php:659
Stack trace:
#0 /home/shatterp/public_html/a1pestcontrolco.net/wp-includes/class-wp-hook.php(324): wp_nav_menu_remove_menu_item_has_children_class(Array)
#1 /home/shatterp/public_html/a1pestcontrolco.net/wp-includes/plugin.php(205): WP_Hook->apply_filters(Array, Array)
#2 /home/shatterp/public_html/a1pestcontrolco.net/wp-content/themes/anona/framework/common/atp_generator.php(584): apply_filters(‘nav_menu_css_cl…’, Array)
#3 /home/shatterp/public_html/a1pestcontrolco.net/wp-includes/class-wp-walker.php(147): description_walker->start_el(”, Object(WP_Post), 0, Object(stdClass))
#4 /home/shatterp/public_html/a1pestcontrolco.net/wp-includes/class-wp-walker.php(247): Walker->display_element(Ob in /home/shatterp/public_html/a1pestcontrolco.net/wp-includes/nav-menu-template.php on line 659
Based on this thread, it looks like it’s related to code that may be deprecated due to a change in PHP versions
i tried to change the PHP version in htaccess, but it rendered the site even more usless. I was hoping it would fix the errors. But i just don’t know what to do and am seeking help 🙁
I did the update before i even came here for support. Im on php 8.1. And when i ran a recent debug, these errors popped up and the whole website is broken. everything is updated
@elenachristiantranslation – I will make a fresh install test at our server and hope that will be fixed soon.
Viewing 6 posts - 1 through 6 (of 6 total)
The topic ‘PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function’ is closed to new replies.