Title: [Plugin: AG Custom Admin] Broken Media Upload
Last modified: August 20, 2016

---

# [Plugin: AG Custom Admin] Broken Media Upload

 *  [Don Elliott](https://wordpress.org/support/users/donisflying/)
 * (@donisflying)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-ag-custom-admin-broken-media-upload/)
 * Everything is working fine except when I go to use the WP media uploader on any
   page/post, etc. I get the following error:
 * AGCA – ADMIN ERROR: TypeError / ‘null’ is not an object (evaluating ‘alltext.
   replace’)
 * When I press ‘ok’ in the error window everything continues to work fine. Any 
   idea how to fix this?
 * [http://wordpress.org/extend/plugins/ag-custom-admin/](http://wordpress.org/extend/plugins/ag-custom-admin/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [WAP Support](https://wordpress.org/support/users/argonius/)
 * (@argonius)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-ag-custom-admin-broken-media-upload/#post-2362617)
 * It seems that this problem is related to specific WP version, and AG Custom Admin
   version. Could you provide this info for testing?
 * Here is a quick fix:
    – open plugin.php and find the line that start with: “alltext
   = alltext.replace(“ (without quotes)
 * – add // on line beggining to comment this line (or delete this line)
 * You should not receive this error anymore, but option for changing Howdy text
   would not work.
 * Regards,
    Argonius
 *  Thread Starter [Don Elliott](https://wordpress.org/support/users/donisflying/)
 * (@donisflying)
 * [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-ag-custom-admin-broken-media-upload/#post-2362618)
 * Argonius,
 * Thank you that worked!
 * As for our current WP environment:
    - WordPress: 3.2.1 with Multiuser enabled
    - AG Custom Admin: 1.2.5
    - Fluency Admin: 3.2
    - Admin Menu Editor: 1.1.5
 * I included two other plugins we are using that have some cross over with AG. 
   I realize it’s not ideal to have 3 plugins working to achieve a similar effect,
   but we have a specific need that I can only seem to accomplish with all 3 at 
   once. However, I have a feeling this particular issue may have been an issue 
   with the MU setup.
 * I hope that helps! Thank you very much for the response.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: AG Custom Admin] Broken Media Upload’ is closed to new replies.

 * ![](https://ps.w.org/ag-custom-admin/assets/icon.svg?rev=2928712)
 * [AGCA - Custom Dashboard & Login Page](https://wordpress.org/plugins/ag-custom-admin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ag-custom-admin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ag-custom-admin/)
 * [Active Topics](https://wordpress.org/support/plugin/ag-custom-admin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ag-custom-admin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ag-custom-admin/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Don Elliott](https://wordpress.org/support/users/donisflying/)
 * Last activity: [14 years, 6 months ago](https://wordpress.org/support/topic/plugin-ag-custom-admin-broken-media-upload/#post-2362618)
 * Status: not resolved