• Fatal error: Uncaught ArgumentCountError: Too few arguments to function WP_Post::__construct(), 0 passed in /home/tylertor/public_html/gnash/wp-content/plugins/automatic-submenu/automatic-submenu.php on line 255 and exactly 1 expected in /home/tylertor/public_html/gnash/wp-includes/class-wp-post.php:264 Stack trace: #0 /home/tylertor/public_html/gnash/wp-content/plugins/automatic-submenu/automatic-submenu.php(255): WP_Post->__construct() #1 /home/tylertor/public_html/gnash/wp-content/plugins/automatic-submenu/automatic-submenu.php(227): AutomaticSubmenu->createSubmenu(Array, Object(WP_Post), ‘pages’) #2 /home/tylertor/public_html/gnash/wp-includes/class-wp-hook.php(288): AutomaticSubmenu->menu_magic(Array) #3 /home/tylertor/public_html/gnash/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array) #4 /home/tylertor/public_html/gnash/wp-includes/nav-menu.php(765): apply_filters(‘wp_get_nav_menu…’, Array, Object(WP_Term), Array) #5 /home/tylertor/public_html/gnash/wp-includes/nav-menu-template.php(140): wp_get_na in /home/tylertor/public_html/gnash/wp-includes/class-wp-post.php on line 264

  • The topic ‘Nice idea but it crashes my site’ is closed to new replies.