Trying to Restore or Undo Changes to Theme Editor

  • Unknown's avatar

    Greetings. I’ve hit a weird snag. After removing a few lines of code from the Theme Editor, particularly Theme Header (header.php), I realized that those lines needed to be reentered. I had cut and pasted the lines for just this very reason. Only now, when I go to reinsert them I receive an error message that reads: ‘Your PHP code changes were rolled back due to an error on line 183 of file wp-content/themes/ragnar/header.php. Please fix and try saving again. syntax error, unexpected end of file.’ Does anyone know what this is or how I can work around it? Line 183 is the final line of code on the Theme header.

  • Unknown's avatar

    Hi there,

    It looks like you are using the open-source WordPress software rather than WordPress.com.

    For help, you can visit https://wordpress.org/support/

    Since your site isn’t hosted here, we do not have access to your account. To read about the difference, please visit our support page:

    WordPress.com vs. WordPress.org

  • The topic ‘Trying to Restore or Undo Changes to Theme Editor’ is closed to new replies.