xxxxxxxxxx
Try var_dump($this->container); and die();
If that's an object, try var_dump($this->container->view);, then die();
Basically, keep vardumping each step until you get to whatever is not an object. More often than nut something is null.
xxxxxxxxxx
if(!isset($woocommerce->cart) || !$woocommerce->cart->cart_contents)
xxxxxxxxxx
$user = $req->fetch(PDO::FETCH_OBJ);
if ($user && password_verify($_POST['password'], $user->password)) {