Tagged: 

Viewing 6 reply threads
  • Author
    Posts
    • #8787
      lrtrln
      Participant

      Hi,
      There are several problems with PHP7.2

      Warning 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 ?

    • #8792
      Steve
      Keymaster
    • #8794
      lrtrln
      Participant

      Hello 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

    • #8795
      lrtrln
      Participant

      problems are visible on demo : /wp-admin/post-new.php?post_type=piklist_demo

    • #8796
      Steve
      Keymaster
    • #8797
      lrtrln
      Participant

      Fine, all errors are solved.
      is this version usable in production?

    • #8798
      Steve
      Keymaster

      Absolutely!

Viewing 6 reply threads
  • The topic ‘PHP 7.2 bugs’ is closed to new replies.