Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Call to a member function addDetails() on null #434

Closed
ObaydaAlesawi opened this issue Aug 28, 2020 · 8 comments
Closed

Call to a member function addDetails() on null #434

ObaydaAlesawi opened this issue Aug 28, 2020 · 8 comments

Comments

@ObaydaAlesawi
Copy link

ObaydaAlesawi commented Aug 28, 2020

Q A
Bug report? yes
Feature request? no
Library version 1.14
Larave version 7.0

I just installed the library and tried to use the command php artisan insights but I got an error.
image

Note: I am using windows as an OS

@50bhan
Copy link
Contributor

50bhan commented Aug 28, 2020

@Algeneralo I think your issue might be duplicate of #350. The cause of the error is mixed line endings. If you want to get rid of it quickly, fix your line ending, otherwise I will see if I can find a suitable workaround.

@50bhan
Copy link
Contributor

50bhan commented Aug 28, 2020

@Algeneralo BTW, I can't really create a file with mixed line endings! Which IDE/Editor do you use?

@ObaydaAlesawi
Copy link
Author

@Algeneralo I think your issue might be duplicate of #350. The cause of the error is mixed line endings. If you want to get rid of it quickly, fix your line ending, otherwise I will see if I can find a suitable workaround.

what do you mean by "fix your line ending"?
I'm using PhpStorm as an IDE

@50bhan
Copy link
Contributor

50bhan commented Sep 7, 2020

@Algeneralo I mean end of lines characters are mixed (some lines ended with "\n" and some with "\r\n" or something). Of course I'm not sure that your problem is related to this, but I just guess because in #350 the error was the same as yours and the problem was mixed line endings.

@ObaydaAlesawi
Copy link
Author

@50bhan do you have a solution for that issue?

@50bhan
Copy link
Contributor

50bhan commented Sep 7, 2020

@Algeneralo Unfortunately I'm not able to reproduce this issue! So I just assumed the problem is from mixed line ending. If you can send me your trouble maker file, I can find a workaround.

@ObaydaAlesawi
Copy link
Author

@nunomaduro any help with this issue?

@ObaydaAlesawi
Copy link
Author

I tracked the issue and there was a comma here
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants