Need help with the aimeos-laravel upgrade from 2020.10 to 2021.4

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!
User avatar
dheeraj
Posts: 26
Joined: 02 Jan 2021, 08:47

Need help with the aimeos-laravel upgrade from 2020.10 to 2021.4

Post by dheeraj » 31 May 2021, 09:58


Laravel : 8.12
Aimeos : 2021.04
PHP Version : 7.4.18
Environment : Windows


I recently upgraded my aimeos-laravel version from 2020.10 to 2021.04.
I followed the upgrade guide here https://aimeos.org/docs/latest/laravel/setup/#upgrade and made changes to my custom extension according to this change log https://aimeos.org/docs/latest/changelog/2021.x.
After the upgrade, everything is working fine (my custom jsonapi, custom domain managers for new domains, etc.) except the admin panel.

Whenever i log in to the admin panel, i get the following error -
Screenshot 2021-05-31 144948.png
Screenshot 2021-05-31 144948.png (105.07 KiB) Viewed 977 times
After removing my custom extension from project, I do not get this error and admin panel works fine. So I think my custom extension is causing the problem.

I have already made required changes to the source code of my extension and i don't know the reason behind this error therefore i need some help.

Thank you.

User avatar
dheeraj
Posts: 26
Joined: 02 Jan 2021, 08:47

Re: Need help with the aimeos-laravel upgrade from 2020.10 to 2021.4

Post by dheeraj » 31 May 2021, 11:03

So at last i finally found the exact location of the error.
The configuration admin/jqadmin/navbar in my custom extension was the source of error. Once i commented the navbar configuration code the admin panel started working properly.
But now my custom jqadm panel items are missing in the admin navbar.
I think navbar configuration value of aimeos-laravel 2020.10 is not compatible with aimeos-laravel 2021.04.
How can i properly set navbar configuration in aimeos-laravel 2021.04?

User avatar
dheeraj
Posts: 26
Joined: 02 Jan 2021, 08:47

Re: Need help with the aimeos-laravel upgrade from 2020.10 to 2021.4

Post by dheeraj » 31 May 2021, 11:23

Found proper configuration of navbar here https://github.com/aimeos/ai-admin-jqad ... navbar.php

Anyway Thanks.

Post Reply