• Resolved Machine IT Services

    (@machineitsvcs)


    I get the following error message in log from this plugin:

    PHP message: PHP Warning: in_array() expects parameter 2 to be array, string given in /web/wp-content/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 122

    It looks like the value retrieved from $this->splitit_upstream_messaging_selection is not an array as expected by the function in_array().

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Machine IT Services

    (@machineitsvcs)

    Looks like there are several of these in the same file, so if you fix one you get an error on the next. May need to check the actually return of the member splitit_upstream_messaging_selection but also check if the value is an array before using in_array function each time.

    Plugin Author SplitIt

    (@splitit)

    Hi @machineitsvcs,
    thank you for notifying us.

    this issue is now resolved and you can check it on the latest plugin version (3.1.1)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP Error Message in Log’ is closed to new replies.