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

Dashboard Customer after logging get errors #97

Closed
anhphamt opened this issue Nov 28, 2017 · 6 comments
Closed

Dashboard Customer after logging get errors #97

anhphamt opened this issue Nov 28, 2017 · 6 comments
Labels
Milestone

Comments

@anhphamt
Copy link

Hi,

I got this issue with customer log in.

Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function url() on null in /Applications/XAMPP/xamppfiles/htdocs/bas/modules/OfflinePayment/Events/Handlers/OfflinePaymentAdminMenu.php:20
Stack trace:
#0 [internal function]: Modules\OfflinePayment\Events\Handlers\OfflinePaymentAdminMenu->handle(Object(App\Events\AdminMenuCreated))
#1 /Applications/XAMPP/xamppfiles/htdocs/bas/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(367): call_user_func_array(Array, Array)
#2 /Applications/XAMPP/xamppfiles/htdocs/bas/vendor/laravel/framework/src/Illuminate/Events/Dispatcher.php(199): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('App\\Events\\Admi...', Array)
#3 /Applications/XAMPP/xamppfiles/htdocs/bas/vendor/laravel/framework/src/Illuminate/Foundation/helpers.php(446): Illuminate\Events\Dispatcher->dispatch('App\\Events\\Admi...')
#4 /Applications/XAMPP/xamppfiles/htdocs/bas/app/Http/Middleware/AdminMenu.php(184): event(Object(App\Events\AdminMenuCreated))

The customer account is created with default permission and I installed the latest release.

Can you take a look at it?

Thank you

@cuneytsenturk
Copy link
Member

@anhphamt Which version are you using?

I am testing at v1.0.12, I can not get the same error

Thank you for feedback

@anhphamt
Copy link
Author

Hi

I'm also using v1.0.12 download from release.

Admin account is working fine.
Admin creates 1 customer account (Customer type)
Customer logins successfully and get error on Dashboard page.

Thank you

@anhphamt
Copy link
Author

I will try with new release 1.1.0. Hope it can be fixed.

@minusplusminus
Copy link

The stacktrace is non related to the issue. There are several things i've mentioned.

One is that when you add an user thru the admin > user option, it caused me difficulties when logging in.

When I add an user by incomes > Customers and create the user, the issue was gone.
An other thing i've mentioned is that I can add multiple users with the same email address, which caused an login error.

@denisdulici denisdulici added the Bug label Dec 2, 2017
@denisdulici denisdulici added this to the 1.1.1 milestone Dec 2, 2017
@denisdulici
Copy link
Member

denisdulici commented Dec 2, 2017

Now you can't create customer from user page.

@anhphamt
Copy link
Author

anhphamt commented Dec 4, 2017

Thanks a lot

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

4 participants