Title: Added additional code to wrong page
Last modified: October 14, 2016

---

# Added additional code to wrong page

 *  [dscav](https://wordpress.org/support/users/dscav/)
 * (@dscav)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/added-additional-code-to-wrong-page/)
 * Hi –
    I was trying to address an issue with photo uploads, and accidentally added
   code to the wrong page. Now, when I try to edit or login, I get the following:
   define(â€˜WP_MEMORY_LIMITâ€™, â€™64MBâ€™); add_filter( â€˜wp_image_editorsâ€™,
   â€˜change_graphic_libâ€™ ); function change_graphic_lib($array) { return array(
   â€˜WP_Image_Editor_GDâ€™, â€˜WP_Image_Editor_Imagickâ€™ ); }
 * Suggestions?

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/added-additional-code-to-wrong-page/#post-8296050)
 * Can’t you remove that code?
 * Since you don’t have access to your admin area, use [FTP ](http://codex.wordpress.org/FTP_Clients),
   or your web-host’s cPanel or whatever file management application your host provides
   to edit the file in question (no Dashboard access required).

Viewing 1 replies (of 1 total)

The topic ‘Added additional code to wrong page’ is closed to new replies.

## Tags

 * [code error](https://wordpress.org/support/topic-tag/code-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/added-additional-code-to-wrong-page/#post-8296050)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
