[SOLVED]Getting an error

Home – SaaS Forums Support questions WooPrice Calculator (Pro) [SOLVED]Getting an error

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #5157
    Zak Venturo
    Participant

    The error is

    Warning: count(): Parameter must be an array or an object that implements Countable

    and its on line 42 of OrderHelper.php where it is stated:

    if(count($simulation) == 0)

    I changed this to

    if(!is_array($simulation))

    Might not be the best change, but this does get past the error.

    It has something to do with the version of PHP i am using which is 7.2

    #5158
    Naidi
    Participant

    Hi,

    thank you for your feedback. We will analyse more the warning and our development team will probably solve it in the next update of the software.
    Feel free to write us if you will have further problems.

    Best regards
    Naidi
    AT1147

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.