© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
FilamentF
Filament•2y ago•
2 replies
azizyartas

[Error] Unhandled Promise Rejection: SyntaxError: JSON Parse error: Unexpected identifier "x".

When I type php artisan serve to run the application at first, it writes a letter x as shown in the picture. Then I press the log in button to log in, I encounter this error on my console. what do i need to do?
Screenshot_2024-09-10_at_22.34.05.png
Screenshot_2024-09-10_at_22.35.28.png
Solution
The problem is caused by the activity log plugin.
I solved it by doing
composer remove rmsramos/activitylog.
composer remove rmsramos/activitylog.
Jump to solution
Filament banner
FilamentJoin
A powerful open source UI framework for Laravel • Build and ship admin panels & apps fast with Livewire
20,307Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

LocationResource - Uncaught SyntaxError: JSON.parse: unexpected end of data
FilamentFFilament / ❓┊help
3y ago
"Uncaught SyntaxError: Unexpected end of JSON input" console error when viewing or editing resource
FilamentFFilament / ❓┊help
3y ago
Sometimes In Production | Livewire JSON parse error: Unexpected non-whitespace character at position
FilamentFFilament / ❓┊help
6mo ago
syntax error, unexpected identifier "Stat", expecting "function" or "const"
FilamentFFilament / ❓┊help
3y ago