Magento2.1.0 showing error Required parameter 'theme_dir' was not passed while saving product in adminHow to set “theme_dir” error. Magento 2Magento 2 Required parameter 'theme_dir' was not passedRequired parameter 'theme_dir' was not passedMagento2 TypeError: cart is not a functionMagento2.1.0 Order Grid not displaying Search and Filter option in AdminMagento2.1.0 Checkout page Not redirecting to success or error page when order is made by Authorize.netGetting error when I try to add image to productMagento 2 Required parameter 'theme_dir' was not passedIn Magento 2, how to resolve “Required parameter 'theme_dir' was not passed” during migration from one server to another, without deleting the theme?Required parameter 'theme_dir' was not passed when adding redis configuration to env.phpRequired parameter ‘theme_dir’ was not passedMagento 2.3 - Required parameter 'theme_dir' was not passed after applying custom 'Blank' theme
Impedance ratio vs. SWR
SQL counting distinct over partition
How can electric fields be used to detect cracks in metals?
What's up with this leaf?
eval() in Lightning Web Components
How to forge a multi-part weapon?
How can I get an unreasonable manager to approve time off?
Why is only the fundamental frequency component said to give useful power?
Is it a problem if <h4>, <h5> and <h6> are smaller than regular text?
Grover algorithm for a database search: where is the quantum advantage?
Should I compare a std::string to "string" or "string"s?
Trapping Rain Water
When 2-pentene reacts with HBr, what will be the major product?
How did old MS-DOS games utilize various graphic cards?
Generate a Graeco-Latin square
Déjà vu, again?
Share calendar details request from manager's manager
Second (easy access) account in case my bank screws up
PhD - Well known professor or well known school?
What ways have you found to get edits from non-LaTeX users?
When stealing something do you need to roll stealth and sleight of hand?
Were Alexander the Great and Hephaestion lovers?
What do abbreviations in movie scripts stand for?
An average heaven where everyone has sexless golden bodies and is bored
Magento2.1.0 showing error Required parameter 'theme_dir' was not passed while saving product in admin
How to set “theme_dir” error. Magento 2Magento 2 Required parameter 'theme_dir' was not passedRequired parameter 'theme_dir' was not passedMagento2 TypeError: cart is not a functionMagento2.1.0 Order Grid not displaying Search and Filter option in AdminMagento2.1.0 Checkout page Not redirecting to success or error page when order is made by Authorize.netGetting error when I try to add image to productMagento 2 Required parameter 'theme_dir' was not passedIn Magento 2, how to resolve “Required parameter 'theme_dir' was not passed” during migration from one server to another, without deleting the theme?Required parameter 'theme_dir' was not passed when adding redis configuration to env.phpRequired parameter ‘theme_dir’ was not passedMagento 2.3 - Required parameter 'theme_dir' was not passed after applying custom 'Blank' theme
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I am facing this error Required parameter 'theme_dir' was not passed when i try to save the product in admin. I checked the theme configuration it was assigned to the stores. Recently i have upgraded from 2.0.7 to 2.1.0.Also i have checked the theme directory registration.php file exists. Anyone came across this issue.
magento2 admin theme products-management magento2.1.0
add a comment |
I am facing this error Required parameter 'theme_dir' was not passed when i try to save the product in admin. I checked the theme configuration it was assigned to the stores. Recently i have upgraded from 2.0.7 to 2.1.0.Also i have checked the theme directory registration.php file exists. Anyone came across this issue.
magento2 admin theme products-management magento2.1.0
add a comment |
I am facing this error Required parameter 'theme_dir' was not passed when i try to save the product in admin. I checked the theme configuration it was assigned to the stores. Recently i have upgraded from 2.0.7 to 2.1.0.Also i have checked the theme directory registration.php file exists. Anyone came across this issue.
magento2 admin theme products-management magento2.1.0
I am facing this error Required parameter 'theme_dir' was not passed when i try to save the product in admin. I checked the theme configuration it was assigned to the stores. Recently i have upgraded from 2.0.7 to 2.1.0.Also i have checked the theme directory registration.php file exists. Anyone came across this issue.
magento2 admin theme products-management magento2.1.0
magento2 admin theme products-management magento2.1.0
edited Jul 4 '17 at 12:07
Fabian Schmengler
55.2k21142357
55.2k21142357
asked Jul 13 '16 at 4:03
user2520
add a comment |
add a comment |
4 Answers
4
active
oldest
votes
This error appears when you remove a template folder, which is still referenced in the database. The simplest way to fix it is, go to the database, and in table 'theme', find the theme name which does not exist in app/design/frontend/package.
DELETE the reference to the missing theme from the table.
This should be the accepted answer.
– seanbreeden
Sep 29 '17 at 15:45
PERFECT.. WORKED LIKE A CHARM
– Zorox
Sep 30 '18 at 7:21
This should be the accepted answer.
– Daan van den Bergh
Oct 25 '18 at 11:09
add a comment |
I can confirm that the answer by Vu Anh works. Here's an explanation why this happens when products are saved, although the deleted theme is used nowhere:
After saving a product, the image cache is regenerated for all themes. Each theme can have its own image size formats, defined in etc/view.xml and all of these will be generated.
But instead of looking for the configured themes in all stores, Magento goes through all themes in the theme table.
If you did not properly uninstall a theme and just removed the files, the orphaned entry refers to a nonexistent path and the described exception is thrown.
add a comment |
I have the same error Required parameter 'theme_dir' was not passed. I work with 2.1.0 from the beginning, not with updating. And I have one custom product attribute "style".
The problem occurs when I try to save the new photo in the material. Without the image, the product saved normally.
Fix with commenting the exception under the file:
vendor/magento/framework/view/design/Fallbck/Rule/Simple.php
It worked for me. But I think it's a hack.
This is definitely a hack. Fix the problem instead of removing the exception.
– Daan van den Bergh
Oct 25 '18 at 10:50
add a comment |
Finally I fixed it by commenting out the exception under vendor/magento/framework/View/Design/Fallback/Rule/Simple.php.
if (in_array($placeholder, $this->optionalParams))
return [];
else
return [];
//throw new InvalidArgumentException("Required parameter '$placeholder' was not passed");
4
But this doesn't fix the error, only doesn't show it anymore. (I think Vu Anh's solution is more a fix)
– BvdVen
Sep 30 '16 at 13:02
3
This is not the right way of fixing this issue! Check the answer from Vu Anh.
– medina
Oct 18 '16 at 5:03
2
This is not a best solution. Please don't do this
– Ankit Shah
Mar 27 '17 at 4:23
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f125435%2fmagento2-1-0-showing-error-required-parameter-theme-dir-was-not-passed-while-s%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
This error appears when you remove a template folder, which is still referenced in the database. The simplest way to fix it is, go to the database, and in table 'theme', find the theme name which does not exist in app/design/frontend/package.
DELETE the reference to the missing theme from the table.
This should be the accepted answer.
– seanbreeden
Sep 29 '17 at 15:45
PERFECT.. WORKED LIKE A CHARM
– Zorox
Sep 30 '18 at 7:21
This should be the accepted answer.
– Daan van den Bergh
Oct 25 '18 at 11:09
add a comment |
This error appears when you remove a template folder, which is still referenced in the database. The simplest way to fix it is, go to the database, and in table 'theme', find the theme name which does not exist in app/design/frontend/package.
DELETE the reference to the missing theme from the table.
This should be the accepted answer.
– seanbreeden
Sep 29 '17 at 15:45
PERFECT.. WORKED LIKE A CHARM
– Zorox
Sep 30 '18 at 7:21
This should be the accepted answer.
– Daan van den Bergh
Oct 25 '18 at 11:09
add a comment |
This error appears when you remove a template folder, which is still referenced in the database. The simplest way to fix it is, go to the database, and in table 'theme', find the theme name which does not exist in app/design/frontend/package.
DELETE the reference to the missing theme from the table.
This error appears when you remove a template folder, which is still referenced in the database. The simplest way to fix it is, go to the database, and in table 'theme', find the theme name which does not exist in app/design/frontend/package.
DELETE the reference to the missing theme from the table.
edited Sep 18 '17 at 16:26
Rafael Corrêa Gomes
4,87523367
4,87523367
answered Sep 8 '16 at 14:27
Vu AnhVu Anh
81669
81669
This should be the accepted answer.
– seanbreeden
Sep 29 '17 at 15:45
PERFECT.. WORKED LIKE A CHARM
– Zorox
Sep 30 '18 at 7:21
This should be the accepted answer.
– Daan van den Bergh
Oct 25 '18 at 11:09
add a comment |
This should be the accepted answer.
– seanbreeden
Sep 29 '17 at 15:45
PERFECT.. WORKED LIKE A CHARM
– Zorox
Sep 30 '18 at 7:21
This should be the accepted answer.
– Daan van den Bergh
Oct 25 '18 at 11:09
This should be the accepted answer.
– seanbreeden
Sep 29 '17 at 15:45
This should be the accepted answer.
– seanbreeden
Sep 29 '17 at 15:45
PERFECT.. WORKED LIKE A CHARM
– Zorox
Sep 30 '18 at 7:21
PERFECT.. WORKED LIKE A CHARM
– Zorox
Sep 30 '18 at 7:21
This should be the accepted answer.
– Daan van den Bergh
Oct 25 '18 at 11:09
This should be the accepted answer.
– Daan van den Bergh
Oct 25 '18 at 11:09
add a comment |
I can confirm that the answer by Vu Anh works. Here's an explanation why this happens when products are saved, although the deleted theme is used nowhere:
After saving a product, the image cache is regenerated for all themes. Each theme can have its own image size formats, defined in etc/view.xml and all of these will be generated.
But instead of looking for the configured themes in all stores, Magento goes through all themes in the theme table.
If you did not properly uninstall a theme and just removed the files, the orphaned entry refers to a nonexistent path and the described exception is thrown.
add a comment |
I can confirm that the answer by Vu Anh works. Here's an explanation why this happens when products are saved, although the deleted theme is used nowhere:
After saving a product, the image cache is regenerated for all themes. Each theme can have its own image size formats, defined in etc/view.xml and all of these will be generated.
But instead of looking for the configured themes in all stores, Magento goes through all themes in the theme table.
If you did not properly uninstall a theme and just removed the files, the orphaned entry refers to a nonexistent path and the described exception is thrown.
add a comment |
I can confirm that the answer by Vu Anh works. Here's an explanation why this happens when products are saved, although the deleted theme is used nowhere:
After saving a product, the image cache is regenerated for all themes. Each theme can have its own image size formats, defined in etc/view.xml and all of these will be generated.
But instead of looking for the configured themes in all stores, Magento goes through all themes in the theme table.
If you did not properly uninstall a theme and just removed the files, the orphaned entry refers to a nonexistent path and the described exception is thrown.
I can confirm that the answer by Vu Anh works. Here's an explanation why this happens when products are saved, although the deleted theme is used nowhere:
After saving a product, the image cache is regenerated for all themes. Each theme can have its own image size formats, defined in etc/view.xml and all of these will be generated.
But instead of looking for the configured themes in all stores, Magento goes through all themes in the theme table.
If you did not properly uninstall a theme and just removed the files, the orphaned entry refers to a nonexistent path and the described exception is thrown.
edited Sep 18 '17 at 16:27
Rafael Corrêa Gomes
4,87523367
4,87523367
answered Jul 4 '17 at 12:06
Fabian SchmenglerFabian Schmengler
55.2k21142357
55.2k21142357
add a comment |
add a comment |
I have the same error Required parameter 'theme_dir' was not passed. I work with 2.1.0 from the beginning, not with updating. And I have one custom product attribute "style".
The problem occurs when I try to save the new photo in the material. Without the image, the product saved normally.
Fix with commenting the exception under the file:
vendor/magento/framework/view/design/Fallbck/Rule/Simple.php
It worked for me. But I think it's a hack.
This is definitely a hack. Fix the problem instead of removing the exception.
– Daan van den Bergh
Oct 25 '18 at 10:50
add a comment |
I have the same error Required parameter 'theme_dir' was not passed. I work with 2.1.0 from the beginning, not with updating. And I have one custom product attribute "style".
The problem occurs when I try to save the new photo in the material. Without the image, the product saved normally.
Fix with commenting the exception under the file:
vendor/magento/framework/view/design/Fallbck/Rule/Simple.php
It worked for me. But I think it's a hack.
This is definitely a hack. Fix the problem instead of removing the exception.
– Daan van den Bergh
Oct 25 '18 at 10:50
add a comment |
I have the same error Required parameter 'theme_dir' was not passed. I work with 2.1.0 from the beginning, not with updating. And I have one custom product attribute "style".
The problem occurs when I try to save the new photo in the material. Without the image, the product saved normally.
Fix with commenting the exception under the file:
vendor/magento/framework/view/design/Fallbck/Rule/Simple.php
It worked for me. But I think it's a hack.
I have the same error Required parameter 'theme_dir' was not passed. I work with 2.1.0 from the beginning, not with updating. And I have one custom product attribute "style".
The problem occurs when I try to save the new photo in the material. Without the image, the product saved normally.
Fix with commenting the exception under the file:
vendor/magento/framework/view/design/Fallbck/Rule/Simple.php
It worked for me. But I think it's a hack.
edited Sep 18 '17 at 16:21
Rafael Corrêa Gomes
4,87523367
4,87523367
answered Aug 30 '16 at 4:34
GalinaGalina
593
593
This is definitely a hack. Fix the problem instead of removing the exception.
– Daan van den Bergh
Oct 25 '18 at 10:50
add a comment |
This is definitely a hack. Fix the problem instead of removing the exception.
– Daan van den Bergh
Oct 25 '18 at 10:50
This is definitely a hack. Fix the problem instead of removing the exception.
– Daan van den Bergh
Oct 25 '18 at 10:50
This is definitely a hack. Fix the problem instead of removing the exception.
– Daan van den Bergh
Oct 25 '18 at 10:50
add a comment |
Finally I fixed it by commenting out the exception under vendor/magento/framework/View/Design/Fallback/Rule/Simple.php.
if (in_array($placeholder, $this->optionalParams))
return [];
else
return [];
//throw new InvalidArgumentException("Required parameter '$placeholder' was not passed");
4
But this doesn't fix the error, only doesn't show it anymore. (I think Vu Anh's solution is more a fix)
– BvdVen
Sep 30 '16 at 13:02
3
This is not the right way of fixing this issue! Check the answer from Vu Anh.
– medina
Oct 18 '16 at 5:03
2
This is not a best solution. Please don't do this
– Ankit Shah
Mar 27 '17 at 4:23
add a comment |
Finally I fixed it by commenting out the exception under vendor/magento/framework/View/Design/Fallback/Rule/Simple.php.
if (in_array($placeholder, $this->optionalParams))
return [];
else
return [];
//throw new InvalidArgumentException("Required parameter '$placeholder' was not passed");
4
But this doesn't fix the error, only doesn't show it anymore. (I think Vu Anh's solution is more a fix)
– BvdVen
Sep 30 '16 at 13:02
3
This is not the right way of fixing this issue! Check the answer from Vu Anh.
– medina
Oct 18 '16 at 5:03
2
This is not a best solution. Please don't do this
– Ankit Shah
Mar 27 '17 at 4:23
add a comment |
Finally I fixed it by commenting out the exception under vendor/magento/framework/View/Design/Fallback/Rule/Simple.php.
if (in_array($placeholder, $this->optionalParams))
return [];
else
return [];
//throw new InvalidArgumentException("Required parameter '$placeholder' was not passed");
Finally I fixed it by commenting out the exception under vendor/magento/framework/View/Design/Fallback/Rule/Simple.php.
if (in_array($placeholder, $this->optionalParams))
return [];
else
return [];
//throw new InvalidArgumentException("Required parameter '$placeholder' was not passed");
edited Feb 16 '17 at 14:00
7ochem
5,90993770
5,90993770
answered Jul 15 '16 at 2:42
user2520
4
But this doesn't fix the error, only doesn't show it anymore. (I think Vu Anh's solution is more a fix)
– BvdVen
Sep 30 '16 at 13:02
3
This is not the right way of fixing this issue! Check the answer from Vu Anh.
– medina
Oct 18 '16 at 5:03
2
This is not a best solution. Please don't do this
– Ankit Shah
Mar 27 '17 at 4:23
add a comment |
4
But this doesn't fix the error, only doesn't show it anymore. (I think Vu Anh's solution is more a fix)
– BvdVen
Sep 30 '16 at 13:02
3
This is not the right way of fixing this issue! Check the answer from Vu Anh.
– medina
Oct 18 '16 at 5:03
2
This is not a best solution. Please don't do this
– Ankit Shah
Mar 27 '17 at 4:23
4
4
But this doesn't fix the error, only doesn't show it anymore. (I think Vu Anh's solution is more a fix)
– BvdVen
Sep 30 '16 at 13:02
But this doesn't fix the error, only doesn't show it anymore. (I think Vu Anh's solution is more a fix)
– BvdVen
Sep 30 '16 at 13:02
3
3
This is not the right way of fixing this issue! Check the answer from Vu Anh.
– medina
Oct 18 '16 at 5:03
This is not the right way of fixing this issue! Check the answer from Vu Anh.
– medina
Oct 18 '16 at 5:03
2
2
This is not a best solution. Please don't do this
– Ankit Shah
Mar 27 '17 at 4:23
This is not a best solution. Please don't do this
– Ankit Shah
Mar 27 '17 at 4:23
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f125435%2fmagento2-1-0-showing-error-required-parameter-theme-dir-was-not-passed-while-s%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown