Magento2 admin custom module throwing the error Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Extension method call throwing fatal errormagento custom module keep throwing error even after deleting all filesCreating custom module in magento2 show fatal errorMagento 2: Admin Attention Something went wrongMagento Product Page throwing 404 errorMagento2 admin account disabled errorCreating custom module in magento2 admin grid shows fatal errorForm is not displayed on panel admin Magento 2How To Add Magento2 Dynamic Rows for Admin custom Module?Magento2 staging getting error in my custom module
How can a team of shapeshifters communicate?
Tips to organize LaTeX presentations for a semester
Why datecode is SO IMPORTANT to chip manufacturers?
Trying to understand entropy as a novice in thermodynamics
How can god fight other gods?
What is a more techy Technical Writer job title that isn't cutesy or confusing?
Is it dangerous to install hacking tools on my private linux machine?
Is there public access to the Meteor Crater in Arizona?
How to align enumerate environment inside description environment
Monty Hall Problem-Probability Paradox
Putting class ranking in CV, but against dept guidelines
Was Kant an Intuitionist about mathematical objects?
How do living politicians protect their readily obtainable signatures from misuse?
Rationale for describing kurtosis as "peakedness"?
I got rid of Mac OSX and replaced it with linux but now I can't change it back to OSX or windows
Tannaka duality for semisimple groups
Why not use the yoke to control yaw, as well as pitch and roll?
Project Euler #1 in C++
Asymptotics question
Does silver oxide react with hydrogen sulfide?
Why weren't discrete x86 CPUs ever used in game hardware?
Simple HTTP Server
After Sam didn't return home in the end, were he and Al still friends?
Special flights
Magento2 admin custom module throwing the error
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Extension method call throwing fatal errormagento custom module keep throwing error even after deleting all filesCreating custom module in magento2 show fatal errorMagento 2: Admin Attention Something went wrongMagento Product Page throwing 404 errorMagento2 admin account disabled errorCreating custom module in magento2 admin grid shows fatal errorForm is not displayed on panel admin Magento 2How To Add Magento2 Dynamic Rows for Admin custom Module?Magento2 staging getting error in my custom module
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I created a custom module in magento2 for admin panel. Grid form is version fine. But When I tried to add/edit a record then its throwing the error like "Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving."
Magento version is 2.1.1.
I am unable to find any clue in logs.
System.log file has follow error.
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
[2017-03-20 09:16:30] main.INFO: Cache file with merged layout:
LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles
: Please correct the XML data and try again. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
Content of Namespace_Module_redirectdata_edit.xml file is:
<?xml version="1.0"?><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<update handle="editor"/>
<body>
<referenceContainer name="content">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEdit" name="techies_customredirect_redirectdata_edit"/>
</referenceContainer>
<referenceContainer name="left">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabs" name="techies_customredirect_redirectdata_tabs">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabRedirectdata" name="techies_customredirect_redirectdata_edit_tab_redirectdata"/>
<action method="addTab">
<argument name="name" xsi:type="string">redirectdata</argument>
<argument name="block" xsi:type="string">techies_customredirect_redirectdata_edit_tab_redirectdata</argument>
</action>
</block>
</referenceContainer>
</body>
Error thrown in browser is:
magento-2.1 error
add a comment |
I created a custom module in magento2 for admin panel. Grid form is version fine. But When I tried to add/edit a record then its throwing the error like "Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving."
Magento version is 2.1.1.
I am unable to find any clue in logs.
System.log file has follow error.
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
[2017-03-20 09:16:30] main.INFO: Cache file with merged layout:
LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles
: Please correct the XML data and try again. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
Content of Namespace_Module_redirectdata_edit.xml file is:
<?xml version="1.0"?><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<update handle="editor"/>
<body>
<referenceContainer name="content">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEdit" name="techies_customredirect_redirectdata_edit"/>
</referenceContainer>
<referenceContainer name="left">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabs" name="techies_customredirect_redirectdata_tabs">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabRedirectdata" name="techies_customredirect_redirectdata_edit_tab_redirectdata"/>
<action method="addTab">
<argument name="name" xsi:type="string">redirectdata</argument>
<argument name="block" xsi:type="string">techies_customredirect_redirectdata_edit_tab_redirectdata</argument>
</action>
</block>
</referenceContainer>
</body>
Error thrown in browser is:
magento-2.1 error
@ManthanDave error in system log is -> [2017-03-20 09:16:30] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles : Please correct the XML data and try again. [] [] [2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] [] .....
– Bal Singh
Mar 20 '17 at 9:18
@ManthanDave I am already using the <referenceContainer> tag in edit.xml file. I have updated the question.
– Bal Singh
Mar 20 '17 at 9:41
add a comment |
I created a custom module in magento2 for admin panel. Grid form is version fine. But When I tried to add/edit a record then its throwing the error like "Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving."
Magento version is 2.1.1.
I am unable to find any clue in logs.
System.log file has follow error.
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
[2017-03-20 09:16:30] main.INFO: Cache file with merged layout:
LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles
: Please correct the XML data and try again. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
Content of Namespace_Module_redirectdata_edit.xml file is:
<?xml version="1.0"?><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<update handle="editor"/>
<body>
<referenceContainer name="content">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEdit" name="techies_customredirect_redirectdata_edit"/>
</referenceContainer>
<referenceContainer name="left">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabs" name="techies_customredirect_redirectdata_tabs">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabRedirectdata" name="techies_customredirect_redirectdata_edit_tab_redirectdata"/>
<action method="addTab">
<argument name="name" xsi:type="string">redirectdata</argument>
<argument name="block" xsi:type="string">techies_customredirect_redirectdata_edit_tab_redirectdata</argument>
</action>
</block>
</referenceContainer>
</body>
Error thrown in browser is:
magento-2.1 error
I created a custom module in magento2 for admin panel. Grid form is version fine. But When I tried to add/edit a record then its throwing the error like "Changes have been made to this section that have not been saved. This tab contains invalid data. Please resolve this before saving."
Magento version is 2.1.1.
I am unable to find any clue in logs.
System.log file has follow error.
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:25] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
[2017-03-20 09:16:30] main.INFO: Cache file with merged layout:
LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles
: Please correct the XML data and try again. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header'
tries to reorder itself towards 'global.notices', but their parents
are different: 'page.wrapper' and 'notices.wrapper' respectively. []
[]
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'page.breadcrumbs' tries to reorder itself towards 'notifications',
but their parents are different: 'page.wrapper' and 'notices.wrapper'
respectively. [] []
[2017-03-20 09:16:33] main.CRITICAL: Broken reference: the
'global.search' tries to reorder itself towards
'notification.messages', but their parents are different:
'header.inner.right' and 'header' respectively. [] []
Content of Namespace_Module_redirectdata_edit.xml file is:
<?xml version="1.0"?><page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="admin-2columns-left" xsi:noNamespaceSchemaLocation="../../../../../../../lib/internal/Magento/Framework/View/Layout/etc/page_configuration.xsd">
<update handle="editor"/>
<body>
<referenceContainer name="content">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEdit" name="techies_customredirect_redirectdata_edit"/>
</referenceContainer>
<referenceContainer name="left">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabs" name="techies_customredirect_redirectdata_tabs">
<block class="TechiesCustomredirectBlockAdminhtmlRedirectdataEditTabRedirectdata" name="techies_customredirect_redirectdata_edit_tab_redirectdata"/>
<action method="addTab">
<argument name="name" xsi:type="string">redirectdata</argument>
<argument name="block" xsi:type="string">techies_customredirect_redirectdata_edit_tab_redirectdata</argument>
</action>
</block>
</referenceContainer>
</body>
Error thrown in browser is:
magento-2.1 error
magento-2.1 error
edited Mar 20 '17 at 9:42
Bal Singh
asked Mar 20 '17 at 8:38
Bal SinghBal Singh
5117
5117
@ManthanDave error in system log is -> [2017-03-20 09:16:30] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles : Please correct the XML data and try again. [] [] [2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] [] .....
– Bal Singh
Mar 20 '17 at 9:18
@ManthanDave I am already using the <referenceContainer> tag in edit.xml file. I have updated the question.
– Bal Singh
Mar 20 '17 at 9:41
add a comment |
@ManthanDave error in system log is -> [2017-03-20 09:16:30] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles : Please correct the XML data and try again. [] [] [2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] [] .....
– Bal Singh
Mar 20 '17 at 9:18
@ManthanDave I am already using the <referenceContainer> tag in edit.xml file. I have updated the question.
– Bal Singh
Mar 20 '17 at 9:41
@ManthanDave error in system log is -> [2017-03-20 09:16:30] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles : Please correct the XML data and try again. [] [] [2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] [] .....
– Bal Singh
Mar 20 '17 at 9:18
@ManthanDave error in system log is -> [2017-03-20 09:16:30] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles : Please correct the XML data and try again. [] [] [2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] [] .....
– Bal Singh
Mar 20 '17 at 9:18
@ManthanDave I am already using the <referenceContainer> tag in edit.xml file. I have updated the question.
– Bal Singh
Mar 20 '17 at 9:41
@ManthanDave I am already using the <referenceContainer> tag in edit.xml file. I have updated the question.
– Bal Singh
Mar 20 '17 at 9:41
add a comment |
1 Answer
1
active
oldest
votes
You should check for PHP errors in the server logs.
If you have a PHP error while generating some block, it can result in stopping the code execution, displaying this message.
Most probably it's an error in one of your blocks you're calling on that page in the "Redirect Information" tab.
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%2f165135%2fmagento2-admin-custom-module-throwing-the-error%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
You should check for PHP errors in the server logs.
If you have a PHP error while generating some block, it can result in stopping the code execution, displaying this message.
Most probably it's an error in one of your blocks you're calling on that page in the "Redirect Information" tab.
add a comment |
You should check for PHP errors in the server logs.
If you have a PHP error while generating some block, it can result in stopping the code execution, displaying this message.
Most probably it's an error in one of your blocks you're calling on that page in the "Redirect Information" tab.
add a comment |
You should check for PHP errors in the server logs.
If you have a PHP error while generating some block, it can result in stopping the code execution, displaying this message.
Most probably it's an error in one of your blocks you're calling on that page in the "Redirect Information" tab.
You should check for PHP errors in the server logs.
If you have a PHP error while generating some block, it can result in stopping the code execution, displaying this message.
Most probably it's an error in one of your blocks you're calling on that page in the "Redirect Information" tab.
answered Oct 18 '17 at 10:12
CladiussCladiuss
320411
320411
add a comment |
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%2f165135%2fmagento2-admin-custom-module-throwing-the-error%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
@ManthanDave error in system log is -> [2017-03-20 09:16:30] main.INFO: Cache file with merged layout: LAYOUT_adminhtml_STORE1_3d41d8cd98f00b204e9800998ecf8427e and handles : Please correct the XML data and try again. [] [] [2017-03-20 09:16:33] main.CRITICAL: Broken reference: the 'header' tries to reorder itself towards 'global.notices', but their parents are different: 'page.wrapper' and 'notices.wrapper' respectively. [] [] .....
– Bal Singh
Mar 20 '17 at 9:18
@ManthanDave I am already using the <referenceContainer> tag in edit.xml file. I have updated the question.
– Bal Singh
Mar 20 '17 at 9:41