• Resolved jomo

    (@jonathanmoorebcsorg)


    Hi, I am seeing this notice a lot in environments where wp debug is on:

    Notice: Trying to get property of non-object in wp-content/plugins/wc-abandoned-carts-by-small-fish-analytics/class-sfa-abandoned-carts-recorder.php on line 64

    I have NOT upgraded to woocommmerce 3.0 in these environments.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Hi

    Thanks for reaching out for support.

    Can you confirm your PHP version as well as if you’re on 2.1.1 of the plugin?

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    Current PHP version: 7.0.17
    Version 2.1.1 | By Small Fish Analytics

    Hi

    I see where the problem was in the code and have pushed a new 2.1.2 version that addresses this particular notice.

    Can you update your test environment and confirm that notice is gone?

    I didn’t realize MAMP had started hiding the notices on me. Tomorrow I’m going to spend some time going through my tests to make sure no where else is throwing notices.

    Thread Starter jomo

    (@jonathanmoorebcsorg)

    wow, fastest update in the West….

    However, on reinstallation of the new version from the wordpress repository and checking the chart view, I get a lot of errors like:

    >Notice: Undefined offset: 7171 in wp-content/plugins/wc-abandoned-carts-by-small-fish-analytics/admin/tables/class-sfa-abandoned-carts-abandoned-product-table.php on line 25

    Ya. I didn’t notice my MAMP Pro config had changed and was hiding notices from me. I’ll fix this one up too but probably won’t get to it until tomorrow.

    Thanks for your patience!

    Actually this turned out to be a real easy one too so I’d rather just get the update out to everyone with the notice fix.

    Please update to 2.1.3 and let me know if the notices are gone for you now.

    Marking as fixed. Please open the ticket again if you have any issues.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Trying to get property of non-object in class-sfa-abandoned-carts-recorder.php’ is closed to new replies.