"An unexpected error has occured" upon page creation #3659
Replies: 10 comments
-
well, I think there's one log you forgot, the browser console. Can you please check your browser's DevTools? See if there's any console output there. |
Beta Was this translation helpful? Give feedback.
-
Good idea. Here's what I found from the firefox console:
|
Beta Was this translation helpful? Give feedback.
-
is this happen with other browsers? |
Beta Was this translation helpful? Give feedback.
-
I have not seen it in any other browser |
Beta Was this translation helpful? Give feedback.
-
It could be only your browser problem I think. Can you try with private mode? See if this still happens? Btw, what is your Firefox version? |
Beta Was this translation helpful? Give feedback.
-
I just tried in Private Mode and still get the error. I'm using firefox 74.0.1 on macOS 10.15.4. Here's a screenshot of the errors if that helps at all. Also, I'm not sure if it's related but when I create a new page by following a link to a page that doesn't exist yet, once the page gets created and I get this error, the original link does not change from red to blue to indicate that the page exists. I can click the link to get to the new page and it works but that link stays red. |
Beta Was this translation helpful? Give feedback.
-
I think this is related with your other issue #1708. I think somehow Wiki.js confused what current locale are. What is your locale should be? Arabic? Or else?
|
Beta Was this translation helpful? Give feedback.
-
My locale is whatever a normal locale in Canada should be, I'm assuming. How do I go about figuring that out? Also, just for the heck of it, I deployed the docker container along with the postgresql container as per the example docker-compose file in the doc and I'm seeing the same behaviour. Same thing with the links not turning blue. |
Beta Was this translation helpful? Give feedback.
-
I just found how to make the links turn blue. Once the page has been created, saved and rendered, you go back and edit the page you just created and modify it. Once you saved it again, the link will turn from red to blue. I'm guessing it has something to do with the db somehow. |
Beta Was this translation helpful? Give feedback.
-
The same error is appearing with Firefox 75.0 (64-bit) Windows and wiki.js 2.3.81. There's a single GraphQL request that being made that appears related. The ID property ( Query {
"0": {
"extensions": {},
"operationName": null,
"query": "query ($id: Int!, $checkoutDate: Date!) {\n pages {\n checkConflicts(id: $id, checkoutDate: $checkoutDate)\n __typename\n }\n}\n",
"variables": {
"checkoutDate": "2020-05-04T17:14:04.997Z",
"id": 0
}
}
} |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
Every time a new page is created in markdown or WYSIWYG format, I get a small red box that appears at the top that reads "An unexpected error has occurred" this error message appears for a very brief period of time. The page then goes on to get created and nothing else appears to be out of place. The page renders properly. I've looked at the logs and no error appears.
To Reproduce
Steps to reproduce the behavior:
Screenshots
The error message:
Host Info (please complete the following information):
Beta Was this translation helpful? Give feedback.
All reactions