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.
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 ...
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 ...
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\...
5
votes
Accepted
How to display errors from a custom controller in the view cart page?
Right now you have set the message in core/session. Have to set message in checkout/session to get it in checkout page.
Mage::getSingleton('checkout/session')->addError(Mage::helper('checkout')-&...
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 ...
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 ...
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 ...
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 ...
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(...
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-...
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 ...
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 ...
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/...
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/...
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 (...
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.
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 ...
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
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 ...
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($...
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 ...
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
->...
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
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
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-...
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' => [
<...
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 ...
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/...
1
vote
Magento2 staging getting error in my custom module
Please try with below code :
if (is_array($hash) && array_key_exists($hash_key, $hash))
{
//...magic stuff here
}
hope its work for you
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
frontend-error × 113magento2 × 49
magento-1.9 × 19
error × 17
frontend × 9
magento2.3 × 8
checkout × 6
javascript × 6
magento2.2 × 5
magento-2.1 × 4
product × 4
configurable-product × 4
magento-1.8 × 3
css × 3
addtocart × 3
products × 3
customer-account × 3
backend × 3
magento2.3.1 × 3
magento-1.7 × 2
module × 2
database × 2
layout × 2
custom × 2
cache × 2