Just upgraded from 1.9.3 to 1.9.4, and now this is filling up system.log

Warning: simplexml_load_string(): Entity: line 7: parser error : XML declaration allowed only at the start of the document in /lib/Varien/Simplexml/Config.php on line 510

Any advice how to fix this ?

  • Check that, into your xml file do you specify comment line with the space? Or any tag is mismatch. – Dhiren Vasoya Apr 18 '19 at 12:19
  • I am not sure what xml file to look into? – The Denster Apr 21 '19 at 15:47
  • check custom extension config file and theme layout files. – Dhiren Vasoya Apr 22 '19 at 8:33
  • Please check this answer: magento.stackexchange.com/a/179909/46249 Maybe it helps. – sv3n Apr 30 '19 at 9:50
  • None of the above helped. However I think, but not 100% sure, that I was missing files in /js/* and /lib/* uploaded fresh original files from magento.com, uploaded and it seems the problem was solved. – The Denster May 3 '19 at 7:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.