We just got an error message, that occurs when you save a product in the Magento backend. Oddly, not all products, but only for a specific product.
As soon as one on “Save” clicks coming
Fatal error: Call to a member function getOptions() on boolean in /app/code/community/Ess/M2ePro/Model/Amazon/Listing/Product.php on line 308
(the line can obviously vary).
This has to do with a database problem and can be corrected as follows (backup database!).
e.g.. log in via phpMyAdmin into the database and run the following SQL command:
UPDATE `m2epro_amazon_listing_product` `malp` LEFT JOIN `m2epro_listing_product_variation` `mlpv` ON `mlpv`.`listing_product_id` = `malp`.`listing_product_id` SET `malp`.`is_variation_product_matched` = 0 WHERE `malp`.`is_variation_product` = 1 AND `malp`.`is_variation_product_matched` = 1 AND `mlpv`.`id` IS NULL;
Then worked with us to save the products / the product again without problems.
Used in Magento Version 1.9 Comments? Additions? Notes? Gladly!