File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/internal/Magento/Framework/View/Model/Layout Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -702,7 +702,7 @@ protected function _loadFileLayoutUpdatesXml()
702
702
$ fileXml = $ this ->_loadXmlString ($ fileStr );
703
703
if (!$ fileXml instanceof \Magento \Framework \View \Layout \Element) {
704
704
$ xmlErrors = $ this ->getXmlErrors (libxml_get_errors ());
705
- $ this ->logXmlErrors ($ file ->getFilename (), $ xmlErrors );
705
+ $ this ->_logXmlErrors ($ file ->getFilename (), $ xmlErrors );
706
706
if ($ this ->appState ->getMode () === State::MODE_DEVELOPER ) {
707
707
throw new ValidationException (
708
708
new \Magento \Framework \Phrase (
@@ -744,7 +744,7 @@ protected function _loadFileLayoutUpdatesXml()
744
744
* @param array $xmlErrors
745
745
* @return void
746
746
*/
747
- private function logXmlErrors ($ fileName , $ xmlErrors )
747
+ protected function _logXmlErrors ($ fileName , $ xmlErrors )
748
748
{
749
749
$ this ->logger ->info (
750
750
sprintf ("Theme layout update file '%s' is not valid. \n%s " , $ fileName , implode ("\n" , $ xmlErrors ))
You can’t perform that action at this time.
0 commit comments