-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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 getCustomerName() on null #34998
Comments
Hi @Green2Matter. Thank you for your report.
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:
For more details, review the Magento Contributor Assistant documentation. Add a comment to assign the issue: To learn more about issue processing workflow, refer to the Code Contributions.
🕙 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. 🎥 You can find the recording of the previous Community Contributions Triage on the Magento Youtube Channel ✏️ Feel free to post questions/proposals/feedback related to the Community Contributions Triage process to the corresponding Slack Channel |
@Green2Matter Hello. Steps that were made to reproduce the issue:
Actual result:Message about successful sharing - @Green2Matter if my steps were correct, can you specify is it still an issue? If it so, please provide more details about how to reproduce this bug? Thank you. |
Hi @engcom-November. Thank you for working on this issue.
|
@magento give me 2.4-develop instance |
Hi @engcom-November. Thank you for your request. I'm working on Magento instance for you. |
✅ Jira issue https://jira.corp.magento.com/browse/AC-2445 is successfully created for this GitHub issue. |
✅ Confirmed by @engcom-November. Thank you for verifying the issue. |
Hi @Green2Matter, Kindly upgrade to the latest Magento version In case of any Magento related issues found in For any Magento related references, you may refer to the Magento user guide. Thanks! |
Preconditions (*)
Steps to reproduce (*)
Go to admin panel - Stores - Settings - Configuration -> Catalog -> RSS Feeds - Enable RSS Config, Wishlist -> Save Config
Clear Cache
Front-end - Login as Customer - Add Products to Wish list
My Wish list -> Share Wish List -> Enter email id , message
Select "Check here to link an RSS feed to your Wish List" Checkbox and click on Share Wish list
Expected result (*)
Actual result (*)
Error: Call to a member function getCustomerName() on null in <magento_root>/vendor/magento/module-wishlist/view/frontend/templates/rss/email.phtml:15
Stack trace:
#0 <magento_root>/vendor/magento/framework/View/TemplateEngine/Php.php(71): include()
Can you commit to repository a folder dev/tests/static ? #1 <magento_root>/vendor/magento/framework/View/Element/Template.php(273): Magento\Framework\View\TemplateEngine\Php->render()
BUG FIX - Uncaught exception when accessing admin with none existent use... #2 <magento_root>/vendor/magento/framework/View/Element/Template.php(303): Magento\Framework\View\Element\Template->fetchView()
__DIR__ Typo fixed #3 <magento_root>/vendor/magento/framework/View/Element/AbstractBlock.php(1114): Magento\Framework\View\Element\Template->_toHtml()
Enable Magento_Profiler by SetEnv #4 <magento_root>/vendor/magento/framework/View/Element/AbstractBlock.php(1118): Magento\Framework\View\Element\AbstractBlock->Magento\Framework\View\Element{closure}()
Enable automated CRUD setup for Adminhtml Grids #5 <magento_root>/vendor/magento/framework/View/Element/AbstractBlock.php(678): Magento\Framework\View\Element\AbstractBlock->_loadCache()
Why use private for message ? #6 <magento_root>/vendor/magento/module-wishlist/Controller/Index/Send.php(328): Magento\Framework\View\Element\AbstractBlock->toHtml()
Ability to provide configuration for different environments in app/etc/local.xml #7 <magento_root>/vendor/magento/module-wishlist/Controller/Index/Send.php(237): Magento\Wishlist\Controller\Index\Send->getRssLink()
Clear separation for Controller and controllers required with Full Controller path #8 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Wishlist\Controller\Index\Send->execute()
Added: dispatchEvent to deleteAction(). Only existed in massDeleteAction(). #9 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Wishlist\Controller\Index\Send\Interceptor->___callParent()
Merged JS/CSS improvements #10 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Wishlist\Controller\Index\Send\Interceptor->Magento\Framework\Interception{closure}()
Design suggestion for cross browser compitablity #11 <magento_root>/generated/code/Magento/Wishlist/Controller/Index/Send/Interceptor.php(23): Magento\Wishlist\Controller\Index\Send\Interceptor->___callPlugins()
core/template block should use a helper or a model #12 <magento_root>/vendor/magento/framework/App/Action/Action.php(111): Magento\Wishlist\Controller\Index\Send\Interceptor->execute()
Performance Testing #13 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch()
Adding dispatch of an event before and after applyAllUpdates() #14 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Wishlist\Controller\Index\Send\Interceptor->___callParent()
Decrease dependencies from Mage class #15 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Wishlist\Controller\Index\Send\Interceptor->Magento\Framework\Interception{closure}()
Block must know nothing about his parent #16 <magento_root>/generated/code/Magento/Wishlist/Controller/Index/Send/Interceptor.php(32): Magento\Wishlist\Controller\Index\Send\Interceptor->___callPlugins()
Move validation of Mage_Customer_Model_Address to another class #17 <magento_root>/vendor/magento/framework/App/FrontController.php(245): Magento\Wishlist\Controller\Index\Send\Interceptor->dispatch()
MCACE-136 - Catalog API call assignProduct does not pass $identifierType... #18 <magento_root>/vendor/magento/framework/App/FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse()
Allow module dependencies to not be "hard" dependencies. #19 <magento_root>/vendor/magento/framework/App/FrontController.php(147): Magento\Framework\App\FrontController->processRequest()
Can not import product by System -> Import/Export -> Dataflow - Profiles -> Import All Products #20 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(58): Magento\Framework\App\FrontController->dispatch()
Unable to locate skin file pub/js/css/reset.css #21 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent()
Reorganize resources/setup files #22 <magento_root>/vendor/magento/module-store/App/FrontController/Plugin/RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}()
Errors at reports > product > most viewed #23 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch()
Remove var Translator = new Translate... from every page #24 <magento_root>/vendor/mirasvit/module-cache-warmer/src/CacheWarmer/Plugin/Debug/OnHitPlugin.php(140): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}()
Rename Mage_Core_Block_Abstract::getHelper #25 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(135): Mirasvit\CacheWarmer\Plugin\Debug\OnHitPlugin->aroundAroundDispatch()
Mage_Core_Block_Abstract::__() use singleton for expr var #26 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(153): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->Magento\Framework\Interception{closure}()
Comment improved. #27 <magento_root>/generated/code/Magento/PageCache/Model/App/FrontController/BuiltinPlugin/Interceptor.php(23): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->___callPlugins()
Added removeLink method. #28 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin\Interceptor->aroundDispatch()
Use Flyweight pattern for blocks in layout updates #29 <magento_root>/vendor/swissup/module-amp/Plugin/Framework/FrontController.php(48): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}()
Error happenes when installation #30 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(135): Swissup\Amp\Plugin\Framework\FrontController->aroundDispatch()
Create Setup class with possibility to create tables with translatable fields #31 <magento_root>/vendor/magento/framework/Interception/Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}()
Mage Captcha #32 <magento_root>/generated/code/Magento/Framework/App/FrontController/Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins()
Add display mode for categoty #33 <magento_root>/vendor/magento/framework/App/Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch()
Catalog product price rules should be moved to controller/model #34 <magento_root>/generated/code/Magento/Framework/App/Http/Interceptor.php(23): Magento\Framework\App\Http->launch()
What is the use of Mage_Core_Block_Flush ? #35 <magento_root>/vendor/magento/framework/App/Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
Possibility to force catalog prices include or exclude tax #36 <magento_root>/pub/index.php(29): Magento\Framework\App\Bootstrap->run()
Add method to prevent sending of response after action completes #37 {main}]
Please provide Severity assessment for the Issue as Reporter. This information will help during Confirmation and Issue triage processes.
The text was updated successfully, but these errors were encountered: