Fatal Error in WordPress WooCommerce theme “Call to undefined function wc_get_theme_slug_for_templates()”

Ok, the error is telling you this:

The error comes from this theme file:

\themes\vw-ecommerce-shop\woocommerce\global\wrapper-end.php

Line: 23.

In that file on line 23 the following function is called wc_get_theme_slug_for_templates() but at that point it’s not (yet) available.
The function should be available though, because it’s a valid Woocommerce function, see here.

Can you update your theme? It’s always important to keep the theme up-to-date with WooCommerce, otherwise problems will arrise eventually (and probably sooner than expected).

Regards, Bjorn