2

I am facing below error:

Recoverable Error: Object of class Magento\Catalog\Model\Product\Option could not be converted to string in /var/www/html/vendor/magento/framework/DB/Adapter/Pdo/Mysql.php on line 3102

While creating product with configurable option, I saved it, but after that when I edit product and resave it, it shows above mentioned error.

Magento Version: 2.3.1

Please help me..!!

6
  • You create simple product or configurable product? Nov 7, 2019 at 10:38
  • simple product. one customizable option is working, but when I create two or more , saving product gives error
    – temper
    Nov 7, 2019 at 10:39
  • I added 4 custom options. and it's working. If possible then setup new Magento2.3.1 Nov 7, 2019 at 10:55
  • I can't, in my current magento I am managing 30 stores
    – temper
    Nov 7, 2019 at 10:57
  • @temper Disable all the custom module and check. Nov 8, 2019 at 6:09

1 Answer 1

0

I faced this issue before, Please below mentioned commands:

composer update
php bin/magento setup:upgrade
php bin/magento setup:di:compile
php bin/magento cache:flush

This worked for me. Hope it helps.

1
  • thanks, I will try
    – temper
    Nov 15, 2019 at 11:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.