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

Calling unknown method: craft\commerce\elements\Order::getTotalShipping() #1079

Closed
PopaWeb opened this issue Oct 24, 2019 · 1 comment
Closed

Comments

@PopaWeb
Copy link

PopaWeb commented Oct 24, 2019

Description

Everything worked find in Commerce 2.1.13 before the update.

Calling unknown method: craft\commerce\elements\Order::getTotalShipping()

  1. in /Users/me/Sites/mySite/vendor/yiisoft/yii2/base/Component.php
    public function __call($name, $params)
    {
    if (strncmp($name, 'isFieldEmpty:', 13) === 0) {
    return $this->isFieldEmpty(substr($name, 13));
    }

     return parent::__call($name, $params);
    

    }

Since i've updated from Commerce 2.1.13 to 2.2.3, i got this error everywhere that Commerce want to get the elements\Order. Front end and in the CP all invoices and in users that have invoices.

Steps to reproduce

  1. Products already entered and have invoices in Commerce 2.1.13
  2. Update to Commerce 2.2.3

Additional info

  • Craft version: Pro 3.3.13
  • PHP version: 7.3.9
  • Database driver & version: MySQL 5.7.26
  • Plugins & versions:
    Commerce 2.2.3
    CP Field Inspect 1.0.7
    Control Panel CSS 2.2.0
    Express Forms [Lite] 1.0.4
    Image Resizer 2.0.6
    Importable 1.0.1
    Navigation 1.1.13
    PayPal for Craft Commerce 2.1.0.1
    Redactor 2.4.0
    Retcon 2.0.12
    Stretch 1.0.5
    Stripe for Craft Commerce 2.2.0
    Super Table 2.3.0
    Wordsmith 3.1.1
@nfourtythree
Copy link
Contributor

Hi

This is fixed in the 2.2.4 release which is now available.

Fix commit: 10bf3c2

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

2 participants