Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a new shipping method causes 500 error when this module is installed #10

Open
mattwebdev opened this issue May 17, 2017 · 1 comment

Comments

@mattwebdev
Copy link

when trying to add a new shipping method and Fedex is installed i get a 500 error & this message in the drupal logs:

TypeError: Argument 2 passed to Drupal\Component\Plugin\PluginManagerBase::createInstance() must be of the type array, null given, called in .../modules/contrib/commerce/src/Plugin/Field/FieldType/PluginItem.php on line 131

@mattwebdev
Copy link
Author

looks like the issue is that FedExPluginManager does not createInstance method, and therefore uses
PluginManagerBase::createInstance() which requires a $configuration array that is not being defined.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant