Laravel-JS-Localization icon indicating copy to clipboard operation
Laravel-JS-Localization copied to clipboard

lang.js in Lang._getMessage error Cannot read property 'source' of null

Open gtlkirit opened this issue 7 years ago • 4 comments

Hello,

We are facing issue after upgrading Laravel 5.7, can some one please check this issue and try to fix it if possible soon, there is around 1k log error I seen in my sentry account.

lang.js in Lang._getMessage error Cannot read property 'source' of null

Thank in advance.

gtlkirit avatar Oct 16 '18 05:10 gtlkirit

Hey there! Right now, I'm a bit busy with GitHub Universe... Can you check the structure of messages passes on initialization?

On Mon, Oct 15, 2018, 22:52 Kirit Gothi [email protected] wrote:

Hello,

We are facing issue after upgrading Laravel 5.7, can some one please check this issue and try to fix it if possible soon, there is around 1k log error I seen in my sentry account.

Thank in advance.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/rmariuzzo/Laravel-JS-Localization/issues/128, or mute the thread https://github.com/notifications/unsubscribe-auth/AAa2HwfDVNQGXJ7sNhNR31mSFVoFkJ7qks5ulXQjgaJpZM4XdoJb .

rmariuzzo avatar Oct 16 '18 13:10 rmariuzzo

Hey, Thanks for the reply.

Yes, structure is correct with object and have correct key and message for both language,. Issue not coming every time, but sentry show log multiple.

gtlkirit avatar Oct 16 '18 14:10 gtlkirit

The fact that the issue is not coming every time can be tricky. @gtlkirit can you post more detail of the error reported? I'm willing to create a test case to reproduce that particular issue.

rmariuzzo avatar Oct 16 '18 19:10 rmariuzzo

Here is screenshot of that error log which is my sentry log.

2018-10-17_0934

Error reported in most of all known browser and Windows, IOS and Android Os.

gtlkirit avatar Oct 17 '18 04:10 gtlkirit