I need to find the customer data in custom rest api model I think magento very the customer token from the header as bearer token so i need to get from the customer token.
Magento
Steps as follows: $ magento-cloud project:get e7s9kiwfapxcy $ cd cloned-directory $ git branch -a Output: * master remotes/magento/HEAD -> magento/master remotes/magento/jcollins remotes/magento/jcollins-child remotes/magento/master I created a new private repository in Bitbucket git remote add origin git@bitbucket.org:justincoll/magento.git Finally, I attempt to push all remote branches git push -u origin --all Result: […]
I am battling spam accounts being generated via Magento’s REST API for customers. Someone keeps hitting my site with Postman and dumping in hundreds of fake accounts. I have set Allow Anonymous Guest Access to No. How can I prevent this from happening?
after change M2 to other template I get below issue. (I clear old modules and theme files) I try deploy, compile etc. But still the same. 1 exception(s): Exception #0 (ReflectionException): Class CodazonThemeLayoutProModelCategoryAttributeBackendImage does not exist Exception #0 (ReflectionException): Class CodazonThemeLayoutProModelCategoryAttributeBackendImage does not exist<pre>#1 MagentoFrameworkCodeReaderClassReader->getConstructor() called at [vendor/magento/framework/ObjectManager/Definition/Runtime.php:54] #2 MagentoFrameworkObjectManagerDefinitionRuntime->getParameters() […]
Hello i’m getting an issue after moving my live 2.4.4 website (example.com) into a staging subdomain (testing.example.com) As you can see in screen shot i have broken CSS in admin login and also not working but i’m sure that username/password are correct https://ibb.co/4PMJ10c Also frontend works fine i have this […]
Good morning people! I come to ask for help with magento 2 configured for multiple stores, my problem is that when I have one or two stores it works normally, but our database has more than 20 stores registered and this causes a very long delay for the first load. […]
I am working with the Magento2, In that we’re installed the Loqate address verification extension (It’ll bring the suggestion Street address of the given input). In my requirement either the customer use the loqate extension or else I need to add a button like “Edit address manually” in that case […]
I am using the Mirasvit sphinx search and have configured an index from Magefan Blog posts. I get the following error in search result page regarding the blog posts. <ul class="mst-search__result-tabs"> <div class="mst-search__index mst-search__index-magefan-blog-post"> <div class="post-list-wrapper"> <ol class="post-list"> <li> Error: Call to a member function setData() on bool in /var/www/html/domain.com/html/app/design/frontend/Olegnax/athlete2/Magefan_Blog/templates/post/list/item.phtml:77 […]
I get this error ho to solve it ? { $store = $this->storeManager->getStore($storeId); if (!isset($variables['store'])) { $variables['store'] = $store; } if (!isset($variables['store']['frontend_name'])) { **$variables['store']['frontend_name'] = $store->getFrontendName();** } if (!isset($variables['logo_url'])) { $variables['logo_url'] = $this->getLogoUrl($storeId); } $variables[‘store’][‘frontend_name’] = $store->getFrontendName(); error in this line if I gives any idea.