vanilophp / demo

Vanilo Demo Application
https://vanilo.io/docs/
190 stars 54 forks source link

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

Closed j-dohnalek closed 6 years ago

j-dohnalek commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

Thank you for the info