Title: Mcrypt error in class.TFA.php
Last modified: December 13, 2016

---

# Mcrypt error in class.TFA.php

 *  Resolved Anonymous User 15232381
 * (@anonymized-15232381)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/mcrypt-error-in-class-tfa-php/)
 * Hi,
 * I’m getting an error in the user settings under Current one-time password (update)
 * Warning: mcrypt_decrypt(): Received initialization vector of size 0, but size
   16 is required for this encryption mode in /wp-content/plugins/two-factor-authentication-
   premium/includes/class.TFA.php on line 511
 * Plugin version: 1.2.12 (premium)

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * (@davidanderson)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/mcrypt-error-in-class-tfa-php/#post-8548579)
 * Hi,
 * WordPress.org rules don’t allow commercial queries to be dealt with on their 
   website – [https://codex.wordpress.org/Forum_Welcome#Commercial_Products](https://codex.wordpress.org/Forum_Welcome#Commercial_Products)–
   so please post at the website of purchase instead.
 * Best wishes,
    David

Viewing 1 replies (of 1 total)

The topic ‘Mcrypt error in class.TFA.php’ is closed to new replies.

 * ![](https://ps.w.org/two-factor-authentication/assets/icon-256x256.png?rev=1116775)
 * [Two Factor Authentication](https://wordpress.org/plugins/two-factor-authentication/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/two-factor-authentication/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/two-factor-authentication/)
 * [Active Topics](https://wordpress.org/support/plugin/two-factor-authentication/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/two-factor-authentication/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/two-factor-authentication/reviews/)

## Tags

 * [mcrypt](https://wordpress.org/support/topic-tag/mcrypt/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Anderson / Team Updraft](https://wordpress.org/support/users/davidanderson/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/mcrypt-error-in-class-tfa-php/#post-8548579)
 * Status: resolved