New Landing How can we help? Cardinal Swift framework Woocommerce error

Viewing 5 posts - 1 through 5 (of 5 total)
  • Posted in: Cardinal
  • #165292
    jackself
    Member
    Post count: 27

    I just updated my theme version from 2.01 to 2.06 and it has produced the following error, meaning I can’t load the site:

    “Parse error: syntax error, unexpected T_FUNCTION in /var/www/vhosts/millenniumpeople.co.uk/subdomains/honeys/httpdocs/wordpress/wp-content/themes/cardinal/swift-framework/core/sf-woocommerce.php on line 118”

    Any help appreciated. I can replace the sf-woocommerce file from a previous version, but this is an incomplete update…

    Thanks,

    Jack

    #165298
    Mohammad – SUPPORT
    Moderator
    Post count: 27441
    This reply has been marked as private.
    #165299
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    That’s because your php version is older. Try to update your php version or replace line 118 of sf-woocommerce.php by this one

    add_filter( 'woocommerce_enqueue_styles', false );

    -Rui

    #165305
    jackself
    Member
    Post count: 27

    Many thanks!

    #165308
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.
    -Rui

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register