Chatbot not working for guests

First of all, this is the coolest plugin I’ve tested in the last 15 years or so!

The chatbot does not respond to guests but works for signed-in users. This was tested on WordPress 6.4.2, with AI Engine 2.1.6 (free and pro), Twenty Eleven Theme, and no other plugins active.

This is the error message in the console:

An error happened in the handling of the chatbot response. Objecterr: ReferenceError: data is not defined
    at p (
    at Generator.<anonymous> (
    at Generator.throw (
    at qt (
    at l ( "data is not defined"stack: "ReferenceError: data is not defined\n    at\n    at p (\n    at Generator.<anonymous> (\n    at Generator.throw (\n    at qt (\n    at l ("[[Prototype]]: Errorconstructor: ƒ ReferenceError()message: ""name: "ReferenceError"[[Prototype]]: Object[[Prototype]]: Objectconstructor: ƒ Object()hasOwnProperty: ƒ hasOwnProperty()isPrototypeOf: ƒ isPrototypeOf()propertyIsEnumerable: ƒ propertyIsEnumerable()toLocaleString: ƒ toLocaleString()toString: ƒ toString()valueOf: ƒ valueOf()__defineGetter__: ƒ __defineGetter__()__defineSetter__: ƒ __defineSetter__()__lookupGetter__: ƒ __lookupGetter__()__lookupSetter__: ƒ __lookupSetter__()__proto__: (...)get __proto__: ƒ __proto__()set __proto__: ƒ __proto__()
(anonymous) @ chatbot.js?ver=1705852527:2


This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer