PHP 7.2: error on form submit
-
Hi!
I recently had to switch to PHP 7.2 and since then I get this error when trying to submit the testimonial form:
Warning: count(): Parameter must be an array or an object that implements Countable in /homepages/1258/htdocs/wordpress/wp-includes/post-template.php on line 284 Warning: Cannot modify header information - headers already sent by (output started at /homepages/1258/htdocs/wordpress/wp-includes/post-template.php:284) in /homepages/1258/htdocs/wordpress/wp-includes/pluggable.php on line 1223
I also tested the form with PHP 7.0 (on a different server) and there it works. Both are using WordPress 5.0.3. Any suggestions?
Edit: the testimonial seems to be submitted and created nonetheless.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘PHP 7.2: error on form submit’ is closed to new replies.