• Resolved Lucy

    (@kiddiestuff)


    I contacted my provider and they said the problem is with Woocommerce, so I renamed all the Woocommerce plugins and still can’t access my site or the admin dashboard. Does anyone have any idea how to fix this?

    This is from my provider:

    Thank you for contacting Technical Support. I recognize how important it is to get the website issue fixed.
    
    I have accessed the website https://embroiderybylucy.com/ and was able to duplicate the issue. The file and folder permissions are set up correctly. I have enabled debug mode in wp-config.php file and received following error:
    
    Parse error: syntax error, unexpected ':', expecting '{' in /hermes/bosnaweb28a/b862/nf.kiddiestuffnmorecom/public_html/store/wp-content/plugins/woocommerce/woocommerce.php
    
    I have disabled the debug mode. The above error states that issue with the Woocommerce plugin. The best option is to consult plugin support to fix the coding issue.
    
    Alternative option is disable the plugin. A heads up, modifications done to the website using this plugin might be lost.

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there ??

    I want to let you know that if WooCommerce was causing it, renaming the folder should fix the problem. With this, we can conclude that the issue is not coming from WooCommerce itself.

    So it seems that several plugins or perhaps your theme might be causing this issue. I’d recommend renaming the plugin folder to see if that allows you to access the WordPress admin. If not, I would recommend deactivating the theme through FTP to see if that fixes it.

    Now, I would recommend open a new topic on the following support forum, which specializes in Fixing WordPress sites. Here is the link:

    https://www.ads-software.com/support/forum/how-to-and-troubleshooting/

    Cheers.

    Thread Starter Lucy

    (@kiddiestuff)

    Thank you, I will try all those suggestions.

    Thread Starter Lucy

    (@kiddiestuff)

    Looks like WordPress sent me back here. See the message reply below.

    Error indicates your woocommerce plugins to be the error.
    
    I recommend asking reporting the issue at https://www.ads-software.com/support/plugin/woocommerce/ so the plugin’s developers and support community can help you with this.
    
    If you need immediate access to the dashboard, then access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/plugins/ and rename the directory of your the woocommerce plugin.
    Plugin Support Cara

    (@dcka)

    Hi, @kiddiestuff!

    Thanks for trying those out! And I’m sorry you’re still running into this issue.

    Can you please get in touch with your hosting provider about which PHP version your site is using? We’ve seen similar issues caused before by outdated PHP.

    For reference, we recommend a minimum of PHP 7.3.

    Thread Starter Lucy

    (@kiddiestuff)

    Thanks for your response. My PHP is set to 7.3. I would just be happy right now if I could get to the admin panel.

    Thank you for the help.

    Plugin Support Cara

    (@dcka)

    Can you please share with me the full error? It should reference a line that we can then check.

    Another thing for you to try immediately would be the solution from this video: https://www.youtube.com/watch?v=ctpwZoceURk

    The values you may see in your site’s files might be different, but it’s worth checking if there is a reference there to older versions of PHP.

    Thread Starter Lucy

    (@kiddiestuff)

    Hello,

    This is the only error I have from technical support from my provider. Hope this helps.

    Parse error: syntax error, unexpected ‘:’, expecting ‘{‘ in /hermes/bosnaweb28a/b862/nf.kiddiestuffnmorecom/public_html/store/wp-content/plugins/woocommerce/woocommerce.php

    Warning: require_once(/hermes/bosnaweb28a/b862/nf.kiddiestuffnmorecom/public_html/store/wp-content/plugins/woocommerce/vendor/psr/container/src/ContainerInterface.php): failed to open stream: No such file or directory in /hermes/bosnaweb28a/b862/nf.kiddiestuffnmorecom/public_html/store/wp-content/plugins/woocommerce/vendor/jetpack-autoloader/autoload_functions.php on line 39

    • This reply was modified 3 years, 6 months ago by Lucy.
    Plugin Support AW a11n

    (@slash1andy)

    Automattic Happiness Engineer

    Hey again!

    Let’s try deleting the WooCommerce plugin entirely, from either FTP or if you have a file manager or something like that.

    Once that’s done, check if your site admin comes back

    Then you can try to reinstall the plugin entirely. From the error, it looks like it might have had a malfunction when installing the plugin and not everything was installed properly.

    Thread Starter Lucy

    (@kiddiestuff)

    My site is back up and working for now. Thank you everyone for your helpful suggestions.

    Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    That’s wonderful. We are happy to help ??

    Great! I’m going to mark this as resolved – if you have any further questions, you can start a new thread.

    Cheers.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Parse error in Woocommerce’ is closed to new replies.