22 votes
Accepted

Error after Migration: Unable to load theme by specified key (Magento 2)

Thanks for your help. I found 'themename' in database table design_change and delete the table content.
user39120's user avatar
  • 236
6 votes
Accepted

Magento 2 Custom Module Frontend Error

Add this Code to vendor\Module\Controller\Index/Index.php <?php namespace vendor\Module\Controller\Index; use Magento\Framework\View\Result\PageFactory; use Magento\Framework\App\...
Rajkumar .E's user avatar
  • 3,550
6 votes

Dotmailer connector API endpoint cannot be empty

I've created a github issue to look at this: https://github.com/dotmailer/dotmailer-magento2-extension/issues/495 We've identified a cron job that is attempting to initialise the api without ...
simon-letch's user avatar
6 votes
Accepted

You need to choose options for your item even if option is chosen - Magento 2

You need to check what parameters we are sending in post data.when we select color and size so it select their option id and these option id sent in post data.So you need to check Post data in ...
Shubham Khandelwal's user avatar
4 votes
Accepted

Installed Magento 2, tried to go to the Magento Frontend/Admin in Chrome, but only get "This site can’t be reached"

Please try to run below commands sudo a2ensite magento2.conf sudo systemctl restart apache2 And also add your URL in /etc/hosts sudo nano /etc/hosts 127.0.0.1 jjsmykker.dk If on windows remember to ...
Kishan Savaliya's user avatar
3 votes

503 Error Area Code Is Not Set

I believe this issue can be resolved by increasing your redis max_concurrency value in app/etc/env.php, try stepping it above what you have now a little. Don't use 999999 ;) 'session' => array(...
Luke Rodgers's user avatar
  • 4,442
3 votes

Exception #0 (Magento\Framework\Config\Dom\ValidationException): Element 'css': This element is not expected

It sounds as if there's a layout file which has a <css> node where it shouldn't be. If you're using bash/zsh, run the grep command below and it should point you in the right direction as to ...
Rhys - SproutDesk's user avatar
3 votes
Accepted

After installation, I have problems with Magento 2

The issue is occur because after install magento 2 you haven't deploy its static content. So magento 2 unable to find your css and js. To resolve this issue run below commands in the root directory ...
Manthan Dave's user avatar
  • 9,806
3 votes
Accepted

Custom Block generating an error on template: Magento

After trying to execute the given SQL query in phpmyadmin for a default Magento database, I got the following error: #1054 - Unknown column 'e.name' in 'field list' What this means is that the ...
V.S's user avatar
  • 904
3 votes
Accepted

Magento 2.3.1 is not working in Xampp

Try editing the Validator file from vendor folder with namespace Magento\Framework\View\Element\Template\File At around line 138 replace code with this one $realPath = str_replace('\\', '/',$this-...
fmsthird's user avatar
  • 4,592
3 votes

Magento 2 changing from production to developer I get error Element 'remove': This element is not expected

Find "<remove" this sting in your app folder. you will find like below code: <remove name="product.info.price"/> remove this, its alternative, you need to add remove="true" attribute in ...
Prashant Valanda's user avatar
3 votes

TypeError: require.config is not a function in Magento 2

Please check mod_rewrite enabled in your server and also check the directory symlinks like this in your server. Open /etc/apache2/apache2.conf <Directory /var/www/> Options Indexes ...
Jeeva Chezhiyan's user avatar
3 votes
Accepted

How do I disable Two-Factor Authentication properly?

Please run the following command, and the site will be up. The website is broken because you have not deployed static content. php -d memory_limit=-1 bin/magento module:disable Magento_TwoFactorAuth ...
Msquare's user avatar
  • 9,033
2 votes

Uncaught SyntaxError: missing ) after argument list

You should modify following way var searchForm = new Varien.searchForm('search_mini_form', 'search', 'Cerca nell\'intero negozio...'); Following file : app/design/frontend/rwd/default/template/...
Sohel Rana's user avatar
  • 35.7k
2 votes

Fatal error: Call to a member function isRequired() on a non-object in app/code/core/Mage/Captcha/Model/Observer.php on line 167

We had the same issue. I have overloaded the core method and added an additional check. Maybe this will help, if the error occurs the next time. app/code/local/Stackexchange/CaptchaExtension/Model/...
stollr's user avatar
  • 127
2 votes

unfortunately your browser is not supported. please try another one

The message comes from /js/braintree/braintree-utils.js when using Older browser version. Following Code in /js/braintree/braintree-utils.js generates these alert messages: onUnsupported: function (...
Reena Parekh's user avatar
  • 1,917
2 votes

'Internal Server Error' in Magento multistore (subdomain)

You can use the log_errors and error_log directives to configure PHP error logging via .htaccess. # enable PHP error logging php_flag log_errors on php_value error_log /path/filename
Neklo.com's user avatar
  • 2,379
2 votes
Accepted

404 error in custom module frontname

The extension requires to be configured from the backend first before you start using it for the frontend. There are many settings, without which the extension will not work. The controller's ...
Mohit Kumar Arora's user avatar
2 votes

Error after Migration: Unable to load theme by specified key (Magento 2)

To fix this I used: SELECT * FROM `core_config_data` WHERE `path` LIKE '%theme_id%' and then deleted my custom theme records. I also had to empty the Magento var/cache directory.
Richard Creek's user avatar
2 votes

Error after Migration: Unable to load theme by specified key (Magento 2)

Actually I tried that the problem was my old theme wasn't there anymore and I wasn't going to use it anymore cause it wasn't compatible with magento 2.. So there was a entry somewhere saying to go to ...
shoutcast's user avatar
2 votes
Accepted

Magento2: Customer name is not showing on product page

You need to add this below line in your header.phtm file : <span data-bind="text: customer().fullname ? $t('Welcome, %1!').replace('%1', customer().fullname) : '<?=$block->escapeHtml($...
Rohan Hapani's user avatar
  • 17.3k
2 votes

Magento2 : Getting error in console customer-data.js:86

It turns out that customer-data.js uses the localStorage to store a variety of stuff (probably for caching purposes). This means that when a module (or Magento) updates, you'd better make sure to ...
Amit Naraniwal's user avatar
2 votes

Magento 2.3.0 How to add store filter in searchCriteriaBuilder

If you want to pass multiple storeId to Filter You can use in for multi-store select. So your code looks like below : $searchCriteria = $this->searchCriteriaBuilder ->...
Himanshu's user avatar
  • 1,761
2 votes

TypeError: require.config is not a function in Magento 2

please check it pub/static/ inside htaccess exits or not same path pub/media/ inside check it after all command apply it
Rv Singh's user avatar
  • 1,617
2 votes
Accepted

TypeError: require.config is not a function in Magento 2

I solved this problem by running: php bin/magento setup:upgrade php bin/magento setup:static-content:deploy
Kowsigan Atsayam's user avatar
2 votes
Accepted

Magento 2: Unable to unserialize value. Error: Control character error, possibly incorrectly encoded

I solve this issue by flushing my Redis Cache from by running following commands redis-cli flushall I hope this works. EDIT try this https://www.scommerce-mage.com/blog/solved-unable-to-...
ASQ's user avatar
  • 1,052
2 votes
Accepted

Error Exception message: The product's required option(s) weren't entered. Make sure the options are entered and try again. Magento 2

The correct params format is like below: $params = [ 'form_key' => <form_key>, 'product' => <product_id>, 'qty' => <quantity>, 'options' => [ <...
Rendy Eko Prastiyo's user avatar
2 votes

Uncaught TypeError: utils.formatPriceLocale is not a function

I faced the same issue when I upgraded one of the website from Magento2.4.4 to Magento2.4.5-p2. After investing lots of hours I debugged the issue so I thought to share my findings here so that It may ...
Praveen Tyagi's user avatar
2 votes
Accepted

Reset password not working in magento 2.4.5

I have managed to fix this issue with Porto theme. I renamed the below two files, and clear caches and it starts working again. app/design/frontend/Smartwave/porto/Magento_Customer/templates/form/...
Sandeep Nair's user avatar
1 vote

Magento2: HTML tag is not working in custom email template

You can take a look on this file: vendor/magento/module-sales/view/frontend/email/shipment_update.html <p>{{trans 'You can check the status of your order by <a href="%account_url">...
DavidVR's user avatar
  • 166

Only top scored, non community-wiki answers of a minimum length are eligible