HTML Head issue using Magento2 Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Adding TypeKit code (or any code) into the Head of a Magento 2 siteMagento 2: Add block above page-headerChange order of CSS and JS in the <head> section of the pageHow to find which extension is adding a specific <script> to <head>Can't find theme for configuration Magento 2.2.0Magento2: Need current URL in HTML-head: Scripts and Style Sheets for hreflangMagento2: Can we add current URL in “Scripts and Style Sheets”?Magento 2 : Adding logo in a custom extensionI am not able to reflect the contents added in html head of admin panel in view source code in magento 2Magento 2.2.8 not saving HTML head

Single word antonym of "flightless"

Is the Standard Deduction better than Itemized when both are the same amount?

How to align text above triangle figure

How much time will it take to get my passport back if I am applying for multiple Schengen visa countries?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

Identify plant with long narrow paired leaves and reddish stems

Why are there no cargo aircraft with "flying wing" design?

What exactly is a "Meth" in Altered Carbon?

3 doors, three guards, one stone

Compare a given version number in the form major.minor.build.patch and see if one is less than the other

Bete Noir -- no dairy

How to tell that you are a giant?

51k Euros annually for a family of 4 in Berlin: Is it enough?

Why are Kinder Surprise Eggs illegal in the USA?

Echoing a tail command produces unexpected output?

Extract all GPU name, model and GPU ram

Storing hydrofluoric acid before the invention of plastics

porting install scripts : can rpm replace apt?

Why light coming from distant stars is not discreet?

How does the particle を relate to the verb 行く in the structure「A を + B に行く」?

Understanding Ceva's Theorem

When do you get frequent flier miles - when you buy, or when you fly?

Why did the rest of the Eastern Bloc not invade Yugoslavia?

What causes the vertical darker bands in my photo?



HTML Head issue using Magento2



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Adding TypeKit code (or any code) into the Head of a Magento 2 siteMagento 2: Add block above page-headerChange order of CSS and JS in the <head> section of the pageHow to find which extension is adding a specific <script> to <head>Can't find theme for configuration Magento 2.2.0Magento2: Need current URL in HTML-head: Scripts and Style Sheets for hreflangMagento2: Can we add current URL in “Scripts and Style Sheets”?Magento 2 : Adding logo in a custom extensionI am not able to reflect the contents added in html head of admin panel in view source code in magento 2Magento 2.2.8 not saving HTML head



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















I've an issue with Magento 2: please Help!



I've added some HTML code in




Content > Design > Configuration > Theme Edit > HTML Head.




The code doesn't work (it's ok, no worries for me, cause the site is running - except for the two lines error in the top header). I'd like to delete that HTML code, but I cannot access to



Content > Design > Configuration > Theme Edit



(I cannot enter the default page view - The wheel keep on rotating but nothing happens). Is there any file I can edit to delete that html code?










share|improve this question
























  • Have you check consol or magento log file? Is there any error?

    – Dhiren Vasoya
    Feb 7 '17 at 12:36











  • I found this error using chrome console: Uncaught ReferenceError: SERVER is not defined at eval (eval at template (template.js:43), <anonymous>:24:26) at template (template.js:43) at render (template.js:97) at iterate (template.js:174) at Function..each._.forEach (underscore.js:150) at iterate (template.js:176) at Function._.each._.forEach (underscore.js:150) at Object.template (template.js:161) at UiClass.initConfig (class.js:89) at UiClass.initialize (class.js:70)

    – Lukastdesign
    Feb 7 '17 at 12:53


















0















I've an issue with Magento 2: please Help!



I've added some HTML code in




Content > Design > Configuration > Theme Edit > HTML Head.




The code doesn't work (it's ok, no worries for me, cause the site is running - except for the two lines error in the top header). I'd like to delete that HTML code, but I cannot access to



Content > Design > Configuration > Theme Edit



(I cannot enter the default page view - The wheel keep on rotating but nothing happens). Is there any file I can edit to delete that html code?










share|improve this question
























  • Have you check consol or magento log file? Is there any error?

    – Dhiren Vasoya
    Feb 7 '17 at 12:36











  • I found this error using chrome console: Uncaught ReferenceError: SERVER is not defined at eval (eval at template (template.js:43), <anonymous>:24:26) at template (template.js:43) at render (template.js:97) at iterate (template.js:174) at Function..each._.forEach (underscore.js:150) at iterate (template.js:176) at Function._.each._.forEach (underscore.js:150) at Object.template (template.js:161) at UiClass.initConfig (class.js:89) at UiClass.initialize (class.js:70)

    – Lukastdesign
    Feb 7 '17 at 12:53














0












0








0








I've an issue with Magento 2: please Help!



I've added some HTML code in




Content > Design > Configuration > Theme Edit > HTML Head.




The code doesn't work (it's ok, no worries for me, cause the site is running - except for the two lines error in the top header). I'd like to delete that HTML code, but I cannot access to



Content > Design > Configuration > Theme Edit



(I cannot enter the default page view - The wheel keep on rotating but nothing happens). Is there any file I can edit to delete that html code?










share|improve this question
















I've an issue with Magento 2: please Help!



I've added some HTML code in




Content > Design > Configuration > Theme Edit > HTML Head.




The code doesn't work (it's ok, no worries for me, cause the site is running - except for the two lines error in the top header). I'd like to delete that HTML code, but I cannot access to



Content > Design > Configuration > Theme Edit



(I cannot enter the default page view - The wheel keep on rotating but nothing happens). Is there any file I can edit to delete that html code?







magento2 html header view head






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited 9 mins ago









Muhammad Anas

622320




622320










asked Feb 7 '17 at 12:31









LukastdesignLukastdesign

11




11












  • Have you check consol or magento log file? Is there any error?

    – Dhiren Vasoya
    Feb 7 '17 at 12:36











  • I found this error using chrome console: Uncaught ReferenceError: SERVER is not defined at eval (eval at template (template.js:43), <anonymous>:24:26) at template (template.js:43) at render (template.js:97) at iterate (template.js:174) at Function..each._.forEach (underscore.js:150) at iterate (template.js:176) at Function._.each._.forEach (underscore.js:150) at Object.template (template.js:161) at UiClass.initConfig (class.js:89) at UiClass.initialize (class.js:70)

    – Lukastdesign
    Feb 7 '17 at 12:53


















  • Have you check consol or magento log file? Is there any error?

    – Dhiren Vasoya
    Feb 7 '17 at 12:36











  • I found this error using chrome console: Uncaught ReferenceError: SERVER is not defined at eval (eval at template (template.js:43), <anonymous>:24:26) at template (template.js:43) at render (template.js:97) at iterate (template.js:174) at Function..each._.forEach (underscore.js:150) at iterate (template.js:176) at Function._.each._.forEach (underscore.js:150) at Object.template (template.js:161) at UiClass.initConfig (class.js:89) at UiClass.initialize (class.js:70)

    – Lukastdesign
    Feb 7 '17 at 12:53

















Have you check consol or magento log file? Is there any error?

– Dhiren Vasoya
Feb 7 '17 at 12:36





Have you check consol or magento log file? Is there any error?

– Dhiren Vasoya
Feb 7 '17 at 12:36













I found this error using chrome console: Uncaught ReferenceError: SERVER is not defined at eval (eval at template (template.js:43), <anonymous>:24:26) at template (template.js:43) at render (template.js:97) at iterate (template.js:174) at Function..each._.forEach (underscore.js:150) at iterate (template.js:176) at Function._.each._.forEach (underscore.js:150) at Object.template (template.js:161) at UiClass.initConfig (class.js:89) at UiClass.initialize (class.js:70)

– Lukastdesign
Feb 7 '17 at 12:53






I found this error using chrome console: Uncaught ReferenceError: SERVER is not defined at eval (eval at template (template.js:43), <anonymous>:24:26) at template (template.js:43) at render (template.js:97) at iterate (template.js:174) at Function..each._.forEach (underscore.js:150) at iterate (template.js:176) at Function._.each._.forEach (underscore.js:150) at Object.template (template.js:161) at UiClass.initConfig (class.js:89) at UiClass.initialize (class.js:70)

– Lukastdesign
Feb 7 '17 at 12:53











1 Answer
1






active

oldest

votes


















1














Magento will store the content of Content > Design > Configuration > Theme Edit > HTML Head. within core_config_data using the path design/head/includes.



You should be able to edit the database, or create an upgrade script to remove this value for you. Ensure that you remove this in all the store scopes you set it up for.



MySQL would look something like: SELECT * FROM core_config_data WHERE path = 'design/head/includes';



Setup script would look something like:



$this->_resourceConfig->saveConfig(
'design/head/includes',
'',
'default',
0
);


Where _resourceConfig is a MagentoConfigModelResourceModelConfig






share|improve this answer























  • No problem - if this answers your question, please accept it as the answer :)

    – Douglas Radburn
    Feb 7 '17 at 13:58











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
);



);













draft saved

draft discarded


















StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f158566%2fhtml-head-issue-using-magento2%23new-answer', 'question_page');

);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














Magento will store the content of Content > Design > Configuration > Theme Edit > HTML Head. within core_config_data using the path design/head/includes.



You should be able to edit the database, or create an upgrade script to remove this value for you. Ensure that you remove this in all the store scopes you set it up for.



MySQL would look something like: SELECT * FROM core_config_data WHERE path = 'design/head/includes';



Setup script would look something like:



$this->_resourceConfig->saveConfig(
'design/head/includes',
'',
'default',
0
);


Where _resourceConfig is a MagentoConfigModelResourceModelConfig






share|improve this answer























  • No problem - if this answers your question, please accept it as the answer :)

    – Douglas Radburn
    Feb 7 '17 at 13:58















1














Magento will store the content of Content > Design > Configuration > Theme Edit > HTML Head. within core_config_data using the path design/head/includes.



You should be able to edit the database, or create an upgrade script to remove this value for you. Ensure that you remove this in all the store scopes you set it up for.



MySQL would look something like: SELECT * FROM core_config_data WHERE path = 'design/head/includes';



Setup script would look something like:



$this->_resourceConfig->saveConfig(
'design/head/includes',
'',
'default',
0
);


Where _resourceConfig is a MagentoConfigModelResourceModelConfig






share|improve this answer























  • No problem - if this answers your question, please accept it as the answer :)

    – Douglas Radburn
    Feb 7 '17 at 13:58













1












1








1







Magento will store the content of Content > Design > Configuration > Theme Edit > HTML Head. within core_config_data using the path design/head/includes.



You should be able to edit the database, or create an upgrade script to remove this value for you. Ensure that you remove this in all the store scopes you set it up for.



MySQL would look something like: SELECT * FROM core_config_data WHERE path = 'design/head/includes';



Setup script would look something like:



$this->_resourceConfig->saveConfig(
'design/head/includes',
'',
'default',
0
);


Where _resourceConfig is a MagentoConfigModelResourceModelConfig






share|improve this answer













Magento will store the content of Content > Design > Configuration > Theme Edit > HTML Head. within core_config_data using the path design/head/includes.



You should be able to edit the database, or create an upgrade script to remove this value for you. Ensure that you remove this in all the store scopes you set it up for.



MySQL would look something like: SELECT * FROM core_config_data WHERE path = 'design/head/includes';



Setup script would look something like:



$this->_resourceConfig->saveConfig(
'design/head/includes',
'',
'default',
0
);


Where _resourceConfig is a MagentoConfigModelResourceModelConfig







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 7 '17 at 13:31









Douglas RadburnDouglas Radburn

1,9101027




1,9101027












  • No problem - if this answers your question, please accept it as the answer :)

    – Douglas Radburn
    Feb 7 '17 at 13:58

















  • No problem - if this answers your question, please accept it as the answer :)

    – Douglas Radburn
    Feb 7 '17 at 13:58
















No problem - if this answers your question, please accept it as the answer :)

– Douglas Radburn
Feb 7 '17 at 13:58





No problem - if this answers your question, please accept it as the answer :)

– Douglas Radburn
Feb 7 '17 at 13:58

















draft saved

draft discarded
















































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.




draft saved


draft discarded














StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f158566%2fhtml-head-issue-using-magento2%23new-answer', 'question_page');

);

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







Popular posts from this blog

Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

Aasi (pallopeli) Navigointivalikko