Skip ke Konten
Menu
Pertanyaan ini telah diberikan tanda
1 Balas
140 Tampilan

Hi all,

Backgound:

Odoo19 running in a docker compose configuration using the odoo19.0 official odoo docker image.


I get an error with the Zoom on click feature enabled for product images:

UncaughtPromiseError > OwlError


Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property)


Occured on safesun.co.za on 2025-10-27 13:25:36 GMT


OwlError: An error occured in the owl lifecycle (see this Error's "cause" property)

    Error: An error occured in the owl lifecycle (see this Error's "cause" property)

        at handleError (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:734:101)

        at App.handleError (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:1392:29)

        at RootFiber.complete (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:766:28)

        at Scheduler.processFiber (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:1362:43)

        at Scheduler.processTasks (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:1356:62)

        at https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:1353:67


Caused by: TypeError: Cannot read properties of null (reading 'addEventListener')

    at ProductImageViewer.<anonymous> (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:9965:1659)

    at RootFiber.complete (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:763:165)

    at Scheduler.processFiber (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:1362:43)

    at Scheduler.processTasks (https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:1356:62)

    at https://safesun.co.za/web/assets/1/cc17df6/web.assets_frontend_lazy.min.js:1353:67


Can someone please point me in he right direction to troubleshoot this?


Regards


Ignatius

Avatar
Buang
Jawaban Terbai

Check Image Container: Ensure the product image container is correctly rendered in HTML.


Clear Cache: Clear both Odoo’s frontend cache and your browser cache, then regenerate assets in Odoo settings.


Disable Customizations: Temporarily disable custom modules or JavaScript affecting product images to check for conflicts.


Check Logs: Look for any related errors in Odoo logs (under Settings > Technical > Logs).


Test with Default Config: Try replicating the issue on a fresh Odoo install to rule out configuration issues.


Avatar
Buang