I encountered a very weird error which i can't seem to solve. Anywhere in the admin area where i want to upload/view/delete images nothing is showing up.
My 'inspect element' console gives me this error:
Uncaught ReferenceError: id_23b2a41c446dee70b327b51065e06137_UploaderJsObject is not defined
I tracked this down to the gallery.phtml file which has this code:
<script type="text/javascript">
//<![CDATA[
var <?php echo $_block->getJsObjectName(); ?> = new Product.Gallery('<?php echo $_block->getHtmlId() ?>', <?php if ($_block->getElement()->getReadonly()):?>null<?php else:?><?php echo $_block->getUploader()->getJsObjectName() ?><?php endif;?>, <?php echo $_block->getImageTypesJson() ?>);
//]]>
</script>
I have absolutely no clue what went wrong here. I haven't messes with any core files. Nor did i change any javascript things.
I'm hoping someone can help me find out what is wrong. Been stuck on this error since yesterday..
Any help is appreciated :)