I
I
IgorBorys2021-06-24 17:00:57
Bitrix24
IgorBorys, 2021-06-24 17:00:57

You need to constantly reset the cache in the boxed version of B24. How to fix the error?

Hello.
For several weeks now I have not been able to get a solution to this problem from the Bitrix24 technical support service.
I don't know when it happened or if it was the problem in the first place.
60d48c6b2e6ed953975330.png
Problems with constant cache flushing are observed on the following pages: store, crm, business robotization, sales center, websites, contact center, knowledge base, calendar.
Those. I go to one of these menu items and instead of the data in the workspace, there is an empty area. In order for them to appear there, you need to reset the cache.
Sinned on the composite mode. But turning it off didn't help.
After resetting the cache, the error from the console disappears.

script.js?162365046285348:221 
Uncaught TypeError: Cannot read property 'charAt' of null
    at BX.Main.interfaceButtons.init (script.js?162365046285348:221)
    at new BX.Main.interfaceButtons (script.js?162365046285348:94)
    at Object.init (script.js?162365046285348:3801)
    at (index):3108
    at ready (ready.js:22)
    at Array.forEach (<anonymous>)
    at HTMLDocument.<anonymous> (ready.js:35)


The error leads to the /bitrix/components/bitrix/main.interface.buttons/templates/.default/script.js file.
It differs from the demo file. Tried changing it, didn't help.
B24 and online stores are hosted on different domains.
I can throw off the screenshots of the settings if they relate to this error.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
IgorBorys, 2021-07-05
@IgorBorys

In my case, the problem was the third-party vrsoft.looplinks solution not working properly. There is no site selection option. Accordingly, this solution cut cyclic links on the Bitrix24 website and through this errors got out!

E
Edward, 2021-07-03
@Drayde

Try disabling merging js files and including minified versions.
https://dev.1c-bitrix.ru/learning/course/?COURSE_I...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question