Viewing 6 replies - 1 through 6 (of 6 total)
  • Not sure if it’s related but I’m seeing the same error on some calls to the WooCommerce REST API.

    <?xml version=”1.0″ encoding=”UTF-8″?><root><Subscription><order_id></order_id><product_id></product_id><variation_id></variation_id><status></status><end_date></end_date><failed_payments></failed_payments><completed_payments></completed_payments><suspension_count></suspension_count><last_payment_date></last_payment_date></Subscription>Unknown error type: [2] Illegal string offset ‘order_id’
    Unknown error type: [2] Illegal string offset ‘product_id’
    Unknown error type: [2] Illegal string offset ‘variation_id’
    Unknown error type: [2] Illegal string offset ‘status’
    Unknown error type: [2] Illegal string offset ‘end_date’

    Dave
    Dave@wastelessbiztime.com
    http://www.wastelessbiztime.com

    Plugin Author Payment Plugins

    (@mrclayton)

    Hey Guys,

    Sorry for the delay, you can email me directly at mr.clyaton@wordpresspayments.co if you like with questions as I check that on an hourly basis. The illegal offset issue is simply a warning and will not affect the functionality. I am guessing you are using a third party debugger plugin?

    We will be addressing the warnings in our later release but for now you have nothing to be concerned about functionality wise.

    Kind Regards,

    Plugin Author Payment Plugins

    (@mrclayton)

    @robriggs Can you confirm which version of PHP you are running?

    @dlfulle we have not integrated with any of the REST API functionality yet so those errors would be unrelated to the Braintree plugin.

    In the next few days, we will be releasing an updated version that integrates fully with subscriptions 2.0. You will be able to create variable products and schedule recurring payments through Braintree or the subscription API.

    Kind Regards,
    Clayton

    Plugin Author Payment Plugins

    (@mrclayton)

    Hey Guys,

    Since I haven’t heard back from you I will go ahead and mark this thread as resolved at the end of the day 10/16/2015.

    Sorry mr.clayton, as you said, my issue wasn’t related to the Braintree. I figured it out. There was a change in the response from the subscription manager which broke a method that I had. Was actually a small fix once I figured it out.

    Plugin Author Payment Plugins

    (@mrclayton)

    Glad you got it figured out. We just released a major version update which adds support for woocommerce subscriptions 2.0+

    Let me know if you run into any issue.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘"illegal string offset" error messages’ is closed to new replies.