G
G
g9052019-10-29 10:10:10
1C-Bitrix
g905, 2019-10-29 10:10:10

How to fix BX is not defined in admin panel?

On the element editing page (iblock_element_edit) in the console, errors "BX is not defined" are thrown.
If for the public part I found a solution with the JSCore connection, then for the admin panel the same thing does not work. I tried to push CJSCore::init to different places, like prolog_admin_before, init.php, header.php for admin, but it still doesn't help.
Moreover, after loading the page in the browser console, BX is completely defined and has all its properties and methods.
I cleared the cache, checked dbconn, etc. for encodings and extra characters.
Can you tell me where can I check?
Screenshot just in case
i.imgur.com/VU9McHq.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2019-10-29
Madzhugin @Suntechnic

well if

after loading the page in the browser console, BX is quite self-defined
, it seems to me it is necessary to deal with where and how it is called. Why does someone pull it BEFORE downloading the bible?
I would sin on some third-party solution installed on the site and working in the admin panel.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question