Fatal error: Uncaught Error: Call to undefined function is_checkout() in /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/wp-content/themes/Divi-child/functions.php:22 Stack trace: #0 /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/wp-includes/class-wp-hook.php(287): wc_custom_redirect_after_purchase('') #1 /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(NULL, Array) #2 /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/wp-includes/template-loader.php(13): do_action('template_redire...') #4 /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/wp-blog-header.php(19): require_once('/homepages/28/d...') #5 /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/index.php(17): require('/homepages/28/d...') #6 {main} thrown in /homepages/28/d361569853/htdocs/clickandbuilds/GREENMOVIL/wp-content/themes/Divi-child/functions.php on line 22