Tagged: Enfold child theme, syntax error
Hello,
I built a website for a client using Enfold (latest version). The website works flawlessly on the development server. I downloaded a copy, made adjustments to the SQL db and uploaded it to the client’s hosting account.
I went through the process of importing theme settings on the new site, tweaking a few things, and the site worked great on the client’s hosting account.
Then I discovered that the Google Map on the contact page was giving me an API error and the map wouldn’t display. I checked the forum and found the workaround, which involves copying some code into the Enfold child functions.php file. I followed the instructions exactly.
However, after doing this, I began to get a syntax error from the child theme functions file which completely crashed the site. Can’t do anything except view the error in the browser window.
I have erased the SQL db and started over by importing the db again. I have removed the enfold child theme functions file. I have cleared my browser cache and tried alternate browsers. I keep getting this error, no matter what I do:
Parse error: syntax error, unexpected ‘*’ in /home/**website name concealed**/public_html/2016/wp-content/themes/enfold-child/functions.php on line 16
I am way past the deadline for getting this site up and running. Any advice would be greatly appreciated.
I should also add that I used FTP to temporarily rename the enfold and enfold-child folders to force WP to use another theme, and this didn’t work, either.
Disregard this. Solution found. I had mistakenly uploaded the wrong wp-config.php file, which was configured to access the wrong SQL database.