Upgrade version from 2018.04 to 2019.04
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!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
-
- Posts: 28
- Joined: 21 May 2019, 09:52
Upgrade version from 2018.04 to 2019.04
Is it possible to upgrade current version to 2019.04?
I have updated my app`s existing version(2018.04) to 2019.04 but my app stopped working.
What should I do?
I shows the following exception in `/vendor/aimeos/aimeos-laravel/src/Aimeos/Shop/Controller/CatalogController.php`
Thanks
Harpal Singh
I have updated my app`s existing version(2018.04) to 2019.04 but my app stopped working.
What should I do?
I shows the following exception in `/vendor/aimeos/aimeos-laravel/src/Aimeos/Shop/Controller/CatalogController.php`
Code: Select all
ErrorException (E_WARNING)
Invalid argument supplied for foreach()
Code: Select all
/**
* Returns the html for the catalog detail page.
*
* @return \Illuminate\Http\Response Response object with output and headers
*/
public function detailAction()
{
foreach( app( 'config' )->get( 'shop.page.catalog-detail' ) as $name )
{
$params['aiheader'][$name] = Shop::get( $name )->getHeader();
$params['aibody'][$name] = Shop::get( $name )->getBody();
}
return Response::view( 'shop::catalog.detail', $params )
->header( 'Cache-Control', 'private, max-age=10' );
}
Harpal Singh
Re: Upgrade version from 2018.04 to 2019.04
Between major versions (e.g. 2018 -> 2019) there are breaking changes:
https://aimeos.org/docs/Developers/Changelog/2019
You need to adapt your self written code and copied templates to that changes.
BTW: 2019.04 isn't supported any more, only 2019.10 LTS is now. Please have a look at the roadmap for the versioning scheme and the support periods: https://aimeos.org/roadmap
https://aimeos.org/docs/Developers/Changelog/2019
You need to adapt your self written code and copied templates to that changes.
BTW: 2019.04 isn't supported any more, only 2019.10 LTS is now. Please have a look at the roadmap for the versioning scheme and the support periods: https://aimeos.org/roadmap
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
-
- Posts: 28
- Joined: 21 May 2019, 09:52
Re: Upgrade version from 2018.04 to 2019.04
I have updated now to 2019.10 v, but now I am getting following ecxception.
Code: Select all
Class 'Aimeos\MW\Session\Base' not found
Re: Upgrade version from 2018.04 to 2019.04
Seems like an incomplete update because the class is available in the 2019.10 release:
https://github.com/aimeos/aimeos-core/t ... MW/Session
https://github.com/aimeos/aimeos-core/t ... MW/Session
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star