Notice: Trying to get property 'cart' of non-object in /pages/59/e2/d0013490/home/htdocs/wp-content/themes/Divi-child/header.php on line 98

Fatal error: Uncaught Error: Call to a member function get_cart_url() on null in /pages/59/e2/d0013490/home/htdocs/wp-content/themes/Divi-child/header.php:98 Stack trace: #0 /pages/59/e2/d0013490/home/htdocs/wp-includes/template.php(688): require_once() #1 /pages/59/e2/d0013490/home/htdocs/wp-includes/template.php(647): load_template('/pages/59/e2/d0...', true) #2 /pages/59/e2/d0013490/home/htdocs/wp-includes/general-template.php(41): locate_template(Array, true) #3 /pages/59/e2/d0013490/home/htdocs/wp-content/themes/Divi-child/page.php(2): get_header() #4 /pages/59/e2/d0013490/home/htdocs/wp-includes/template-loader.php(74): include('/pages/59/e2/d0...') #5 /pages/59/e2/d0013490/home/htdocs/wp-blog-header.php(19): require_once('/pages/59/e2/d0...') #6 /pages/59/e2/d0013490/home/htdocs/index.php(17): require('/pages/59/e2/d0...') #7 {main} thrown in /pages/59/e2/d0013490/home/htdocs/wp-content/themes/Divi-child/header.php on line 98