My account page showing error.

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
sumit kaushik
Posts: 30
Joined: 08 Aug 2017, 07:20

My account page showing error.

Post by sumit kaushik » 05 Oct 2017, 06:58

Hello,

After login myaccount page is showing error
Item with ID "" in "customer.id" not found

Users are showing in both database tables and in admin. Please suggest about it.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: My account page showing error.

Post by aimeos » 05 Oct 2017, 14:07

Did you changed the "myaccount" route group and removed the "auth" middleware? This can only occur if your user accesses the "My account" page without being logged in. The Laravel authentication redirects the user to the login page if necessary in the standard Laravel auth setup.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

sumit kaushik
Posts: 30
Joined: 08 Aug 2017, 07:20

Re: My account page showing error.

Post by sumit kaushik » 06 Oct 2017, 06:04

My routes.php file has

Route::group(config('shop.routes.account', ['middleware' => ['web', 'auth']]), function() {

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: My account page showing error.

Post by aimeos » 10 Oct 2017, 20:12

Is there a stack trace available in the madmin_log table?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply