Title: FooGallery causing script errors in WP Admin
Last modified: May 23, 2019

---

# FooGallery causing script errors in WP Admin

 *  Resolved [jrcwp](https://wordpress.org/support/users/jrcwp/)
 * (@jrcwp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/foogallery-causing-script-errors-in-wp-admin/)
 * In the admin sections, I get the warning below, and some functions are not working
   correctly. Only arises when accessing the FooGallery admin section.
 * “The specified value “!” does not conform to the required format. The format 
   is “#rrggbb” where rr, gg, bb are two-digit hexadecimal numbers.”
    [http://www.domain.com/wp-includes/js/jquery/jquery.js](http://www.domain.com/wp-includes/js/jquery/jquery.js)
 * Is there a fix for this error, and where to get at it?

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

 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/foogallery-causing-script-errors-in-wp-admin/#post-11567457)
 * [@jrcwp](https://wordpress.org/support/users/jrcwp/) I will double check this
   on my side, but what functions are not working correctly? I will test those too.
 * Also please confirm if this is a warning or an error? Warnings will not cause
   issues. Your title says “errors” but your body says “warnings”
 *  Thread Starter [jrcwp](https://wordpress.org/support/users/jrcwp/)
 * (@jrcwp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/foogallery-causing-script-errors-in-wp-admin/#post-11567844)
 * **1) What Functions are not working:**
 * On the “Edit Gallery” Page > Gallery Items/Manage Items Box
 * Click “Add Media” opens the “Add Media to Gallery” box:
 * — “Media Library” tab — No thumbs get loaded, and the “loading” spinner spins
   on forever.
 * — “Upload Files” tab — results in this error when uploading a new image: “An 
   error occurred in the upload. Please try again later”
 * **2) Re the Warning:**
 * The console “Warning” below only appears when in the FooGallery admin sections.
   It does not appear for any other WP admin menu items, including the WP Media 
   Library.
 * “The specified value “!” does not conform to the required format. The format 
   is “#rrggbb” where rr, gg, bb are two-digit hexadecimal numbers.”
    [http://www.domain.com/wp-includes/js/jquery/jquery.js](http://www.domain.com/wp-includes/js/jquery/jquery.js)
 * Thanks for the help.
 *  Thread Starter [jrcwp](https://wordpress.org/support/users/jrcwp/)
 * (@jrcwp)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/foogallery-causing-script-errors-in-wp-admin/#post-11573728)
 * **Issue #1 solved**
 * Detected and removed “byte order mark” (&#65279) being inserted in one or more
   files (cleaned a bunch so not sure exactly which file had it).
 * This resolved a display bug on the visitor side, and also FooGallery started 
   working too.
 * Still having issues with bug #2.
 *  Plugin Author [bradvin](https://wordpress.org/support/users/bradvin/)
 * (@bradvin)
 * [6 years, 11 months ago](https://wordpress.org/support/topic/foogallery-causing-script-errors-in-wp-admin/#post-11573768)
 * [@jrcwp](https://wordpress.org/support/users/jrcwp/) can you give me an example
   of one file where the “byte order mark” is? I do not know what this is.

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

The topic ‘FooGallery causing script errors in WP Admin’ is closed to new replies.

 * ![](https://ps.w.org/foogallery/assets/icon-256x256.gif?rev=2602542)
 * [Gallery by FooGallery](https://wordpress.org/plugins/foogallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/foogallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/foogallery/)
 * [Active Topics](https://wordpress.org/support/plugin/foogallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/foogallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/foogallery/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [bradvin](https://wordpress.org/support/users/bradvin/)
 * Last activity: [6 years, 11 months ago](https://wordpress.org/support/topic/foogallery-causing-script-errors-in-wp-admin/#post-11573768)
 * Status: resolved