I can't access my site, Parse error: syntax error, unexpected 'if' (T_IF)
-
Hi,
Following a suggestion of Logo Slider Plugin, I tried added their suggested code to the function.php and now I cannot access my site (or admin of my site), I get the following:
Parse error: syntax error, unexpected ‘if’ (T_IF) in /htdocs/parcoursinspirant.com/wp-content/themes/karuna/functions.php on line 11
Please help
The blog I need help with is: (visible only to logged in users)
-
Hi
From your question about plugins, we know that you have a self-hosted (sometimes called a WordPress.Org) site.
Sorry but your question is better asked over at
https://wordpress.org/support/ They have the expertise to help youhttps://en.support.wordpress.com/com-vs-org/ explains many of the differences between self-hosted and sites hosted at WordPress.Com
https://codex.wordpress.org/WordPress_vs_WordPress.com is a more who is who explanation.Good luck
dave -
Hi Dave,
I am self-hosted but connected to WordPress.com dashboard. It is possible.
Thanks for your feedback anyway.
Best,
-
Hello @parcoursinspirant,
You issue is related to the functions.php file, which we cannot access on WordPress.COM.So to get help please post your issue on the WordPress.ORG support forum as said by @dave2swords.
Thanks 🙂
-
-
- The topic ‘I can't access my site, Parse error: syntax error, unexpected 'if' (T_IF)’ is closed to new replies.