Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • in reply to: Errors after installing Aqua theme #3466

    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.

    in reply to: Errors after installing Aqua theme #3464

    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

Viewing 2 posts - 1 through 2 (of 2 total)