• Hi

    I have been trying to activate a font toolbar on my page editor and I have mistakenly pasted code into the plugin editor. Now as the page tries to load I get the following error which is stopping me from deleting the incorrect code and repairing the page.

    Parse error: syntax error, unexpected ‘=’ in /home/enaqucvj/public_html/wp-content/plugins/akismet/akismet.php on line 62

    Please can you assist by removing the last few lines of code from the plugin editor screen, the code reads as follows:
    // enable
    toolbarElement.style.pointerEvents = “all”;

Viewing 1 replies (of 1 total)
  • Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    What file did you edit? NEVER NEVER NEVER NEVER (one more time… NEVER) use appearance->editor to edit ANYTHING. It is an evil menu item that should never have been put there.

    You’ll have to replace the file you messed up via FTP. It looks like you modified wp-content/plugins/akismet/akismet.php . IF that was the file, download a fresh copy of akismet from the plugin repository and upload it via FTP to your site, replacing the files that are there.

Viewing 1 replies (of 1 total)

The topic ‘Parse Error’ is closed to new replies.