• eddr

    (@eddr)


    Hi

    – We used the previous Splitit plugin and recently moved to the new one
    – We get many PHP errors (many are about some “total” value) and it also seems that the “payment completed” action hook stopped firing when paying via splitit
    – I’m adding the errors which repeat themselves
    [20-Feb-2022 05:49:19 UTC] PHP Warning: fwrite() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 95
    [20-Feb-2022 05:49:19 UTC] PHP Warning: fclose() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 96
    [20-Feb-2022 05:52:53 UTC] PHP Warning: fwrite() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 95
    [20-Feb-2022 05:52:53 UTC] PHP Warning: fclose() expects parameter 1 to be resource, bool given in xxx/plugins/splitit-installment-payments/classes/class-splitit-flexfields-payment-plugin-log.php on line 96
    [20-Feb-2022 05:55:21 UTC] PHP Notice: Undefined index: shipping_phone in xxx/plugins/splitit-installment-payments/splitIt-flexfields-payment-gateway.php on line 1348
    [20-Feb-2022 05:55:21 UTC] PHP Notice: Trying to access array offset on value of type null in xxx/plugins/splitit-installment-payments/splitIt-flexfields-payment-gateway.php on line 1348
    [20-Feb-2022 06:06:03 UTC] PHP Warning: Illegal offset type in isset or empty in yyy/wp-includes/class-wp-hook.php on line 76
    [20-Feb-2022 06:06:03 UTC] PHP Warning: Illegal offset type in yyy/wp-includes/class-wp-hook.php on line 78
    [20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:11:50 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:12:33 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:45 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565
    [20-Feb-2022 08:14:53 UTC] PHP Notice: Trying to get property ‘total’ of non-object in xxx/plugins/splitit-installment-payments/classes/traits/splitit-flexfields-payment-plugin-upstream-messaging-trait.php on line 565`

    – The payment completed action certainly not fired, according to logs and also no invoice is created because of that.

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Many PHP errors and payment_completed not fired’ is closed to new replies.