Forum Replies Created
-
AuthorPosts
-
the second issue in header-v1 is caused by a call to a woocommerce object… but if you don’t have woocommerce installed then it fails.
Line 30
$cart_is_empty = sizeof( $woocommerce->cart->get_cart() ) <= 0;
Should probably verify that $woocommerce exists first.Aquia 2.0 throwing PHP errors. Running PHP Version => 5.5.16
[Sat Feb 11 18:19:34 2017] [error] [client 172.68.133.162] PHP Parse error: syntax error, unexpected end of file in …/httpdocs/wordpress/wp-content/themes/aqua/framework/shortcodes/shape_body_calc/shape_body_calc.php on line 40
This can be resolved by changing the following:
<? } else include 'tpl3.php'; ?>
to
<?php } else include 'tpl3.php'; ?>
Seems like you should be consistent. Either use short open codes everywhere or not at all.[Sat Feb 11 18:23:17 2017] [error] [client 172.68.133.162] PHP Fatal error: Call to a member function get_cart() on a non-object in …/httpdocs/wordpress/wp-content/themes/aqua/framework/headers/header-v1.php on line 30
-
AuthorPosts