Issue Summary:
I am encountering a critical issue when attempting to use Elementor Theme Builder. The UI fails to load properly and throws the following JavaScript error in Elementor theme builder:
SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
What I’ve Found:
All network (XHR) requests show a 200 OK status in DevTools
However, inspecting the response body of those requests shows that they contain a PHP Notice instead of valid JSON
The notice (in Georgian) says:
Notice: ფუნქცია is_feed გამოძახებულია არასწორად. პირობითი ტეგები არ მუშაობს, სანამ მოთხოვნა გაშვებულია. ამ მომენტამდე ის ყოველთვის დააბრუნებს false-ს. გთხოვთ იხილოთ გამართვა WordPress-ში დამატებითი ინფორმაციისათვის. (ეს შეტყობინება გაიგზავნა 3.1.0 ვერსიიდან.) in /wp-includes/functions.php on line 6121
Translated, it reads:
Notice: The function is_feed() was called incorrectly. Conditional tags do not work before the query is run. Before then, it will always return false. Please see Debugging in WordPress for more information. This notice was triggered in version 3.1.0.
What I Need from You:
Please review your theme’s code (or any bundled plugins or child themes) and locate any early calls to is_feed() outside the correct hook context (e.g., before wp, template_redirect, etc.).
It’s likely the function is being called too early — which triggers the PHP notice and corrupts AJAX responses.