Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error: Uncaught Error: Call to undefined function mime_content_type() #747

Closed
varun2287 opened this issue Nov 25, 2019 · 1 comment

Comments

@varun2287
Copy link

I have migrated the magento from 1.9.2.3 to 2.2.4, but for some reasons i have to upgrade it to 2.3.1

After upgrading magento from version 2.2.4 to 2.3.1, i am getting this error on insert images page in admin panel.

Fatal error: Uncaught Error: Call to undefined function mime_content_type() in /home/ampscooters/public_html/vendor/magento/module-cms/Model/Wysiwyg/Images/Storage.php:331 Stack trace: #0 /home/ampscooters/public_html/vendor/magento/module-cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php(60): Magento\Cms\Model\Wysiwyg\Images\Storage->getFilesCollection('/home/ampscoote...', NULL) #1 /home/ampscooters/public_html/vendor/magento/module-cms/Block/Adminhtml/Wysiwyg/Images/Content/Files.php(74): Magento\Cms\Block\Adminhtml\Wysiwyg\Images\Content\Files->getFiles() #2 /home/ampscooters/public_html/vendor/magento/module-cms/view/adminhtml/templates/browser/content/files.phtml(15): Magento\Cms\Block\Adminhtml\Wysiwyg\Images\Content\Files->getFilesCount() #3 /home/ampscooters/public_html/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/ampscoote...') #4 /home/ampscooters/public_html/vendor/magento/framework/View/Element/Template.php(271): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\C in /home/ampscooters/public_html/vendor/magento/module-cms/Model/Wysiwyg/Images/Storage.php on line 331

I have checked for this issue and found that php extension fileinfo should be installed, but my fileinfo extension is already installed.

I can't find any other solution.Please help me in this issue.

@victor-v-rad
Copy link
Collaborator

Hi @varun2287

Thank you for reporting this issue. This issue could be caused by Magento 2 itself and not by the tool. Please consider to report it in https://github.com/magento/magento2 repository

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants