HostOnNet Blog

Fatal error: Class ‘Mobile_Detect’ not found – PHP Melody

Looking for Linux Server Admin or WordPress Expert? We can help.

How to fix ‘Fatal error: Class ‘Mobile_Detect’ not found ” error in PHP Melody theme installation

I have followed the instructions on ‘Essence User manual.pdf’

1) Uploaded all the below files to PHP Melody website in the appropriate directories.


2. Activated the plugin by login to the admin panel


Once the plugin activated, below error showed on both front and back end.

Fatal error: Class 'Mobile_Detect' not found - PHP Melody

Then I deactivated the plugin thorugh phpmyadmin – > mm_plugins – > Edit – > active -> change value 1 to o



After doing that, I got another error as:

Fatal error: Smarty error: [in index.tpl line 23]: [plugin] modifier 'gethdthumb' is not implemented

Now I’ve reactivated the plugin through admin area and downloaded fresh copy of ‘mobile_detect.php’ file and uploaded to include folder.

That resolved the issue and everything seems working fine now.

About Sibi Antony

Bootstrap and Android LOVER. I've been creating things for the web for over 10 years, from the period of flash and table based layout web sites till mobile and tab friendly web sites.
Posted in PHP

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.