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

Error: Method Illuminate\Database\Query\Builder::customers does not exist. #10

Closed
j-dohnalek opened this issue Oct 25, 2018 · 3 comments
Assignees
Labels

Comments

@j-dohnalek
Copy link

I am trying to insert address for a company and this error comes up above the form:
Error: Method Illuminate\Database\Query\Builder::customers does not exist.

The address gets inserted, however there is no link created between customer to address in customer_addresses table.

this is where the exception is thrown
/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php line 2817

originating from
vendor/konekt/appshell/src/Http/Controllers/AddressController.php method store()

Any help on this please?

@fulopattila122 fulopattila122 self-assigned this Oct 25, 2018
@fulopattila122
Copy link
Member

Thank you for the report!

I've found what's causing the bug. I'm not yet sure which way to fix it (kind of a chicken & egg problem), but will fix it by tomorrow afternoon and will let you know once it's out.

fulopattila122 added a commit to vanilophp/framework that referenced this issue Oct 26, 2018
@fulopattila122
Copy link
Member

This issue will be fixed in v0.4 which will be released on 27th October 2018 (tomorrow).
The bug will not be fixed in v0.3 and the create address functionality in Admin will not work for that version.

Related to vanilophp/framework#25

@j-dohnalek
Copy link
Author

j-dohnalek commented Oct 26, 2018

Thank you for the info

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

No branches or pull requests

2 participants