Title: warning array_key_exists() expects parameter 2 to be array string given in
Last modified: October 15, 2018

---

# warning array_key_exists() expects parameter 2 to be array string given in

 *  Resolved [xjunaid](https://wordpress.org/support/users/xjunaid/)
 * (@xjunaid)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-string-given-in/)
 * I am unable to add SVG on the menu bar.
    It gives the below error
 * : array_key_exists() expects parameter 2 to be array, string given in
    /homepages/
   25/d716550698/htdocs/clickandbuilds/LombardyDev/wp-content/themes/coyote/framework/
   lib/edgt.functions.php
 * on the other hand, i have SVG working on this page
 * I have tried with both enabling and disabling forced inline svg option
 * Can you advise any suitable fix for this error.
 * thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-array_key_exists-expects-parameter-2-to-be-array-string-given-in%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-string-given-in/#post-10192022)
 * Hello,
 * Firstly, sorry for the late reply! I didn’t get an email notification (again…
   it’s not the first time unfortunately). I stumbled across this when cleaning 
   up unresolved posts.
 * Anyway, how did you go with this? Did you figure out why you were getting the
   error? I don’t think it is to do with my plugin, but I’m willing to help if I
   can.
 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-string-given-in/#post-10195704)
 * I just pushed out an update (2.3.13) that may have fixed this issue. Please report
   back about whether you are still experiencing this or not after running the latest
   version of SVG Support.
 *  Plugin Author [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * (@benbodhi)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-string-given-in/#post-10716523)
 * I’ll mark this as resolved for now, but please don’t hesitate to share if you
   still have issues.

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

The topic ‘warning array_key_exists() expects parameter 2 to be array string given
in’ is closed to new replies.

 * ![](https://ps.w.org/svg-support/assets/icon.svg?rev=3554681)
 * [SVG Support](https://wordpress.org/plugins/svg-support/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/svg-support/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/svg-support/)
 * [Active Topics](https://wordpress.org/support/plugin/svg-support/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/svg-support/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/svg-support/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Benbodhi](https://wordpress.org/support/users/benbodhi/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/warning-array_key_exists-expects-parameter-2-to-be-array-string-given-in/#post-10716523)
 * Status: resolved