Uncaptured server errors on 404
See original GitHub issueIt looks like right now the server reports 404’s on the console. Sometimes like this (http://localhost:3000/category/performance/):
An error ocurred fetching '/category/mobile-performance/':
Error: Entity of from endpoint 'categories' with slug 'mobile-performance' not found
at Api.getIdBySlug (webpack-internal:///./node_modules/@frontity/wp-source/src/libraries/api.ts:9:227)
at process._tickCallback (internal/process/next_tick.js:68:7)
and sometimes like this (http://localhost:3000/page/8):
An error ocurred fetching '/':
TypeError: Cannot destructure property `id` of 'undefined' or 'null'.
at entityList.map (webpack-internal:///./node_modules/@frontity/wp-source/src/libraries/populate.ts:6:47)
at Array.map (<anonymous>)
at populate (webpack-internal:///./node_modules/@frontity/wp-source/src/libraries/populate.ts:6:43)
at process._tickCallback (internal/process/next_tick.js:68:7)
Issue Analytics
- State:
- Created 4 years ago
- Comments:12 (8 by maintainers)
Top Results From Across the Web
javascript returning 404 error and uncaught reference
js not loaded or not found on your server. Do you have main.js . As mentioned in the docs: data-main attribute tells require.js...
Read more >How to Fix Error 404 Not Found on Your WordPress Site - Kinsta
The Error 404 Not Found status code indicates that the origin server did not find the target resource. Check out these common causes...
Read more >404 Not Found Error: What It Is and How to Fix It - Airbrake Blog
The 404 Not Found Error is an HTTP response status code, which indicates that the requested resource could not be found. Like most...
Read more >Website Hanging – Error 404 and 500 on Admin Page
htaccess rule could be the source of the problem. To check for this, access your server via SFTP or FTP, or a file...
Read more >Solved: 404 - The requested resource cannot be found. The...
Already tried using LOCALHOST inside the server, but same errors show. ... CI\svc_qliksensedev Almost uncaught exception caught in ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yeah, well, most cases are expected to return with a
404
page but not all of them (for example, when the server returns a500
error). And it would also be nice if the error messages were more descriptive for developers.We have to think of a good way to handle errors.
Closed as this doesn’t seem to be an issue anymore.