• We just activated your plugin and it works great. However we noticed on issue that causes an error to show in the admin error with WP_DEBUG turned on:

    ( ! ) Notice: Trying to get property of non-object in …/wp-content/plugins/authorizenet-woocommerce-addon/authorize.net-woocommerce-addon.php on line 695

    I know this is just a notice and not a true error, however I thought you’d want to know about it.

    Thank you!

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author nazrulhassanmca

    (@nazrulhassanmca)

    Thank you for letting me know can you do me one more favour if possible?

    can you change the line 695 from

    $chargestatus = get_post_meta( $post->ID, '_authorizenet_charge_status', true );

    to

    
    $order_id = $post->ID ;
    $chargestatus = get_post_meta( $order_id, '_authorizenet_charge_status', true );
    Thread Starter Creative Slice

    (@creativeslice)

    Thank you for the quick fix. That did it!

    Will you be pushing this update to next update of plugin?

    Thanks!

    Thread Starter Creative Slice

    (@creativeslice)

    Oops, I spoke too soon. Looks like it’s now only an issue when the “Members” plugin by Justin Tadlock is used and you try to edit a role.

    Here is the error:

    ( ! ) Notice: Trying to get property of non-object in .../wp-content/plugins/authorizenet-woocommerce-addon/authorize.net-woocommerce-addon.php on line 696

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Property of non-object’ is closed to new replies.