Wordpress Website Error

by antis
5 replies
  • |
Parse error: syntax error, unexpected 'var' (T_VAR) in /home2/pzeimys/public_html/wp-content/themes/wootique/functions/admin-medialibrary-uploader.php on line 77

Can someone explain me what this means and how to fix it?
#error #website #wordpress
  • Profile picture of the author justray
    This may be in your code, php. If you are working in the editor's backend, sometimes leaving out a simple symbol "(" could do it. Or you could load an image, as I did, then there is no way to find out "why." The easiest solution, other than going through your code is to put your site on a different theme. Go in and delete the existing theme with the parse error, and re-install it as a new theme. Then you can move the new version of the theme to your original site once again. This is what worked for me. But, always backup your files before doing anything. And always be cautious of taking information from the internet without a second opinion. There are 'true' WPress experts on this forum who know much more than I do. I'm sure some will be chiming in soon. Good luck!
    {{ DiscussionBoard.errors[9058181].message }}
  • Profile picture of the author antis
    But the thing is that when I paste original HTML file in the document, it still shows the same thing. I don't get it...
    {{ DiscussionBoard.errors[9058243].message }}
  • Profile picture of the author BrandVortex
    Paste the code from line 70 - 80
    I develop unique strategies to Make Money Online, while staying within the realms of being a WhiteHatter.
    For the last 8 years, I have been successful & now is the time to give back to the community!
    {{ DiscussionBoard.errors[9058446].message }}
    • Profile picture of the author antis
      Originally Posted by BrandVortex View Post

      Paste the code from line 70 - 80
      Hi, paste from where?
      {{ DiscussionBoard.errors[9060142].message }}
      • Profile picture of the author belgianguy
        Originally Posted by antis View Post

        Hi, paste from where?
        from this file:
        {{ DiscussionBoard.errors[9060302].message }}

Trending Topics