Skip to content

Instantly share code, notes, and snippets.

@jnachtigall
Created May 20, 2019 07:02
Show Gist options
  • Save jnachtigall/9500cbea87f94d848fe99cfb4eea6ebb to your computer and use it in GitHub Desktop.
Save jnachtigall/9500cbea87f94d848fe99cfb4eea6ebb to your computer and use it in GitHub Desktop.
[16-May-2019 23:37:47 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart_contents_count() on null in /mysite/wp-content/themes/virtue_premium/lib/custom.php:240
Stack trace:
#0 /mysite/wp-includes/class-wp-hook.php(286): kt_add_search_form_to_menu('<li class="men...', Object(stdClass))
#1 /mysite/wp-includes/plugin.php(208): WP_Hook->apply_filters('<li class="men...', Array)
#2 /mysite/wp-includes/nav-menu-template.php(243): apply_filters('wp_nav_menu_ite...', '<li class="men...', Object(stdClass))
#3 /mysite/wp-content/themes/virtue_premium/templates/header-style-three.php(84): wp_nav_menu(Object(stdClass))
#4 /mysite/wp-includes/template.php(724): require('/srv/data/web/v...')
#5 /mysite/wp-includes/template.php(671): load_template('/srv in /mysite/wp-content/themes/virtue_premium/lib/custom.php on line 240
[16-May-2019 23:37:49 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_cart_contents_count() on null in /mysite/wp-content/themes/virtue_premium/lib/custom.php:240
Stack trace:
#0 /mysite/wp-includes/class-wp-hook.php(286): kt_add_search_form_to_menu('<li class="men...', Object(stdClass))
#1 /mysite/wp-includes/plugin.php(208): WP_Hook->apply_filters('<li class="men...', Array)
#2 /mysite/wp-includes/nav-menu-template.php(243): apply_filters('wp_nav_menu_ite...', '<li class="men...', Object(stdClass))
#3 /mysite/wp-content/themes/virtue_premium/templates/header-style-three.php(84): wp_nav_menu(Object(stdClass))
#4 /mysite/wp-includes/template.php(724): require('/srv/data/web/v...')
#5 /mysite/wp-includes/template.php(671): load_template('/srv in /mysite/wp-content/themes/virtue_premium/lib/custom.php on line 240
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment