To enable error reporting make sure the debug mode is set to true in app/config/app.php.
Also make sure you have the errors turned on in your PHP config file (php.ini).

Ajax Errors

If you get an unexpected error (Oops! Something went wrong.), you can use browser dev tools to see the errors and response from the server.

In Google Chrome, right-click and select Inspect, or use the keyboard shortcut: Ctrl+Shift+I (or Cmd+Opt+I on Mac).

Navigate to the Console tab to see potential JavaScript errors and the Network tab to see the requests/responses when you upload files (make sure Record Network Log is on).

If you get errors about the "Request Origin" request make sure you accept the request in ajax.php from where you send it by adding:


Error Handling

EasyLogin Pro comes with a whoops error handling. However, if you want to disable it open app/init.php search for "Register Custom Exception Handling" and delete/comment this line: