Call to a member function get_cart_subtotal()
-
Καλησπέρα σας,
Αντιμετωπίζουμε ένα πρόβλημα με τα live στοιχεία για πληρωμή με κάρτα.
Ενώ σαν τεστ ήμασταν εντάξει, όταν αλλάξαμε τα στοιχεία δεν μπορούμε να κάνουμε πληρωμή με επιτυχία.Δείτε στα errors:
2020-01-23T12:00:32+00:00 CRITICAL Uncaught Error: Call to a member function get_cart_subtotal() on null in /var/www/vhosts/domain/httpdocs/wp-content/themes/theme/template-parts/header/partials/element-cart.php:31
Stack trace:
#0 /var/www/vhosts/domain/httpdocs/wp-includes/template.php(724): require()
#1 /var/www/vhosts/domain/httpdocs/wp-includes/template.php(671): load_template(‘/var/www/vhosts…’, false)
#2 /var/www/vhosts/domain/httpdocs/wp-includes/general-template.php(168): locate_template(Array, true, false)
#3 /var/www/vhosts/domain/httpdocs/wp-content/themes/theme/inc/structure/structure-header.php(96): get_template_part(‘template-parts/…’, ”)
#4 /var/www/vhosts/domain/httpdocs/wp-content/themes/theme/template-parts/header/header-main.php(27): flatsome_header_elements(‘header_elements…’)
#5 /var/www/vhosts/domain/httpdocs/wp-includes/template.php(724): require(‘/var/www/vhosts…’)
#6 /var/www/vhosts/domain/httpdocs/wp-includes/template.php(671): load_temp μέσα στο /var/www/vhosts/domain/httpdocs/wp-content/themes/theme/template-parts/header/partials/element-cart.php στην γραμμή 31Ευχαριστούμε εκ των προτέρων
- The topic ‘Call to a member function get_cart_subtotal()’ is closed to new replies.