craftcms / commerce

Fully integrated ecommerce for Craft CMS.
https://craftcms.com/commerce
Other
217 stars 170 forks source link

Error: Call to a member function getExtendedForeignKeys() on null when upgrading from Commerce 1 to 2 #692

Closed ghost closed 5 years ago

ghost commented 5 years ago

Description

I am upgrading a website from 2 to 3 and one of commerce's Migration fails saying this: Error: Call to a member function getExtendedForeignKeys() on null Migration: craft\commerce\migrations\m170725_130000_paymentmethods_are_now_gateways Output: Exception: Call to a member function getExtendedForeignKeys() on null

Steps to reproduce

  1. Update Craft and Commerce

Additional info

ghost commented 5 years ago

@lukeholder please i need help

andris-sevcenko commented 5 years ago

Can you send the database dump to support@craftcms.com and reference this issue? You can dump only structure to avoid sending over some sensitive info.