Tagged: php7.2
- This topic has 6 replies, 2 voices, and was last updated 3 years, 11 months ago by
Steve.
-
AuthorPosts
-
-
March 13, 2018 at 10:43 pm #8787
lrtrlnParticipantHi,
There are several problems with PHP7.2Warning count(): Parameter must be an array or an object that implements Countable 5 wp-content/plugins/piklist/includes/class-piklist-form.php:663
count(): Parameter must be an array or an object that implements Countable 5 wp-content/plugins/piklist/includes/class-piklist-form.php:677
A non-numeric value encountered wp-content/plugins/piklist/includes/class-piklist.php:2009
count(): Parameter must be an array or an object that implements Countable 1 wp-content/plugins/piklist/includes/class-piklist-form.php:2333
…
Is a patch planned in the coming days ?
-
March 14, 2018 at 10:45 am #8792
SteveKeymaster -
March 15, 2018 at 11:48 am #8794
lrtrlnParticipantHello Steve,
sorry but problems are the same on the 0.10-beta.2 version.
Tested on wordpress 4.9.4 / PHP Version 7.2.3-1 / Only piklist & query monitor are enabled.
This mainly concerns this point: https://wiki.php.net/rfc/counting_non_countables -
March 15, 2018 at 11:50 am #8795
lrtrlnParticipantproblems are visible on demo : /wp-admin/post-new.php?post_type=piklist_demo
-
March 15, 2018 at 3:32 pm #8796
SteveKeymasterThis commit should fix your issues >
Try downloading and installing this >
Let us know if it works for you.
-
March 15, 2018 at 7:06 pm #8797
lrtrlnParticipantFine, all errors are solved.
is this version usable in production? -
March 15, 2018 at 8:10 pm #8798
SteveKeymasterAbsolutely!
-
-
AuthorPosts
- The topic ‘PHP 7.2 bugs’ is closed to new replies.