Title: Undefined variable &#8211; Chatbot
Last modified: August 21, 2018

---

# Undefined variable – Chatbot

 *  Resolved [Richard](https://wordpress.org/support/users/rgenck/)
 * (@rgenck)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-60/)
 * I get the following error upon activating Chatbot:
 * Notice: Undefined variable: sdk_added_for_shortcode in /wp-content/plugins/wp-
   chatbot/inc/class-htcc-chatbot.php on line 90
 * I haven’t been able to use Chatbot for a few weeks now, I’m not sure why. I didn’t
   change any configurations or API info in the plugin, all the sudden it stopped
   working. This error could be from the update, or it could be the reason it stopped
   working a few weeks ago.
 * I’m using Generate Press and Elementor, and I think I was using this plugin a
   month or two ago without any issues.
    -  This topic was modified 7 years, 9 months ago by [Richard](https://wordpress.org/support/users/rgenck/).

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

 *  [bhvreddy](https://wordpress.org/support/users/bhvreddy/)
 * (@bhvreddy)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-60/#post-10611060)
 * HI,
 * Thanks a lot for reporting the issue
 * we just now fixed the issue and
    silently updated the plugin,
 * please delete the plugin and **re-install**
 * thanks a lot
 * Have a Great Day,
    Thank you
 *  Thread Starter [Richard](https://wordpress.org/support/users/rgenck/)
 * (@rgenck)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-60/#post-10614948)
 * Hi, I see the error has gone away after following your instructions, thank you!
 * I am still unable to use WP Chatbot, and have the following error: Refused to
   display ‘[https://www.facebook.com/v3.1/plugins/customerchat.php?&#8230](https://www.facebook.com/v3.1/plugins/customerchat.php?&#8230);.’
   in a frame because an ancestor violates the following Content Security Policy
   directive: “frame-ancestors [https://www.facebook.com&#8221](https://www.facebook.com&#8221);.
 * I thought it was because it isn’t configured correctly, but I have been unable
   to get it to work. I am using WP Chatbot on other sites without issue, any idea
   what I am doing wrong?
 *  Thread Starter [Richard](https://wordpress.org/support/users/rgenck/)
 * (@rgenck)
 * [7 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-60/#post-10616183)
 * This error was because I did not set it up correctly, the following webpage finished
   fixing these issues for me:
 * [https://www.holithemes.com/wp-chatbot/whitelisted-domains/](https://www.holithemes.com/wp-chatbot/whitelisted-domains/)

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

The topic ‘Undefined variable – Chatbot’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-chatbot_8774f8.svg)
 * [WP-Chatbot for Messenger](https://wordpress.org/plugins/wp-chatbot/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-chatbot/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-chatbot/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-chatbot/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-chatbot/reviews/)

## Tags

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

 * 3 replies
 * 0 participants
 * Last reply from: [Richard](https://wordpress.org/support/users/rgenck/)
 * Last activity: [7 years, 9 months ago](https://wordpress.org/support/topic/undefined-variable-60/#post-10616183)
 * Status: resolved