APR 02 2021

SimpleXMLElement::__construct() error in system.log from Mgt_Base extension

A lot of errors with SimpleXMLElement::__construct() referring to app/code/local/Mgt/Base/Model/Feed.php on line 77 logged in Magento 1.x or OpenMage system.log file: ERR (3): Warning: SimpleXMLElement::__construct(): ^ in app/code/local/Mgt/Base/Model/Feed.php on line 77 ERR (3): Warning: SimpleXMLElement::__construct(): Entity: line 7: parser error : Opening and ending tag mismatch: body line 3 and html in app/code/local/Mgt/Base/Model/Feed.php on line 77 ERR (3): Warning: SimpleXMLElement::__construct(): </html> in app/code/local/Mgt/Base/Model/Feed.php on line 77 Cause Mgt_Base extension is set to fetch news feed from… Read the rest
JUL 23 2019

Magento :: SyntaxError: expected expression, got ‘,’

Problem description Image upload is broken in Magento after upgrade to 1.9.3 or SUPEE-8788 patch. The following error is logged in browser console: In HTML source code you can see that one element is missing in media_gallery_contentJsObject variable: Cause The problem is caused by Creare/CreareSEO or CJM/ColorSelectorPlus extensions that override image uploader code. Solution Creare/CreareSEO Update app/design/adminhtml/default/default/template/creareseo/catalog/product/helper/gallery.phtml file with the following change: or re-upload it from https://raw.githubusercontent.com/unxsist/CreareSEO/d5e0f35d21d290e61745d9c16a085b0b945f7fc0/app/design/adminhtml/default/default/template/creareseo/catalog/product/helper/gallery.phtml. CJM/ColorSelectorPlus