No item found for conditions: Array ( [catalog.code] => home )

Questions around the TYPO3 integration and plugins
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!
rvhelp
Posts: 24
Joined: 06 Sep 2022, 08:43

No item found for conditions: Array ( [catalog.code] => home )

Post by rvhelp » 21 Sep 2022, 09:51

I update Typo 9 and Aimeos 18 directly to Typo 11 and Aimeos 22. The following error message in the update script:

Can I fix this in the database?
No item found for conditions: Array ( [catalog.code] => home ) #0 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Catalog/Manager/Standard.php(438): Aimeos\MShop\Common\Manager\Base->findBase(Array, Array, false) #1 [internal function]: Aimeos\MShop\Catalog\Manager\Standard->find('home') #2 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Common/Manager/Decorator/Base.php(51): call_user_func_array(Array, Array) #3 [internal function]: Aimeos\MShop\Common\Manager\Decorator\Base->__call('find', Array) #4 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/src/MShop/Common/Manager/Decorator/Base.php(51): call_user_func_array(Array, Array) #5 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/default/DemoAddProductData.php(224): Aimeos\MShop\Common\Manager\Decorator\Base->__call('find', Array) #6 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/default/DemoAddProductData.php(109): Aimeos\Upscheme\Task\DemoAddProductData->addRefItems(Object(Aimeos\MShop\Product\Item\Standard), Array) #7 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/setup/default/DemoAddProductData.php(83): Aimeos\Upscheme\Task\DemoAddProductData->addDemoData() #8 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/upscheme/src/Up.php(324): Aimeos\Upscheme\Task\DemoAddProductData->up() #9 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/upscheme/src/Up.php(170): Aimeos\Upscheme\Up->runTasks(Array) #10 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Resources/Libraries/aimeos/aimeos-core/Setup.php(84): Aimeos\Upscheme\Up->up() #11 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Classes/Setup.php(151): Aimeos\Setup->up('default', 'default') #12 /var/www/domain.dev/httpdocs/typo3conf/ext/aimeos/Classes/Setup.php(78): Aimeos\Aimeos\Setup::execute() #13 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/install/Classes/Service/UpgradeWizardsService.php(400): Aimeos\Aimeos\Setup->executeUpdate() #14 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/install/Classes/Controller/UpgradeController.php(1185): TYPO3\CMS\Install\Service\UpgradeWizardsService->executeWizard('aimeos') #15 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/install/Classes/Middleware/Maintenance.php(259): TYPO3\CMS\Install\Controller\UpgradeController->upgradeWizardsExecuteAction(Object(TYPO3\CMS\Core\Http\ServerRequest)) #16 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(121): TYPO3\CMS\Install\Middleware\Maintenance->process(Object(TYPO3\CMS\Core\Http\ServerRequest), Object(class@anonymous)) #17 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/core/Classes/Middleware/NormalizedParamsAttribute.php(45): class@anonymous->handle(Object(TYPO3\CMS\Core\Http\ServerRequest)) #18 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(172): TYPO3\CMS\Core\Middleware\NormalizedParamsAttribute->process(Object(TYPO3\CMS\Core\Http\ServerRequest), Object(class@anonymous)) #19 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/core/Classes/Http/MiddlewareDispatcher.php(78): class@anonymous->handle(Object(TYPO3\CMS\Core\Http\ServerRequest)) #20 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/core/Classes/Http/AbstractApplication.php(86): TYPO3\CMS\Core\Http\MiddlewareDispatcher->handle(Object(TYPO3\CMS\Core\Http\ServerRequest)) #21 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/install/Classes/Http/Application.php(52): TYPO3\CMS\Core\Http\AbstractApplication->handle(Object(TYPO3\CMS\Core\Http\ServerRequest)) #22 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/sysext/core/Classes/Http/AbstractApplication.php(100): TYPO3\CMS\Install\Http\Application->handle(Object(TYPO3\CMS\Core\Http\ServerRequest)) #23 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/install.php(99): TYPO3\CMS\Core\Http\AbstractApplication->run() #24 /var/www/domain.dev/httpdocs/typo3_src-11.5.16/typo3/install.php(100): {closure}() #25 {main}
Before it was the following error message:
SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '1.-fixed' for key 'unq_mscouco_sid_code': INSERT INTO "mshop_coupon_code" ( "parentid", "code", "start", "end", "count", "ref", "mtime", "editor", "siteid", "ctime" ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ) ["11","fixed",null,null,1000,"","2022-09-21 11:28:36","core","1.","2022-09-21 11:28:36"]
This disappeared after I cleared both coupon tables, they only had 2 entries.

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

Re: No item found for conditions: Array ( [catalog.code] => home )

Post by aimeos » 21 Sep 2022, 12:26

Try to disable adding the demo data into your existing setup.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

rvhelp
Posts: 24
Joined: 06 Sep 2022, 08:43

Re: No item found for conditions: Array ( [catalog.code] => home )

Post by rvhelp » 21 Sep 2022, 12:28

how can i disable this? i downloaded aimeos and replaced it, than activate via backend

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

Re: No item found for conditions: Array ( [catalog.code] => home )

Post by aimeos » 21 Sep 2022, 15:01

The TYPO3 Settings panel contains the extension settings for Aimeos.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply