This question has been flagged
1 Reply
1837 Views

Hi


I get this error when I try to edit the website page.



Error:

Rastreo de error:
TypeError: Cannot read property 'getRange' of undefined
    at https://www.website.es/web/content/201-37436d1/1/web.assets_common_lazy.js:5119:762
    at Function._.each._.forEach (https://www.website.es/web/content/201-37436d1/1/web.assets_common_lazy.js:9:558)
    at https://www.website.es/web/content/201-37436d1/1/web.assets_common_lazy.js:5119:662
    at async Class._startEditMode (https://www.website.es/web/content/221-5f70a34/1/website.assets_editor.js:56:26)
    at async Promise.all (index 0)



 


Odoo logs



odoo_1    | 2021-01-15 18:24:50,950 46 INFO ? werkzeug: 2.136.249.122 - - [15/Jan/2021 18:24:50] "GET /web/static/src/xml/dialog.xml?debug=1610735090914 HTTP/1.1" 200 - - - -
odoo_1    | 2021-01-15 18:24:50,971 47 INFO prod werkzeug: 2.136.249.122 - - [15/Jan/2021 18:24:50] "GET /web/image/website/1/favicon?unique=8d8cd7d HTTP/1.1" 200 - 4 0.002 0.017
odoo_1    | 2021-01-15 18:24:50,987 46 INFO ? werkzeug: 2.136.249.122 - - [15/Jan/2021 18:24:50] "GET /web/static/src/xml/crash_manager.xml?debug=1610735090963 HTTP/1.1" 200 - - - -



If I try to **install a theme** I get the next error:


Error:

Rastreo de error:
TypeError: Cannot read property 'getRange' of undefined
    at https://www.website.es/web/content/558-5b613db/1/web.assets_common_lazy.js:5119:762
    at Function._.each._.forEach (https://www.website.es/web/content/558-5b613db/1/web.assets_common_lazy.js:9:558)
    at https://www.website.es/web/content/558-5b613db/1/web.assets_common_lazy.js:5119:662
    at async Class._startEditMode (https://www.website.es/web/content/560-a4d178f/1/website.assets_editor.js:56:26)
    at async Promise.all (index 1)
    at async Promise.all (index 0)
    at async Promise.all (index 2)
    at async Promise.all (index 1)
    at async Promise.all (index 0)
    at async Promise.all (index 0)


I try uninstalling the ecommerce and website modules but It does not solve the problem. 


Any Ideas?

Odoo Version 14


Thanks in advance.

Avatar
Discard
Best Answer

Hi,

Have you installed any custom addons which depends on website, if yes, Please recheck the code.

or,Maybe there will be some issues in your addons, Please pull the latest addons from GitHub and check if the issue remains or not.

Thanks

Avatar
Discard