After creating a custom theme in Magento 2 give an error in backendHow can i rewrite TierPrice Block in...
What is a good reason for every spaceship to carry a weapon on board?
What to look for when criticizing poetry?
In Linux what happens if 1000 files in a directory are moved to another location while another 300 files were added to the source directory?
Is boss over stepping boundary/micromanaging?
How does Leonard in "Memento" remember reading and writing?
Finding a logistic regression model which can achieve zero error on a training set training data for a binary classification problem with two features
Why zero tolerance on nudity in space?
Removing disk while game is suspended
Making him into a bully (how to show mild violence)
Citing paywalled articles accessed via illegal web sharing
What incentives do banks have to gather up loans into pools (backed by Ginnie Mae)and selling them?
Eww, those bytes are gross
It took me a lot of time to make this, pls like. (YouTube Comments #1)
When can a QA tester start his job?
How should I handle players who ignore the session zero agreement?
Why avoid shared user accounts?
Do authors have to be politically correct in article-writing?
Dilemma of explaining to interviewer that he is the reason for declining second interview
How can I get my players to come to the game session after agreeing to a date?
Why was Lupin comfortable with saying Voldemort's name?
Do theoretical physics suggest that gravity is the exchange of gravitons or deformation/bending of spacetime?
Is there a weight limit to Feather Fall?
Consequences of lack of rigour
A starship is travelling at 0.9c and collides with a small rock. Will it leave a clean hole through, or will more happen?
After creating a custom theme in Magento 2 give an error in backend
How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.x some css and js not working in custom themeMagento 2 - Creating a child themeMagento 2 theme HELPMagento 2: Admin theme installationMagento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom Options
Why does it gives an error if I just created my custom theme in Magento, besides
this there is only one custom module and nothing else, where does this error comes from?
And gives an error when I call the command setup:upgrade
Module 'Magento_Theme': Running data recurring...Item
(MagentoThemeModelThemeData) with the same ID "0" already exists.
theme.xml
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>Dataworld</title>
<parent>Magento/blank</parent>
<!-- <media>
<preview_image>media/preview.jpg</preview_image>
</media>-->
</theme>
registration.php
MagentoFrameworkComponentComponentRegistrar::register(
MagentoFrameworkComponentComponentRegistrar::THEME,
'frontend/Shooga/Dataworld',
__DIR__
);
magento2 theme-overriding
|
show 2 more comments
Why does it gives an error if I just created my custom theme in Magento, besides
this there is only one custom module and nothing else, where does this error comes from?
And gives an error when I call the command setup:upgrade
Module 'Magento_Theme': Running data recurring...Item
(MagentoThemeModelThemeData) with the same ID "0" already exists.
theme.xml
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>Dataworld</title>
<parent>Magento/blank</parent>
<!-- <media>
<preview_image>media/preview.jpg</preview_image>
</media>-->
</theme>
registration.php
MagentoFrameworkComponentComponentRegistrar::register(
MagentoFrameworkComponentComponentRegistrar::THEME,
'frontend/Shooga/Dataworld',
__DIR__
);
magento2 theme-overriding
did you made your theme according to this guidelines?
– ABHISHEK TRIPATHI
27 mins ago
ABHISHEK TRIPATHI yes
– Robinio Tor
24 mins ago
1
Can u share the code from registration.php and theme.xml?
– Sejal Shah
15 mins ago
1
Check the theme table on database. It seems you have two theme_id with id of 0.
– Korbin
7 mins ago
1
Check your theme id in theme table.
– ARUNPRABAKARAN M
6 mins ago
|
show 2 more comments
Why does it gives an error if I just created my custom theme in Magento, besides
this there is only one custom module and nothing else, where does this error comes from?
And gives an error when I call the command setup:upgrade
Module 'Magento_Theme': Running data recurring...Item
(MagentoThemeModelThemeData) with the same ID "0" already exists.
theme.xml
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>Dataworld</title>
<parent>Magento/blank</parent>
<!-- <media>
<preview_image>media/preview.jpg</preview_image>
</media>-->
</theme>
registration.php
MagentoFrameworkComponentComponentRegistrar::register(
MagentoFrameworkComponentComponentRegistrar::THEME,
'frontend/Shooga/Dataworld',
__DIR__
);
magento2 theme-overriding
Why does it gives an error if I just created my custom theme in Magento, besides
this there is only one custom module and nothing else, where does this error comes from?
And gives an error when I call the command setup:upgrade
Module 'Magento_Theme': Running data recurring...Item
(MagentoThemeModelThemeData) with the same ID "0" already exists.
theme.xml
<theme xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:Config/etc/theme.xsd">
<title>Dataworld</title>
<parent>Magento/blank</parent>
<!-- <media>
<preview_image>media/preview.jpg</preview_image>
</media>-->
</theme>
registration.php
MagentoFrameworkComponentComponentRegistrar::register(
MagentoFrameworkComponentComponentRegistrar::THEME,
'frontend/Shooga/Dataworld',
__DIR__
);
magento2 theme-overriding
magento2 theme-overriding
edited 10 mins ago
Robinio Tor
asked 35 mins ago
Robinio TorRobinio Tor
1039
1039
did you made your theme according to this guidelines?
– ABHISHEK TRIPATHI
27 mins ago
ABHISHEK TRIPATHI yes
– Robinio Tor
24 mins ago
1
Can u share the code from registration.php and theme.xml?
– Sejal Shah
15 mins ago
1
Check the theme table on database. It seems you have two theme_id with id of 0.
– Korbin
7 mins ago
1
Check your theme id in theme table.
– ARUNPRABAKARAN M
6 mins ago
|
show 2 more comments
did you made your theme according to this guidelines?
– ABHISHEK TRIPATHI
27 mins ago
ABHISHEK TRIPATHI yes
– Robinio Tor
24 mins ago
1
Can u share the code from registration.php and theme.xml?
– Sejal Shah
15 mins ago
1
Check the theme table on database. It seems you have two theme_id with id of 0.
– Korbin
7 mins ago
1
Check your theme id in theme table.
– ARUNPRABAKARAN M
6 mins ago
did you made your theme according to this guidelines?
– ABHISHEK TRIPATHI
27 mins ago
did you made your theme according to this guidelines?
– ABHISHEK TRIPATHI
27 mins ago
ABHISHEK TRIPATHI yes
– Robinio Tor
24 mins ago
ABHISHEK TRIPATHI yes
– Robinio Tor
24 mins ago
1
1
Can u share the code from registration.php and theme.xml?
– Sejal Shah
15 mins ago
Can u share the code from registration.php and theme.xml?
– Sejal Shah
15 mins ago
1
1
Check the theme table on database. It seems you have two theme_id with id of 0.
– Korbin
7 mins ago
Check the theme table on database. It seems you have two theme_id with id of 0.
– Korbin
7 mins ago
1
1
Check your theme id in theme table.
– ARUNPRABAKARAN M
6 mins ago
Check your theme id in theme table.
– ARUNPRABAKARAN M
6 mins ago
|
show 2 more comments
0
active
oldest
votes
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%2f263798%2fafter-creating-a-custom-theme-in-magento-2-give-an-error-in-backend%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
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%2f263798%2fafter-creating-a-custom-theme-in-magento-2-give-an-error-in-backend%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
did you made your theme according to this guidelines?
– ABHISHEK TRIPATHI
27 mins ago
ABHISHEK TRIPATHI yes
– Robinio Tor
24 mins ago
1
Can u share the code from registration.php and theme.xml?
– Sejal Shah
15 mins ago
1
Check the theme table on database. It seems you have two theme_id with id of 0.
– Korbin
7 mins ago
1
Check your theme id in theme table.
– ARUNPRABAKARAN M
6 mins ago