• I just loaded Venedor and wa strying to get rid of the shopping cart icon from the header. I inserted some code into “Venedor Child Theme: Theme Functions”. When it did not do the trick, I deleted it.

    Now I get this message on almost all the dashboard selections that I try-
    Parse error: syntax error, unexpected ‘.’ in /home/vertex15/public_html/water/wp-content/themes/venedor-child/functions.php on line 12

    I think line 12 should be blank. I can’t get back to the Theme Functions to try other possibilities.

    Any ideas?

    Thanks,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter danvtx

    (@danvtx)

    The site is not working now, either – just the error message

    You need FTP access – you edited the functions file and it is now incorrectly formatted and breaking everything (standard when functions.php is broken).

    Open the file /home/vertex15/public_html/water/wp-content/themes/venedor-child/functions.php using FTP or CPanel and go to line 12.

    Most likely, there is a ‘.’ on line 11 which needs to be removed and closed off with a semi-colon

    Thread Starter danvtx

    (@danvtx)

    Thank you so much Shannon W.

    In the future, should I be trying to add any code directly into the php file and not use the dashboard?

    Dashboard is ok but you have to be 100% sure that it is valid code otherwise you will lock yourself out and break the site.

    It’s easier to edit via FTP because you can quickly change it back and fix the issue within seconds

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Dashboard not working’ is closed to new replies.