Title: Can&#8217;t access wp-admin after using plugin
Last modified: December 15, 2016

---

# Can’t access wp-admin after using plugin

 *  Resolved [jondanks31](https://wordpress.org/support/users/jondanks31/)
 * (@jondanks31)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/cant-access-wp-admin-after-using-plugin/)
 * Hello,
 * We’re having trouble accessing the admin end of our site. The last plugin we 
   installed was scripts n’ styles. Basically, I added some Javascript (which I 
   presume was broken and/or outdated, as it was copied from Github) and it didn’t
   work. So we deleted the javascript, saved the changes, and uninstalled the plugin
   as it was no longer needed. However, since we un-installed the plugin, we haven’t
   been able to access the admin area to make changes to our site.
 * When I inspect the element of the page, the console shows me two syntax errors
   from the custom code I added in via the plugin – which I would have thought would
   have been deleted when we deleted the javascript from the files and saved the
   changes and deleted the plugin.But we can’t access the admin area to edit the
   files. I’ve tried going through the back end using an FTP client and via the 
   putty terminal, but we’ve searched what seems to be every single file we can 
   find, and we can’t find the code at all.
 * Where would scripts n’ styles save the custom javascript? Or is there any other
   fix to this issue?
 * The website: [http://digital3rd.org/](http://digital3rd.org/)
    When you inspect
   the console, the errors are on line 128 and line 498.
 * Kind regards,
    Jon

Viewing 1 replies (of 1 total)

 *  Plugin Author [WraithKenny](https://wordpress.org/support/users/wraithkenny/)
 * (@wraithkenny)
 * [9 years, 4 months ago](https://wordpress.org/support/topic/cant-access-wp-admin-after-using-plugin/#post-8671046)
 * The plugin only saves data via the metadata api and options api (database thru
   approved wp functions) not physical files. Uninstalling the plugin removes the
   metadata/options. The plugin, if uninstalled, should not leave any files behind
   at all, and because of the way WordPress works, any non-deleted files should 
   not run either (regardless of how this plugin works or doesn’t).
 * It’s possible that you used the Theme Editor to add javascript to a file. If 
   so, that’s actually WordPress Core’s functionality, not this plugin (this plugin
   only adds syntax highlighting to the editor). In which case, yes, the code would
   be present in what ever file you edited.

Viewing 1 replies (of 1 total)

The topic ‘Can’t access wp-admin after using plugin’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/scripts-n-styles_46515d.svg)
 * [Scripts n Styles](https://wordpress.org/plugins/scripts-n-styles/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/scripts-n-styles/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/scripts-n-styles/)
 * [Active Topics](https://wordpress.org/support/plugin/scripts-n-styles/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/scripts-n-styles/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/scripts-n-styles/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [WraithKenny](https://wordpress.org/support/users/wraithkenny/)
 * Last activity: [9 years, 4 months ago](https://wordpress.org/support/topic/cant-access-wp-admin-after-using-plugin/#post-8671046)
 * Status: resolved