• Having issue with company website. Can’t even access or view the website!

    Parse error: syntax error, unexpected ‘?’ in /home/bmwcarclub/public_html/wp-content/plugins/yith-woocommerce-wishlist/plugin-fw/yit-plugin.php on line 114

    Pls help

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Looking at the source code, that line is using an operator that’s been added in PHP7. The line in question:

    $fields = $new_row_meta_args['to_show'] ?? array();

    Because your site is braeking with this, I’d believe that you’re running an older PHP version then 7.

    The two solutions to this are:

    1. Delete that wishlist plugin and find another one that will work with yourcurrent PHP version
    2. Upgrade the PHP version on your hosting server to a minimum of V7.0 (be aware that while this shouldn’t break anything it still could cause other issues that you won’t see until you do it)
Viewing 1 replies (of 1 total)
  • The topic ‘Parse Error’ is closed to new replies.