Please use this link to login for old users (before April 2022) My Account

Home Support Premium Themes Opstore Pro header-layout2.php CRITICAL syntax error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #21084
    PurchasedOpstore Pro(Lifetime)robin nieuwenhuis


    This is one error I’m unable to solve myself:

    Elementor will not start in any way.
    – turned off all plugins
    – increased max memory to 512mb
    – logout of WordPress and cleaned all cache available on the server.
    – restart WordPress, same issues starting Elementor
    – turned on debugging, there was only 1 line to befound:

    (btw, using a childtheme of Opstore-Pro.

    CRITICAL syntax error, unexpected ‘esc_html’ (T_STRING) in /themes/opstore-pro/layouts/header/header-layout2.php on line 71

    (it’s no typo on _titile! on line 70, it’s used all over the code)
    line 70: <?php if($cart_titile!=”){?>
    line 71: <h6 class=”title”><?php echi esc_html($cart_titile); ?>
    line 72: <span class=”item-count”>(<?php echo sprintf (_n( ‘%d item’, ‘%d items’, WC()->cart->get_cart_contents_count(), ‘opstore-pro’ ), WC()->cart->get_cart_contents_count() ); ?>)</span>
    line 73: </h6>
    line 74: <?php }?>

    Needed to change from the default header because the default is none editable.
    Even tho the Opstore logo is nice but not for my branding.
    Plus very much like the banner above the logo.


    Hello there

    If you are not using the latest version of the theme please update it to the latest version.
    Also can you please send us your site URL so we can check it and make a proper decision on this.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.
Subscribe To Our Newsletter
Join our mailing list and stay tuned with latest updates.