- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-03-2024
04:16 AM
12-03-2024
04:16 AM
An error has happened during application run. See exception log for details.
Hello ,
i am getting this error in exception.log
#18 {main} {"exception":"[object] (Error(code: 0): Call to a member function getCode() on null at /home/uraircon/public_html/vendor/magento/module-store/App/Action/Plugin/Context.$
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2024
06:28 AM
12-06-2024
06:28 AM
Re: An error has happened during application run. See exception log for details.
Hello @anandimhere
This error is pointing to vendor/magento/module-store/App/Action/Plugin/Context. This plugin is part of Magento’s multi-store functionality and is used to retrieve the store information during execution. If the store or context is null, the error will occur.
Go to Stores > Configuration > General > Web in the Magento admin panel:
Ensure Add Store Code to URLs is properly set under URL Options.
Check if custom or third-party modules/plugins are overriding or interfering with the Context plugin.
Check your database to ensure the store table has valid data:
Open your database using a tool like phpMyAdmin or MySQL CLI.
SELECT * FROM store;
Hope it helps !
If you find our reply helpful, please give us kudos.
Thank You,
WebDesk Solution Support Team
Get a Free Quote | Email | Adobe Commerce Partner | Hire Us | Call Us 877.536.3789
Location: 150 King St. W. Toronto, ON M5H 1J9