.php error has blocked access to wordpress
-
Hi, I was recently attempting to add some code so that my pages would hold comments, which I added to the functions.php section of my child theme, after the code that was already present.
The code was as follows:
<div id=’comments’>
<?php comments_template(); ?>
</div>
This didn’t seem to work, so I removed the top and bottom lines (leaving only <?php comments_template(); ?>) which then produced the following error when I applied it:Parse error: syntax error, unexpected ‘<‘ in /home4/sudogenoner/public_html/wp-content/themes/media/functions.php on line 18
Even after deleting all the new code, the message kept appearing, so I just left the site thinking it would reset. Now all I get is a blank page when I attempt to access the site, with the same error message. HELP!
The blog I need help with is: (visible only to logged in users)
-
It looks like you are using the self-hosted (WordPress.ORG) version of WordPress instead of the WordPress.COM hosted version that is supported here. I recommend asking on the WordPress.org Support Forums for help removing this text:
http://wordpress.org/support/Read more about the differences between WordPress.COM and WordPress.ORG:
https://en.support.wordpress.com/com-vs-org/ -
- The topic ‘.php error has blocked access to wordpress’ is closed to new replies.