Ir al contenido
Menú
Se marcó esta pregunta
1 Responder
3218 Vistas

In case anyone gets this error suddenly, 

Error

Uncaught Promise > An error occured in the owl lifecycle (see this Error's "cause" property).....Caused by: SyntaxError: Unexpected token '<', "<!DOCTYPE "... is not valid JSON


.....

Avatar
Descartar
Autor Mejor respuesta

we solved it as follows:

  1. Debug and find the app causing the issue 
  2. Upgrade the Odoo App/Module with the issue
    1. It’s related to the JavaScript files on the server I believe, upgrading the app forced it to get regenerated
  3. In your user browser, Open the dev tools (Ctl shift +i) then go to the application section and storage. Remove all the cache and reset databases.
  4. Clear all browser caches


Feedback for Odoo: Debugging this issue was a challenge, "Odoo need to make their JavaScript debugging better"


Hope that helps!

Avatar
Descartar
Publicaciones relacionadas Respuestas Vistas Actividad
0
abr 25
665
0
jul 25
163
1
jul 25
4952
0
jul 25
481
0
jun 25
592