In a recent Laravel project I needed a way to get pretty URLs BUT to ensure that they are unique. You might think, why not just set the column to UNIQUE in SQL? Simple, with a multi-tenant setup we needed it unique but only unique to the tenant but we...
[SOLVED] events.js:160 throw er; // Unhandled ‘error’ event
In a recent Laravel project I came across this rather annoying error: events.js:160 throw er; // Unhandled 'error' event Though I didn't save the text of the whole error, here's a screenshot of the ending part of the error log: The solution: It's really easy. All this really means...