Error Object of class Arrow\ORM\ORM_App_Models_Persistent_Product_Criteria could not be converted to string
File: /var/www/html/app/Controllers/MobileAppService/MobileAppServiceController.php:145
Run configuration: as-pl.com

Request

[URL]
as-pl.com/es/shop/front/products/productUsages?code=SP6027&brand=AS-PL
lang
es
code
SP6027
brand
AS-PL
141             $type "cars";
142         } else {
143             
$q =
144                 
"select code_a, producer, category from shop_parts where code_b='" .
145                 $product->get("name") .
146                 
"'and producer='" .
147                 
$request->get("brand") .
148                 
"' order by code_a";
149             
$type "parts";
150         }

Stacktrace

App\Controllers\MobileAppService\MobileAppServiceController::productUsages( ) File: /var/www/html/libs/arrow-engine/src/server/models/engine/router/Action.php Line: 167
165
166
167         return $instance->{$this->method}(...$preparedArgs["method"]);
168
169     }
Arrow\Models\Action::fetch( ) File: /var/www/html/libs/arrow-engine/src/server/core/Router.php Line: 133
131         }
132
133         $return $this->action->fetch($this->request);
134
135         if ($return !== null) {
Arrow\Router::process( ) File: /var/www/html/libs/arrow-engine/src/server/core/Kernel.php Line: 50
48
49         //paths for server only
50         Router::getDefault()->process();
51         \
Arrow\Kernel::end();
52
Arrow\Kernel::processCall( ) File: /var/www/html/public/index.php Line: 26
24
25
26 \Arrow\Kernel::processCall();
27