• Hee,

    Someone else made a website for me but now it’s not working anymore and I have fix it. He gave te following error Parse error: syntax error, unexpected T_STRING in line 71 so there has to be an error in this part of the code:

    /**
    * For developers: WordPress debugging mode.
    *
    * Change this to true to enable the display of notices during development.
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define(‘WP_DEBUG’, true );

    Somebody who can help?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    What is the full error?

    Thread Starter FNX

    (@fnx)

    Parse error: syntax error, unexpected T_STRING in /home/deb93985/domains/tsr-vidar.nl/public_html/hnot/wp-config.php on line 71

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Do you remember what was being changed at the time? We’re dealing with a sensitive file so please be extra careful when posting code here.

    Thread Starter FNX

    (@fnx)

    We Changed the serverhost

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Can you post here lines 68 to 73, but make sure that those lines don’t have sensitive information such as database credentials or SALT keys.

    Thread Starter FNX

    (@fnx)

    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define(‘WP_DEBUG’, true );

    /* That’s all, stop editing! Happy blogging. */

    /** Absolute path to the WordPress directory. */
    if ( !defined(‘ABSPATH’) )
    define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Are you sure those are lines 68 to 73? I don’t see any syntax errors there and that appears to be 10 lines of code.

    Thread Starter FNX

    (@fnx)

    These are lines 68 to 78 more than you asked but stil the right lines. so lines 68 to 73 are these:
    * It is strongly recommended that plugin and theme developers use WP_DEBUG
    * in their development environments.
    */
    define(‘WP_DEBUG’, true );

    /* That’s all, stop editing! Happy blogging. */

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Parse error: syntax error, unexpected T_STRING’ is closed to new replies.