PHP error in latest version
-
Snippet of the error from the Apache log:
Got error ‘PHP message: PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function CoAuthors_Guest_Authors::filter_nav_menu_attributes()
If I change the
filter_nav_menu_attributes
function to have a default value in the final parameter, it then works fine: (the parameter isn’t even used inside the function)public function filter_nav_menu_attributes( $atts, $menu_item, $args, $depth=0 )
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘PHP error in latest version’ is closed to new replies.