Jump to content


This topic is now archived and is closed to further replies.


URGENT! please help mistake in functions.php file Cannot login to site

Recommended Posts

hottheo    0


i am using DMS2 and Woocommerce (both updated to current versions) and i made a mistake editing woocommerce in my theme functions.php file. Now i am seeing the error (below) when i try and access my site. i cannot get into the backend of my site and i have no idea what to do. 


Please Help!


Parse error: syntax error, unexpected '*' in /home/content/51/7979551/html/wp-content/themes/dms/functions.php on line 16



Share this post

Link to post
Share on other sites
Simon    247
Use FTP client to edit the file
Or perhaps your web host has a built in file editor as part of your hosting package
  • Like 1

Share this post

Link to post
Share on other sites
hottheo    0

Thanks Simon! I went into the backend of my hosting and edited my PHP and it worked perfectly. Much appreciated!

Share this post

Link to post
Share on other sites
Danny    1,327

Thanks for informing us the issue has been resolved.

Please search our forums, before posting!

Share this post

Link to post
Share on other sites

  • Similar Content

    • hibbsy78
      By hibbsy78+
      Anyone having issues with Apple Pay & woocommerce? Before I start with trying to disable plugins one by one I thought I'd check here first!
      I'm having issues with the payment processing part which just times out?
    • Paul
      By Paul+
      I have woocommerce store, product shows title and price fine until reduce screen with on a tablet/mobile phone the price and title gets removed?  Any ideas? 
      Here's an example page: https://thelaptopfixers.com/product/operating-system-re-install/
      Try it on both desktop PC browser then resize to mobile/cell phone size!  
    • ProCom
      By ProCom+
      I am trying to resolve a few issues. The first one is when I have the Platform 5 activated the product image will not display. However, once I deactivate the plugin the image will appear.  Can someone tell me if there is a article on how to customize the WooCommerce product, and shop pages using PageLines? 

    • BentleyD
      By BentleyD+
      Hey Everyone,
      Ever since the latest wordpress update, woocommerce will not display the product images. When you click where they should be they pop up in a light box, but otherwise are not visible. The errors appear to be theme related. Is there an update or fix for this?
      @James B @batman
    • pehja
      By pehja+
      My site with only PL5, framework and pageline plugin except woocommerce is behaving strange when shopines is activated.
      It looks like this when Shoplines is activated 
      And like this when deactivated
      Have I missed something?