• Hello

    I recently added something to my function.php file. However I got the message:

    Parse error: syntax error, unexpected T_STRING in /var/sites/e/eppie.me.uk/public_html/wp-content/themes/canard/functions.php on line 277

    I then deleted what I had added but it is still showing the message and now shoes it on any page on my site so I can’t do anything!

    It all seems fine to me but perhaps I mistakeningly deleted a last bit of code?

    The end of the functions.php is currently:

    /**
    * Customizer additions.
    */
    require get_template_directory() . ‘/inc/customizer.php’;

    /**
    * Load Jetpack compatibility file.
    */
    require get_template_directory() . ‘/inc/jetpack.php’;

    /**
    * Load plugin enhancement file to display admin notices.
    */
    require get_template_directory() . ‘/inc/plugin-enhancements.php’;

    Please help!

    https://www.ads-software.com/plugins/css/

Viewing 1 replies (of 1 total)
  • Thread Starter EppieShepherd

    (@eppieshepherd)

    I even tried taking everything out of the functions.php and pasting in the original code i managed to find but it still says the same error message even though there isn’t a line 277!

Viewing 1 replies (of 1 total)
  • The topic ‘Help! Error with functions.php won't fix!’ is closed to new replies.