Closed 1988gadocansey closed 3 years ago
i am facing the same challenge... after sign up or log in
I have solved by simple command "composer install".
Good day,
I am still failing to get into the Home page even after running the composer install command. It's just showing me an error page.
Regards SPK
On Sat, Feb 8, 2020 at 2:10 PM mauliksavaliya notifications@github.com wrote:
I have solved by simple command "composer install".
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lvntayn/laravel-social-network/issues/20?email_source=notifications&email_token=ANXF7ZS424JHYCNSIAIS4TLRB2OL5A5CNFSM4KCDG542YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFQOHA#issuecomment-583730972, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXF7ZQKETNA4RDVRQJGF4LRB2OL5ANCNFSM4KCDG54Q .
Good day, I am still failing to get into the Home page even after running the composer install command. It's just showing me an error page. Regards SPK … On Sat, Feb 8, 2020 at 2:10 PM mauliksavaliya @.***> wrote: I have solved by simple command "composer install". — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#20?email_source=notifications&email_token=ANXF7ZS424JHYCNSIAIS4TLRB2OL5A5CNFSM4KCDG542YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFQOHA#issuecomment-583730972>, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXF7ZQKETNA4RDVRQJGF4LRB2OL5ANCNFSM4KCDG54Q .
try this one it worked for me edit the following file app\Models\User.php in line 66, change from this
if (count($this->$Model) > 0) return true; into if ($this->Model !== null && count($this->$Model) > 0) return true;
thank you so much this worked but it no longer authenticates
On Sat, Feb 15, 2020 at 7:04 AM Raam124 notifications@github.com wrote:
Good day, I am still failing to get into the Home page even after running the composer install command. It's just showing me an error page. Regards SPK … <#m-4061646451774502252> On Sat, Feb 8, 2020 at 2:10 PM mauliksavaliya @.***> wrote: I have solved by simple command "composer install". — You are receiving this because you commented. Reply to this email directly, view it on GitHub <
20 https://github.com/lvntayn/laravel-social-network/issues/20?email_source=notifications&email_token=ANXF7ZS424JHYCNSIAIS4TLRB2OL5A5CNFSM4KCDG542YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOELFQOHA#issuecomment-583730972>,
or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXF7ZQKETNA4RDVRQJGF4LRB2OL5ANCNFSM4KCDG54Q .
try this one it worked for me edit the following file app\Models\User.php in line 66, change from this
if (count($this->$Model) > 0) return true; into if ($this->Model !== null && count($this->$Model) > 0) return true;
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/lvntayn/laravel-social-network/issues/20?email_source=notifications&email_token=ANXF7ZSVD77CPN6LSFQTER3RC5ZU7A5CNFSM4KCDG542YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEL3B2FY#issuecomment-586554647, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANXF7ZVFCM2RTOCXLBMP6W3RC5ZU7ANCNFSM4KCDG54Q .
count(): Parameter must be an array or an object that implements Countable (View: /Applications/www/social_laravel/resources/views/layouts/app.blade.php) (View: /Applications/www/social_laravel/resources/views/layouts/app.blade.php)