Support » Plugin: Kontrol Developer Kit » Fatal error: Call to undefined function mcrypt_decrypt()

  • Resolved LeeTheGreenGiant


    Hi Dave,

    Just found your plugin today, played around with it and love it. So I purchased an upgrade and when I entered the key it produced a Fatal Error. Here’s the full message I get.

    Fatal error: Call to undefined function mcrypt_decrypt() in /var/www/vhosts/ on line 271

    I would be really grateful if you could help me out here. Hopefully it’s something simple.

    Also, I’ve just checked the Admin.class.php file and it’s the path_check() function that’s producing the error.

    Many thanks,

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Kontrolwp


    Hey Lee,

    Ah sorry about your troubles mate. Looks like your server doesn’t have the mcrypt_decrypt module for PHP. I’ve had one other person report this problem and they were running Plesk and just guessing by looking at your path above, you’re running it as well. The module is pretty common, but unfortunately missing from some Plesk installations.

    To get you up and running in the mean time, send me an email at david(at) and I’ll send you back a file which can activate Kontrol using another method other than mcrypt_decrypt. This should get you by until the next release of Kontrol (still a bit away) which will then overwrite the file I give you and go back to using mcrypt. You might also want to ask your server admin to install the module for you in the mean time, that might also be a quick workaround.

    If this problem persists, I’ll look at writing a permanent solution for Plesk users that don’t have the module installed.

    Thanks for the kind words too, hope that helps,

    Hi Dave,

    Thanks for the quick response. I’ve been in contact with my web host company and they have installed the mcrypt_decrypt onto my VPS and now it’s all working fine. Yey!

    Thank you again for answering this so quickly and coming to a solution.

    I will definitely recommend your plugin.

    All the best,

    Plugin Author Kontrolwp


    That’s great to hear Lee, enjoy the plugin mate!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Fatal error: Call to undefined function mcrypt_decrypt()’ is closed to new replies.