Title: Character count error with php 8
Last modified: September 26, 2023

---

# Character count error with php 8

 *  [diazcomunicacion](https://wordpress.org/support/users/diazcomunicacion/)
 * (@diazcomunicacion)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/)
 * hi,
   minlength: maxlength: Does not work with php 8.1.22I suggest you review it
   as soon as possible, we tried everything and that was it, with 7.4 the character
   count works.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/#post-17081639)
 * Where can we see the website in question?
 *  Thread Starter [diazcomunicacion](https://wordpress.org/support/users/diazcomunicacion/)
 * (@diazcomunicacion)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/#post-17081661)
 * Hi Takayuki
 * this is the website [https://supportinternet.com.ar/debito-automatico/](https://supportinternet.com.ar/debito-automatico/)
 * you will not be able to see the error because I revert php to 7.4 and now works
   fine.
 * I tried everything before writing to you and only reverting php solved it.
 * tks for your feedback
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/#post-17081729)
 * What error do you see?
 *  Thread Starter [diazcomunicacion](https://wordpress.org/support/users/diazcomunicacion/)
 * (@diazcomunicacion)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/#post-17082739)
 * The field was marked as not filled out and the form was not submitted. Just changing
   PHP to 7.4 solved the problem automatically.
 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/#post-17084438)
 * What other plugins and theme do you use on the site?
 *  Thread Starter [diazcomunicacion](https://wordpress.org/support/users/diazcomunicacion/)
 * (@diazcomunicacion)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/#post-17084514)
 * From the questions you ask me, I understand that you have the hypothesis that
   it is not the PHP version that generates the error. I will give you the list 
   of plugs, themes and snippets soon. It is an honor for me to be in feedback with
   you, I respectfully ask you to accept this direct question: have you tested if
   the character length works in PHP 8.1.22?

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Character count error with php 8’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [diazcomunicacion](https://wordpress.org/support/users/diazcomunicacion/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/character-count-error-with-php-8/#post-17084514)
 * Status: not resolved