How to fix the Amasty's Extended Product Grid with Editor «PDO::quote() expects parameter 1 to be string, object given» / «Internal Server Error» bug in Magento 2.2?

bug-fix
third-party-extension
magento22
amasty
amasty-product-grid

(Dmitry Fedyuk) #1

Replace a line in the Amasty\Pgrid\Controller\Adminhtml\Index\InlineEdit::setData() method:

from

$product->addAttributeUpdate($key, $val, $this->store);

to:

$product->addAttributeUpdate($key, $val, $this->store->getId();

How to fix the «Unique constraint violation found» / «Duplicate entry for key 'AMASTY_PGRID_QTY_SOLD_PRODUCT_ID'» bug in the Amasty's «Extended Product Grid with Editor» module?
(Dmitry Fedyuk) #2

See also: