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

Error: Call to a member function setScopeFilter() #35402

Closed
1 of 5 tasks
jorgb90 opened this issue Apr 29, 2022 · 7 comments
Closed
1 of 5 tasks

Error: Call to a member function setScopeFilter() #35402

jorgb90 opened this issue Apr 29, 2022 · 7 comments
Assignees
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.4 Indicates original Magento version for the Issue report.

Comments

@jorgb90
Copy link

jorgb90 commented Apr 29, 2022

Preconditions (*)

  1. Magento 2.4.4 (Upgrade from 2.4.3-p1)
  2. Multi-store setup

Steps to reproduce (*)

  1. Have existing orders or customers
  2. Create a new order through a customer or reorder an existing order in the backend

Expected result (*)

  1. Can create order for this specific customer

Actual result (*)

  1. main.CRITICAL: Error: Call to a member function setScopeFilter() on null in /home/xxxxxx/public_html/var/view_preprocessed/pub/static/vendor/magento/module-sales/view/adminhtml/templates/order/create/form/address.phtml:1

Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.

  • Severity: S0 - Affects critical data or functionality and leaves users without workaround.
  • Severity: S1 - Affects critical data or functionality and forces users to employ a workaround.
  • Severity: S2 - Affects non-critical data or functionality and forces users to employ a workaround.
  • Severity: S3 - Affects non-critical data or functionality and does not force users to employ a workaround.
  • Severity: S4 - Affects aesthetics, professional look and feel, “quality” or “usability”.

Stack trace:
#0 /home/xxxxxx/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include()
#1 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#2 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#3 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception{closure}()
#4 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#5 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#6 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Address/Interceptor.php(23): Magento\Framework\View\Element\Template->fetchView()
#7 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(293): Magento\Sales\Block\Adminhtml\Order\Create\Billing\Address\Interceptor->fetchView()
#8 /home/xxxxxx/public_html/vendor/magento/module-backend/Block/Template.php(141): Magento\Framework\View\Element\Template->_toHtml()
#9 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Backend\Block\Template->_toHtml()
#10 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
#11 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#12 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Billing/Address/Interceptor.php(32): Magento\Framework\View\Element\AbstractBlock->toHtml()
#13 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(578): Magento\Sales\Block\Adminhtml\Order\Create\Billing\Address\Interceptor->toHtml()
#14 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()
#15 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#16 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#17 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#18 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(507): Magento\Framework\View\Layout\Interceptor->renderElement()
#19 /home/xxxxxx/public_html/var/view_preprocessed/pub/static/vendor/magento/module-sales/view/adminhtml/templates/order/create/data.phtml(5): Magento\Framework\View\Element\AbstractBlock->getChildHtml()
#20 /home/xxxxxx/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/xxxxxx/pu...')
#21 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#22 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#23 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception{closure}()
#24 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#25 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#26 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Data/Interceptor.php(23): Magento\Framework\View\Element\Template->fetchView()
#27 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(293): Magento\Sales\Block\Adminhtml\Order\Create\Data\Interceptor->fetchView()
#28 /home/xxxxxx/public_html/vendor/magento/module-backend/Block/Template.php(141): Magento\Framework\View\Element\Template->_toHtml()
#29 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Backend\Block\Template->_toHtml()
#30 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
#31 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#32 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Data/Interceptor.php(32): Magento\Framework\View\Element\AbstractBlock->toHtml()
#33 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(578): Magento\Sales\Block\Adminhtml\Order\Create\Data\Interceptor->toHtml()
#34 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()
#35 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#36 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#37 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#38 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(507): Magento\Framework\View\Layout\Interceptor->renderElement()
#39 /home/xxxxxx/public_html/var/view_preprocessed/pub/static/vendor/magento/module-sales/view/adminhtml/templates/order/create/form.phtml(1): Magento\Framework\View\Element\AbstractBlock->getChildHtml()
#40 /home/xxxxxx/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/xxxxxx/pu...')
#41 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#42 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#43 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception{closure}()
#44 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#45 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#46 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Interceptor.php(23): Magento\Framework\View\Element\Template->fetchView()
#47 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(293): Magento\Sales\Block\Adminhtml\Order\Create\Form\Interceptor->fetchView()
#48 /home/xxxxxx/public_html/vendor/magento/module-backend/Block/Template.php(141): Magento\Framework\View\Element\Template->_toHtml()
#49 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Backend\Block\Template->_toHtml()
#50 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
#51 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#52 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Form/Interceptor.php(32): Magento\Framework\View\Element\AbstractBlock->toHtml()
#53 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(578): Magento\Sales\Block\Adminhtml\Order\Create\Form\Interceptor->toHtml()
#54 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()
#55 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#56 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#57 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#58 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(507): Magento\Framework\View\Layout\Interceptor->renderElement()
#59 /home/xxxxxx/public_html/vendor/magento/module-backend/Block/Widget/Form/Container.php(220): Magento\Framework\View\Element\AbstractBlock->getChildHtml()
#60 /home/xxxxxx/public_html/var/view_preprocessed/pub/static/vendor/magento/module-backend/view/adminhtml/templates/widget/form/container.phtml(1): Magento\Backend\Block\Widget\Form\Container->getFormHtml()
#61 /home/xxxxxx/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(71): include('/home/xxxxxx/pu...')
#62 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\View\TemplateEngine\Php->render()
#63 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callParent()
#64 /home/xxxxxx/public_html/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\View\TemplateEngine\Php\Interceptor->Magento\Framework\Interception{closure}()
#65 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/TemplateEngine/Php/Interceptor.php(23): Magento\Framework\View\TemplateEngine\Php\Interceptor->___callPlugins()
#66 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(263): Magento\Framework\View\TemplateEngine\Php\Interceptor->render()
#67 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Interceptor.php(23): Magento\Framework\View\Element\Template->fetchView()
#68 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/Template.php(293): Magento\Sales\Block\Adminhtml\Order\Create\Interceptor->fetchView()
#69 /home/xxxxxx/public_html/vendor/magento/module-backend/Block/Template.php(141): Magento\Framework\View\Element\Template->_toHtml()
#70 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1095): Magento\Backend\Block\Template->_toHtml()
#71 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(1099): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
#72 /home/xxxxxx/public_html/vendor/magento/framework/View/Element/AbstractBlock.php(660): Magento\Framework\View\Element\AbstractBlock->_loadCache()
#73 /home/xxxxxx/public_html/generated/code/Magento/Sales/Block/Adminhtml/Order/Create/Interceptor.php(32): Magento\Framework\View\Element\AbstractBlock->toHtml()
#74 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(578): Magento\Sales\Block\Adminhtml\Order\Create\Interceptor->toHtml()
#75 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(555): Magento\Framework\View\Layout->_renderBlock()
#76 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#77 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#78 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#79 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#80 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#81 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#82 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#83 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#84 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#85 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#86 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#87 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#88 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#89 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#90 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#91 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#92 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#93 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#94 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#95 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#96 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#97 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#98 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#99 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#100 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#101 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#102 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#103 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#104 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#105 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#106 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#107 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#108 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#109 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#110 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#111 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#112 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#113 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#114 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(606): Magento\Framework\View\Layout\Interceptor->renderElement()
#115 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(557): Magento\Framework\View\Layout->_renderContainer()
#116 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(149): Magento\Framework\View\Layout->renderNonCachedElement()
#117 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(510): Magento\Framework\View\Layout\Interceptor->renderNonCachedElement()
#118 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(140): Magento\Framework\View\Layout->renderElement()
#119 /home/xxxxxx/public_html/vendor/magento/framework/View/Layout.php(975): Magento\Framework\View\Layout\Interceptor->renderElement()
#120 /home/xxxxxx/public_html/generated/code/Magento/Framework/View/Layout/Interceptor.php(347): Magento\Framework\View\Layout->getOutput()
#121 /home/xxxxxx/public_html/vendor/magento/framework/View/Result/Page.php(260): Magento\Framework\View\Layout\Interceptor->getOutput()
#122 /home/xxxxxx/public_html/vendor/magento/framework/View/Result/Layout.php(171): Magento\Framework\View\Result\Page->render()
#123 /home/xxxxxx/public_html/generated/code/Magento/Backend/Model/View/Result/Page/Interceptor.php(23): Magento\Framework\View\Result\Layout->renderResult()
#124 /home/xxxxxx/public_html/vendor/magento/framework/App/Http.php(120): Magento\Backend\Model\View\Result\Page\Interceptor->renderResult()
#125 /home/xxxxxx/public_html/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch()
#126 /home/xxxxxx/public_html/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
#127 /home/xxxxxx/public_html/pub/index.php(30): Magento\Framework\App\Bootstrap->run()
#128 {main} [] []

@m2-assistant
Copy link

m2-assistant bot commented Apr 29, 2022

Hi @jorgb90. Thank you for your report.
To speed up processing of this issue, make sure that you provided the following information:

  • Summary of the issue
  • Information on your environment
  • Steps to reproduce
  • Expected and actual results

Make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, Add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, review the Magento Contributor Assistant documentation.

Add a comment to assign the issue: @magento I am working on this

To learn more about issue processing workflow, refer to the Code Contributions.


⚠️ According to the Magento Contribution requirements, all issues must go through the Community Contributions Triage process. Community Contributions Triage is a public meeting.

🕙 You can find the schedule on the Magento Community Calendar page.

📞 The triage of issues happens in the queue order. If you want to speed up the delivery of your contribution, join the Community Contributions Triage session to discuss the appropriate ticket.

✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel

@engcom-Delta engcom-Delta added the Reported on 2.4.4 Indicates original Magento version for the Issue report. label Apr 29, 2022
@engcom-November engcom-November self-assigned this May 2, 2022
@m2-assistant
Copy link

m2-assistant bot commented May 2, 2022

Hi @engcom-November. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: 👇

  • 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).

    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.

  • 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and stop verification process here!

  • 5. Add label Issue: Confirmed once verification is complete.

  • 6. Make sure that automatic system confirms that report has been added to the backlog.

@engcom-November
Copy link
Contributor

engcom-November commented May 2, 2022

Hi @jorgb90 ,
Thank you for reporting and collaboration. Verified the issue on both Magento 2.4.4 and 2.4-develop versions but cannot able to reproduce the issue. User is able to create the orders / reorder successfully. Can you please provide more details and exact Preconditions and steps? From which version it is upgraded from?
(System requirements)
Thank you.

@engcom-November engcom-November added the Issue: needs update Additional information is require, waiting for response label May 2, 2022
@jorgb90
Copy link
Author

jorgb90 commented May 2, 2022

Hi @engcom-November We have updated the platform from 2.4.3-p1 to 2.4.4, but the platform itself is already older then that. We are running into this issue when opening a customer account in the admin and create an order from there. Perhaps it occurs cause we have a multi-store setup and our customers have a default address saved.

@hostep
Copy link
Contributor

hostep commented May 2, 2022

Is probably caused by this change: MC-42623:Countries list is incorrect when using different countries per website and Global Customer Account settings.
However, it's probably not a core bug in Magento, but some bug caused by a modification.

Somehow that $block->getData('customerAddressCollectionAttributeFilter'); is returning null in your case, while it should be set via an xml file:

<argument name="customerAddressCollectionAttributeFilter" xsi:type="object">Magento\Sales\ViewModel\Customer\Address\AddressAttributeFilter</argument>

So maybe you have some kind of customisation done to the backoffice order create form, that's somehow missing this customerAddressCollectionAttributeFilter argument in the block?

@jorgb90
Copy link
Author

jorgb90 commented May 2, 2022

@hostep Thanks! Will look into this. Only thing is that creating a new order from the order overview and selecting a customer there doesn't trigger this problem. It only occurs when trying to create an order from the customer profile.

Update:
Disabled all external modules which affect backend, but problem persists.

@jorgb90
Copy link
Author

jorgb90 commented May 5, 2022

Found the issue to be indeed a module, so this can be closed.

@jorgb90 jorgb90 closed this as completed May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue: needs update Additional information is require, waiting for response Reported on 2.4.4 Indicates original Magento version for the Issue report.
Projects
None yet
Development

No branches or pull requests

4 participants