A non-recoverable error occured

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!
syedaliiftikhar
Posts: 12
Joined: 19 Apr 2024, 18:29

A non-recoverable error occured

Post by syedaliiftikhar » 26 Apr 2024, 18:05

Hi, while browsing categories and artcles I'm getting this error. "A non-recoverable error occured"
I have migrated data from another project using ai-woo commerce with some modification.

I'm getting following error logs in madmin.
Could you suggest what can be wrong?

Array to string conversion
#0 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(256): Illuminate\Foundation\Bootstrap\HandleExceptions->handleError()
#1 /var/www/html/aimeos/vendor/aimeos/ai-client-html/templates/client/html/common/partials/selection.php(115): Illuminate\Foundation\Bootstrap\HandleExceptions->Illuminate\Foundation\Bootstrap\closure()
#2 /var/www/html/aimeos/vendor/aimeos/aimeos-base/src/View/Standard.php(281): include('...')
#3 /var/www/html/aimeos/vendor/aimeos/aimeos-base/src/View/Standard.php(263): Aimeos\Base\View\Standard->includeFile()
#4 /var/www/html/aimeos/vendor/aimeos/aimeos-base/src/View/Helper/Partial/Standard.php(36): Aimeos\Base\View\Standard->render()
#5 [internal function]: Aimeos\Base\View\Helper\Partial\Standard->transform()
#6 /var/www/html/aimeos/vendor/aimeos/aimeos-base/src/View/Standard.php(87): call_user_func_array()
#7 /var/www/html/aimeos/vendor/aimeos/ai-client-html/templates/client/html/catalog/detail/body.php(170): Aimeos\Base\View\Standard->__call()
#8 /var/www/html/aimeos/vendor/aimeos/aimeos-base/src/View/Standard.php(281): include('...')
#9 /var/www/html/aimeos/vendor/aimeos/aimeos-base/src/View/Standard.php(263): Aimeos\Base\View\Standard->includeFile()
#10 /var/www/html/aimeos/vendor/aimeos/ai-client-html/src/Client/Html/Catalog/Detail/Standard.php(133): Aimeos\Base\View\Standard->render()
#11 /var/www/html/aimeos/vendor/aimeos/ai-client-html/src/Client/Html/Common/Decorator/Exceptions.php(36): Aimeos\Client\Html\Catalog\Detail\Standard->body()
#12 /var/www/html/aimeos/vendor/aimeos/ai-client-html/src/Client/Html/Common/Decorator/Base.php(104): Aimeos\Client\Html\Common\Decorator\Exceptions->body()
#13 /var/www/html/aimeos/vendor/aimeos/aimeos-laravel/src/Controller/CatalogController.php(56): Aimeos\Client\Html\Common\Decorator\Base->body()
#14 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Aimeos\Shop\Controller\CatalogController->detailAction()
#15 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\Routing\Controller->callAction()
#16 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\Routing\ControllerDispatcher->dispatch()
#17 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Route.php(206): Illuminate\Routing\Route->runController()
#18 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(806): Illuminate\Routing\Route->run()
#19 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Routing\Router->Illuminate\Routing\closure()
#20 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Middleware/SubstituteBindings.php(50): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#21 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Routing\Middleware\SubstituteBindings->handle()
#22 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/VerifyCsrfToken.php(88): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#23 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\VerifyCsrfToken->handle()
#24 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/View/Middleware/ShareErrorsFromSession.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#25 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\View\Middleware\ShareErrorsFromSession->handle()
#26 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#27 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\Session\Middleware\StartSession->handleStatefulRequest()
#28 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Session\Middleware\StartSession->handle()
#29 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#30 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Cookie\Middleware\AddQueuedCookiesToResponse->handle()
#31 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(75): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#32 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Cookie\Middleware\EncryptCookies->handle()
#33 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#34 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(805): Illuminate\Pipeline\Pipeline->then()
#35 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(784): Illuminate\Routing\Router->runRouteWithinStack()
#36 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(748): Illuminate\Routing\Router->runRoute()
#37 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Routing/Router.php(737): Illuminate\Routing\Router->dispatchToRoute()
#38 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\Routing\Router->dispatch()
#39 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(144): Illuminate\Foundation\Http\Kernel->Illuminate\Foundation\Http\closure()
#40 /var/www/html/aimeos/app/Http/Middleware/SetLocale.php(25): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#41 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\SetLocale->handle()
#42 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#43 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#44 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\ConvertEmptyStringsToNull->handle()
#45 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#46 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(51): Illuminate\Foundation\Http\Middleware\TransformsRequest->handle()
#47 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\TrimStrings->handle()
#48 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Http/Middleware/ValidatePostSize.php(27): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#49 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\ValidatePostSize->handle()
#50 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(110): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#51 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Foundation\Http\Middleware\PreventRequestsDuringMaintenance->handle()
#52 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(49): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#53 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\HandleCors->handle()
#54 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(57): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#55 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): Illuminate\Http\Middleware\TrustProxies->handle()
#56 /var/www/html/aimeos/app/Http/Middleware/TrustHosts.php(24): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#57 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(183): App\Http\Middleware\TrustHosts->handle()
#58 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(119): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\closure()
#59 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\Pipeline\Pipeline->then()
#60 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\Foundation\Http\Kernel->sendRequestThroughRouter()
#61 /var/www/html/aimeos/public/index.php(51): Illuminate\Foundation\Http\Kernel->handle()
#62 /var/www/html/aimeos/vendor/laravel/framework/src/Illuminate/Foundation/resources/server.php(16): require_once('...')
#63 main


Laravel 11.4.0
Aimeos 2024.4
PHP 8.3.6
Ubuntu 20.04.3 LTS

syedaliiftikhar
Posts: 12
Joined: 19 Apr 2024, 18:29

Re: A non-recoverable error occured

Post by syedaliiftikhar » 26 Apr 2024, 22:02

It was fixed. It was because of missing attribute types & values in assigned variants. While migration attributes were not rightly mapped.

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

Re: A non-recoverable error occured

Post by aimeos » 26 Apr 2024, 23:44

Can you provide a fix for the migration script?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

syedaliiftikhar
Posts: 12
Joined: 19 Apr 2024, 18:29

Re: A non-recoverable error occured

Post by syedaliiftikhar » 27 Apr 2024, 14:09

The issue arose from modifications I made to the original ai-woocommerce extension for my custom project. For ai-woocommerce you don't require the fix.

Post Reply