• Resolved vhsreptile

    (@vhsreptile)


    I am unable to log into or even see my website, I received the following error.

    Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in /home/anan1568/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 56

    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.5
    Current theme: Bridge Child (version 1.0.0) Current plugin: WooCommerce (version 4.4.0) PHP version 7.4.9

    • This topic was modified 4 years, 3 months ago by vhsreptile.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hmm, interesting. Can you check under WooCommerce > Status > Logs for any “fatal-error” logs? If so, are there any additional details within that log file?

    This might be related to this known issue:

    https://github.com/woocommerce/woocommerce/issues/27390

    … which we are already working on.

    Thread Starter vhsreptile

    (@vhsreptile)

    Hi Adam,
    where do I find those Logs?
    Is this what you are looking for ?
    [27-Aug-2020 10:05:46 UTC] PHP Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in /home/anan1568/public_html/wp-content/plugins/woocommerce/woocommerce.php on line 56

    • This reply was modified 4 years, 3 months ago by vhsreptile.
    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @vhsreptile. You can find logs in WooCommerce > Status > Logs. Click on the dropdown to select the log and then View to open it. Could you update WooCommerce to the latest version and let me know if you’re still getting the error. If so, could you copy and past the contents of the latest fatal error log?

    Plugin Support Damianne P (a11n)

    (@drwpcom)

    Hi @vhsreptile. We haven’t heard back from you in a while, so I’m going to mark this as resolved. Please start a new thread if you have further questions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Website is Down due to Parse error: syntax error, unexpected’ is closed to new replies.