Details about the problem
SUPEE-8788 replaces the old flash uploader with a new uploader system that sits in
By default 184.108.40.206 has got the following code in
'images' => array(
'label' => Mage::helper('adminhtml')->__('Images (.gif, .jpg, .png)'),
'files' => array('*.gif', '*.jpg','*.jpeg', '*.png')
SUPEE-8788 replaces it with:
$browseConfig = $this->getUploader()->getButtonConfig();
'accept' => $browseConfig->getMimeTypesByExtensions('gif, png, jpeg, jpg')
Debugging the issue
According to the error you're getting, SUPEE-8788 was properly applied as your code is trying to call
getUploaderConfig which is a new method introduced by the patch.
This method is called on
getUploader() which returns
This child corresponds to the child set at the beginning of the
In the case of this class,
$this->_uploaderType is defined at the top:
protected $_uploaderType = 'uploader/multiple';
So the first thing I would check is to ensure that this file is available in your system, it should be under
Two possible cases:
- it's not there. That would be definitely the cause of the problem but as SUPEE-8788 was applied it should be there. Maybe you're using a versioning system and that file was not committed ?
- it's there. In that case open it and ensure it's not empty or it doesn't look broken.
If that file is there and does not look broken, there's several things you can do:
First, try to see what returns
get_class($this->getLayout()->createBlock($this->_uploaderType)) . If it does not return
Mage_Uploader_Block_Multiple that means you have another module that is using the
uploader class name and thus must be refactored to be compatible with SUPEE-8788.
I know that the No Flash Uploader module has some compatibility issues with SUPEE-8788, see here: https://github.com/openstream/No-Flash-Image-Uploader/issues/18
Then, if you still haven't found any issue, you'll have to check that you don't have some custom adminhtml layout that remove the
uploader child, use the following command in
app/design/adminhtml/ to try to find out:
grep -ri "uploader" . | grep "layout"
In the list you get try to look for something like
<remove name="uploader" />, that would be the cause.
Finally, the last thing that comes to my mind is that you have Compilation enabled and you did not recompile after applying the patch. To do so, go to System > Tools > Compilation and recompile.