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

When editing order info it's throwing an error #66

Open
shravan148 opened this issue May 14, 2019 · 1 comment
Open

When editing order info it's throwing an error #66

shravan148 opened this issue May 14, 2019 · 1 comment

Comments

@shravan148
Copy link

1 exception(s):
Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid method Eadesigndev\RomCity\Block\Checkout\CityUpdater::citiesJson

Exception #0 (Magento\Framework\Exception\LocalizedException): Invalid method Eadesigndev\RomCity\Block\Checkout\CityUpdater::citiesJson
#0 /chroot/home/adde9e18/saksooka.com/html/app/code/Eadesigndev/RomCity/view/adminhtml/templates/city-admin.phtml(7): Magento\Framework\DataObject->__call('citiesJson', Array)
#1 /chroot/home/adde9e18/saksooka.com/html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/chroot/home/ad...')
#2 /chroot/home/adde9e18/saksooka.com/html/vendor/magento/framework/View/Element/Template.php(270):

@AboElnoor
Copy link

I've solved this problem by changing the following line:

class CityUpdater extends **Template**

To

class CityUpdater extends **Cities**

in the file: app/code/Eadesigndev/RomCity/Block/Checkout/CityUpdater.php

The error no longer happens in my project.

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