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

FatalErrorException Call to a member function getParentsAndYou() on null #1

Closed
khaerul10056 opened this issue Jul 10, 2017 · 7 comments

Comments

@khaerul10056
Copy link

[2017-07-10 09:43:44] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to a member function getUrlParentsAndYou() on null' in C:\xampp\htdocs\laravel-admin-starter\vendor\bpocallaghan\titan\src\Controllers\TitanWebsiteController.php:138
Stack trace:
#0 {main}
[2017-07-10 09:44:00] local.ERROR: exception 'Symfony\Component\Debug\Exception\FatalErrorException' with message 'Call to a member function getParentsAndYou() on null' in C:\xampp\htdocs\laravel-admin-starter\vendor\bpocallaghan\titan\src\Controllers\TitanWebsiteController.php:135
Stack trace:
#0 {main}

@bpocallaghan
Copy link
Owner

Hi there.
Do you mind having a look if its still showing the error for you?
I've just deployed a new release (did not put site in maintenance mode as it was only a few files)
You might've requested that file just as I uploaded that file?

I am going to download the log file now - mind sharing the url if error is still showing?

Thanks!

@khaerul10056
Copy link
Author

khaerul10056 commented Jul 10, 2017 via email

@bpocallaghan
Copy link
Owner

bpocallaghan commented Jul 10, 2017

Aaah, sorry, I thought it was on the live server.

That is usually if no navigation was imported in the database (table navigation_website is empty)
You can test this by adding dd($nav); at line 130 in TitanWebsiteController.php and see what the response is.
Or you can run php artisan db:seed to import the navigation into the database. This should hopefully fix it.

Please let me know if this did not fix the issue.

@khaerul10056
Copy link
Author

khaerul10056 commented Jul 10, 2017 via email

@bpocallaghan
Copy link
Owner

Hi dude, Unfortunately I am not seeing the image you've attached.
If you want - you can send me a mail at bpocallaghan @ gmail
Might be a bit faster to resolve the issue :)

@bpocallaghan
Copy link
Owner

bpocallaghan commented Jul 10, 2017

Fixed with upgrading bpocallaghan/titan package to 0.2.4

@khaerul10056
Copy link
Author

khaerul10056 commented Jul 10, 2017 via email

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