Title: limest's Replies | WordPress.org

---

# limest

  [  ](https://wordpress.org/support/users/limest/)

 *   [Profile](https://wordpress.org/support/users/limest/)
 *   [Topics Started](https://wordpress.org/support/users/limest/topics/)
 *   [Replies Created](https://wordpress.org/support/users/limest/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/limest/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/limest/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/limest/engagements/)
 *   [Favorites](https://wordpress.org/support/users/limest/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kognetiks Chatbot for WordPress] Error: Duplicate request detected.](https://wordpress.org/support/topic/error-duplicate-request-detected/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [7 months ago](https://wordpress.org/support/topic/error-duplicate-request-detected/#post-18763782)
 * Hi Stephen,
 * Thank you for the quick update! I downloaded and checked the latest version from
   your link, but I noticed the changes you mentioned don’t appear to be included:
 * 1. Headers Already Sent Warning
   The kognetiks_assign_unique_id() function in 
   chatbot-chatgpt.php (lines 53-63) still has setcookie() without a headers_sent()
   check.
 * 2. Retry Limit
   In chatbot-call-openai-api-assistant.php $maxRetries is still 
   set to 10, not 3.
 * Also, there’s no detection of consecutive failed status to stop retrying early
   when OpenAI keeps returning errors.
 * 3. Ukrainian Translation Files
   The following files are not present in the ZIP:
    - chatbot-globals-uk.php
    - uk.php
 * Only CS, DE, EN, ES, FR, IT, PL, PT, and RU are included.
 * Could you please verify you uploaded the correct ZIP file? Perhaps an older version
   was uploaded by mistake?
 * I’ve implemented my own fixes for all the issues mentioned, so I consider this
   resolved on my end. I’m happy to share my changes if useful for the official 
   release.
 * Thank you!
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kognetiks Chatbot for WordPress] Error: Duplicate request detected.](https://wordpress.org/support/topic/error-duplicate-request-detected/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [7 months ago](https://wordpress.org/support/topic/error-duplicate-request-detected/#post-18763427)
 * Thank you for the quick response and the updated version!
 * **Important clarification:** I only have ONE shortcode on my site: [chatbot-2]
   which calls a single assistant. I don’t use multiple chatbots on the same page.
   The issue was that this single assistant shortcode wasn’t working at all (returning“
   error” with no response), while [chatbot] (general API) worked fine.
 * I tested the version you provided, but still encountered some issues that I had
   to fix:
 * 1. Headers Already Sent Warning (line 58)
   The setcookie() in kognetiks_assign_unique_id()
   still triggers a warning when headers are already sent. I added a headers_sent()
   check:
 *     ```wp-block-code
       if (!headers_sent()) {    setcookie(...);}
       ```
   
 * 2. Infinite Retry Loop on Failed Runs
   When OpenAI returns status: failed, the
   code keeps creating new runs in an infinite loop until timeout. I added detection
   of failed status and automatic stop after a few consecutive failures.
 * 3. Root Cause of **My Original Issue**
   The assistant was failing because:
    - `max_prompt_tokens` was set too low (2000) for my assistant instructions (
      ~5000+ tokens)
    - The model was returning server_error with very long instructions
    - I had file_search enabled without a Vector Store attached
 * After shortening my instructions and moving content to a Vector Store file, everything
   works now.
 * 4. Ukrainian Translation Files
   I created translation files for my Ukrainian-Spanish
   site:
    - uk.php
    - chatbot-globals-uk.php
 * If you’re interested, I can send you the Ukrainian translation files for other
   Ukrainian users.
 * Best regards
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kognetiks Chatbot for WordPress] Error: Duplicate request detected.](https://wordpress.org/support/topic/error-duplicate-request-detected/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [7 months ago](https://wordpress.org/support/topic/error-duplicate-request-detected/#post-18763332)
 * Thank you.
   I installed the new version and checked it.
 * My debug.log:
   [Chatbot] [chatbot-analytics.php] Translation file not found for
   uk. Falling back to: /www/wp-content/plugins/chatbot-chatgpt/includes/analytics//
   languages/en_US.phpPHP Warning: Cannot modify header information – headers already
   sent in /www/wp-content/plugins/chatbot-chatgpt/chatbot-chatgpt.php on line 58The
   chatbot error log only shows:[Chatbot] **[ERROR]** [2025-12-20 19:31:15] [Session
   ID: N/A] [User ID: 1] [IP Address: xxxxxx] [**Error**:] []I just discovered one
   nuance – it occurs when I use the assistant shortcode [chatbot-2] instead of 
   the shortcode [chatbot]. The shortcode appears only once on the page. If I use
   the universal shortcode [chatbot], I get both the logs on the OpenAI platform
   and the bot’s responses. But not my assistant’s. But I have a shortcode configured
   in the GPT Assistants section. I’m confused.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Kognetiks Chatbot for WordPress] Error: Duplicate request detected.](https://wordpress.org/support/topic/error-duplicate-request-detected/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [7 months ago](https://wordpress.org/support/topic/error-duplicate-request-detected/#post-18763279)
 *     ```wp-block-code
       Hi, Stephen and thank you.Unfortunately, it didn't help.When sending a message (e.g., “test”), the chatbot returns “error”.I did as you recommended. I've cleared and disabled LiteSpeedCache plugin, cleared Cloudflare cache.This is my system:Chatbot Version: 2.4.0PHP Version: 8.3.25PHP Memory Limit: 1024MWordPress Version: 6.9API STATUS: Success: Connection to the OpenAI API was successful!I haven't been monitoring the use of the plugin for several months, so I can't even say when exactly the problem appeared.These logs may be helpful:[Chatbot] [ERROR] [2025-12-20 17:24:23] [Session ID: N/A] [User ID: 1] [IP Address: xxxxxx] [Error:] [][Chatbot] [ERROR] [2025-12-20 17:24:59] [Session ID: N/A] [User ID: 1] [IP Address: xxxxxx] [Error:] [][2025-12-20 17:30:53] [Chatbot] [Advanced Reset] Cache and locks reset by admin user ID: 1 - Cleared 55 entriesTest email from the Chatbot Conversation Digest system (my message appears 2-3 times, even though I only sent it once):[2025-12-20 19:14:20] Visitor: hi[2025-12-20 19:17:09] Visitor: hi[2025-12-20 19:17:11] Chatbot: The system is busy processing requests. Please try again later.[2025-12-20 19:55:51] Visitor: test[2025-12-20 19:58:53] Visitor: test[2025-12-20 20:01:54] Visitor: testI found out that the OpenAI platform logs contained the following inputs:System: You are a test function for Chat.User: Write a one sentence response to this test message.Instead of my messages. And as I see it, these are some kind of test inputs for the chatbot, not my “hi” messages to the assistant. 
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Essential Addons for Elementor - Popular Elementor Templates & Widgets] Post grid – Load more button not working](https://wordpress.org/support/topic/post-grid-load-more-button-not-working-3/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/post-grid-load-more-button-not-working-3/#post-17784612)
 * Sorry for the delay in getting back to you. The site owner has decided not to
   change anything yet, so you can close the ticket. Thank you for trying to help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Essential Addons for Elementor - Popular Elementor Templates & Widgets] Post grid – Load more button not working](https://wordpress.org/support/topic/post-grid-load-more-button-not-working-3/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/post-grid-load-more-button-not-working-3/#post-17763395)
 * Thank you for your reply and for trying to help. The site uses Essential Addons
   for Elementor free version 5.9.21. From the beginning of my work on the customer’s
   site, the plugin was version 3.9.15, and then I updated to the latest version–
   5.9.21. 
   There were also problems with the server, we transferred it to another
   VPS, tried different versions of php (up to 8.2), and settled on 7.4 because 
   it was an outdated theme without the possibility of updates. We also tried to
   test it with the twenty three theme. But there was a fatal error on the site,
   so I can’t say whether the button would work with it. We had to return to the
   current theme.At the moment, the owner of the site has disabled the button on
   my recommendation. If it is possible, I will write back after the weekend when
   she is ready to enter the admin panel.There are 3-4 java script errors in the
   console, but they relate to outdated cherry plugins, which are also duplicated
   in the theme. No notification about Essential Addons for Elementor until you 
   click on the button. Caching is now enabled on the site, but we tested without
   it, as I wrote earlier
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Free Shipping Bar for WooCommerce] No message is displayed on the top bar (Polylang)](https://wordpress.org/support/topic/no-message-is-displayed-on-the-top-bar-polylang/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/no-message-is-displayed-on-the-top-bar-polylang/#post-17757162)
 * Thank you! This version works for me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Free Shipping Bar for WooCommerce] No message is displayed on the top bar (Polylang)](https://wordpress.org/support/topic/no-message-is-displayed-on-the-top-bar-polylang/)
 *  Thread Starter [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/no-message-is-displayed-on-the-top-bar-polylang/#post-17755381)
 * I have disabled WP Rocket and cleared the browser page cache, if it is important
   to know. Also, in the HTML, the div tag with id=wfspb-main-content is empty (
   where the message should be). The developer tools console does not contain any
   errors related to this plugin. It is important for me to understand whether this
   situation can be fixed so that I know whether to recommend the client to buy 
   the pro version
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Currency per Product for WooCommerce] Dont convert sale price](https://wordpress.org/support/topic/dont-convert-sale-price/)
 *  [limest](https://wordpress.org/support/users/limest/)
 * (@limest)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/dont-convert-sale-price/#post-17563535)
 * I have the same problem. I see the topic is resolved now. But there is no answers.
   How can I solve this problem when the crossed-out price remains with the original
   currency?

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