跳至內容
選單
此問題已被標幟
1 回覆
4079 瀏覽次數

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


.....

頭像
捨棄
作者 最佳答案

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!

頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
0
4月 25
1219
0
7月 25
751
1
7月 25
5858
0
7月 25
1467
0
6月 25
1383