Problem loading PDF template on invoices - v 1.4

Hello, I have installed the new version 1.4 and everything works ok but I have a problem when I try to load an invoice in PDF format (after public format).

IP shows me an error and doesn’t load the PDF:

The Encrypt library requires the Mcrypt extension.

It happened to me with quotes in other versions and I solved it but I can’t solve that problem. Please help me. Thanks

As stated in the application requirements the mCrypt PHP library needs to be installed and activated on your web server.

I have the library installed. I have just done it again but it still happening.

Now it tries to load another page when I click but stays in the public format and doesn’t show any error.

What can I do to solve it? It only happens on PDF invoices.

Reinstall the library and the PHP module.