v21 issues
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
v21 issues
Hello,
- I receive the following error in typo3 log after updating to Aimeos V21. Same error for a thousand times.
Core: Error handler (FE): PHP Warning: in_array() expects parameter 2 to be array, string given in /.../typo3conf/ext/aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/catalog/filter/supplier-body-standard.php line 40
- Another issue coming with V21 is "Counts" behavior. Counts for Catalog, Supplier and Attribute is limited to 250. Is there a new configuration to change that or is this a bug?
- "Go to Basket" link in new mini basket doesn't have correct link path.
- And it is not possible to remove a product from mini or main basket.
- I receive the following error in typo3 log after updating to Aimeos V21. Same error for a thousand times.
Core: Error handler (FE): PHP Warning: in_array() expects parameter 2 to be array, string given in /.../typo3conf/ext/aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/catalog/filter/supplier-body-standard.php line 40
- Another issue coming with V21 is "Counts" behavior. Counts for Catalog, Supplier and Attribute is limited to 250. Is there a new configuration to change that or is this a bug?
- "Go to Basket" link in new mini basket doesn't have correct link path.
- And it is not possible to remove a product from mini or main basket.
Re: v21 issues
As always, we appreciate your feedback very much! 
All fixes will be part of the release next week.

This happened if the catalog/filter component is at the same page as the new supplier/detail component and has been fixed now.Metalics wrote: ↑11 May 2021, 14:56 - I receive the following error in typo3 log after updating to Aimeos V21. Same error for a thousand times.
Core: Error handler (FE): PHP Warning: in_array() expects parameter 2 to be array, string given in /.../typo3conf/ext/aimeos/Resources/Private/Extensions/ai-client-html/client/html/templates/catalog/filter/supplier-body-standard.php line 40
There's a new security setting for limiting the maximum amount of items that can be retrieved to prevent denial of service attacks but that shall not affect the counts. It's fixed now too.
Can you make sure that the target page is configured correctly. If you use TypoScript to add the mini basket to the header, the setting for "plugins.tx_aimeos.settings.client.html.basket.standard.target" must be added there.
We switched from FontAwesome to LineAwesome and the trash icon uses a different code there. Now fixed.
All fixes will be part of the release next week.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: v21 issues
Thank you for fixing the issues I mentioned. I will test it when the fixed version is published.
Another issues we have discovered:
1- Following error appears when no d_pos parameter available in URL:
--Catalog path for ID "xxxxxxx" not found--
2- Catalog search is not working as expected. If you use a search term which is not finding any result, it works normally and displaying "No item found" as expected. But if you type a search term which can find a product, the following error is displaying after entering search button: "Oops, an error occurred! Code: xxxxxxxxx"
Another issues we have discovered:
1- Following error appears when no d_pos parameter available in URL:
--Catalog path for ID "xxxxxxx" not found--
2- Catalog search is not working as expected. If you use a search term which is not finding any result, it works normally and displaying "No item found" as expected. But if you type a search term which can find a product, the following error is displaying after entering search button: "Oops, an error occurred! Code: xxxxxxxxx"
Re: v21 issues
Can you have a look into the TYPO3 var/log/* files and post the stack trace of the error?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: v21 issues
Both problems caused by routeEnhancers configuration given in Aimeos TYPO3 distribution:
routeEnhancers:
Aimeos:
type: Extbase
namespace: ai
defaultController: 'Catalog::list'
routes:
- { routePath: '/pin/{pin_action}/{pin_id}/{d_name}', _controller: 'Catalog::detail' }
- { routePath: '/history/{his_action}/{his_id}', _controller: 'Account::history' }
- { routePath: '/watch/{wat_action}/{wat_id}', _controller: 'Account::watch' }
- { routePath: '/watch/{wat_action}', _controller: 'Account::watch' }
- { routePath: '/fav/{fav_action}/{fav_id}', _controller: 'Account::favorite' }
- { routePath: '/fav/{fav_action}', _controller: 'Account::favorite' }
- { routePath: '/c/{f_name}~{f_catid}', _controller: 'Catalog::list' }
- { routePath: '/p/{d_name}/{d_prodid}/{d_pos}', _controller: 'Catalog::detail' }
- { routePath: '/d/{d_name}/{d_pos}', _controller: 'Catalog::detail' }
- { routePath: '/lt/{l_type}', _controller: 'Catalog::list' }
- { routePath: '/lp/{l_page}', _controller: 'Catalog::list' }
- { routePath: '/ls/{f_sort}/{l_page}', _controller: 'Catalog::list' }
- { routePath: '/l/{f_sort}', _controller: 'Catalog::list' }
- { routePath: '/b/{b_action}', _controller: 'Basket::index' }
- { routePath: '/co/{c_step}', _controller: 'Checkout::index' }
- { routePath: '/s/{s_name}/{f_supid}', _controller: 'Supplier::detail' }
defaults:
b_action: ''
c_step: ''
f_sort: ''
d_pos: ''
Last edited by Metalics on 20 May 2021, 23:26, edited 1 time in total.
Re: v21 issues
I updated to V21.4.2 and now counts for Catalog, Supplier and Attribute is limited to 100

Re: v21 issues
I am using the following configuration for mini basket on header. It was working for Aimeos V20.xx, after updating to V21 "Go to Basket" link is not correct anymore.
..............
.....
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
vendorName = Aimeos
extensionName = Aimeos
pluginName = basket-small
controller = Basket
action = small
settings.client.html.basket. standard.url.target = 7
settings.client.jsonapi.url.target = 21
}
.....
........
I tried without "standard" parameter because of changes in V21 (settings.client.html.basket.url.target = 7) and still same problem.
Re: v21 issues
That wasn't intended for sure and is fixed in aimeos/ai-client-html:dev-master and will be available with the next release.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: v21 issues
Your configuration contains a space between "basket." and "standard" which won't work.Metalics wrote: ↑20 May 2021, 23:25I am using the following configuration for mini basket on header. It was working for Aimeos V20.xx, after updating to V21 "Go to Basket" link is not correct anymore.
..............
.....
10 = USER
10 {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
vendorName = Aimeos
extensionName = Aimeos
pluginName = basket-small
controller = Basket
action = small
settings.client.html.basket. standard.url.target = 7
settings.client.jsonapi.url.target = 21
}
.....
........
I tried without "standard" parameter because of changes in V21 (settings.client.html.basket.url.target = 7) and still same problem.
We had the same problem in one installation but it mysteriously disappeared after we removed "standard" in the "plugin.tx_aimeos.settings.client.html.basket.standard.url.target" and changed it back again. This configuration currently works in our environments:
Code: Select all
plugin.tx_aimeos.settings.client.html.basket.standard.url.target = 11
lib.navigation.misc = COA
lib.navigation.misc.basket = USER
lib.navigation.misc.basket {
userFunc = TYPO3\CMS\Extbase\Core\Bootstrap->run
vendorName = Aimeos
extensionName = Aimeos
pluginName = basket-small
controller = Basket
action = small
settings =< plugin.tx_aimeos.settings
}
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos,
give us a star
If you like Aimeos,

Re: v21 issues - Line Awesome
The icons for social media do not show up.
Also the "plus" and "minus" symbols for the accordion elements have a wrong code.
Also the "plus" and "minus" symbols for the accordion elements have a wrong code.