• Resolved Utsav tilava

    (@utsav72640)


    When i am install your plugin it will be showing this error. Fatal error: Uncaught Error: Call to a member function get_data() on bool in

    i am checking code and find out, there is a problem with get_data() function. and it’s default function so May i suggest default woocomerce function always be working do not close default functionality. Now can you please help me out of my code which i am shared below

    i am using this code,

    $getOrderproductmname = wc_get_order($dhl_order_id);

    $getOrderproductdata = $getOrderproductmname->get_data();

    and i have facing error like this, Fatal error: Uncaught Error: Call to a member function get_data() on bool in

    So how can i solve this problem can you please help me!!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter Utsav tilava

    (@utsav72640)

    i am facing this issue with your filter,

    // return our custom order number for display

    add_filter( ‘woocommerce_order_number’, array( $this, ‘get_order_number’ ), 10, 2 );

    • This reply was modified 1 year, 4 months ago by Utsav tilava.
    Plugin Support Zach

    (@zachskyverge)

    Hello there @utsav72640 ,

    Thank you for reaching out about our plugin, Sequential Order Numbers! I’m happy to assist you with this. ??

    Code customization isn’t covered under our support policy. As such, it isn’t something we can assist with directly. That said, we definitely don’t want our plugin breaking normal/core functionality. Do I have it correct that you are saying the function get_data() is not functioning correctly when Sequential Order Numbers is active?

    It looks like the fatal error you noted in your response only has part of the full error stack trace. Are you able to provide the full error for me to review?

    Best,

    Thread Starter Utsav tilava

    (@utsav72640)

    Hello @zachskyverge

    Thanks for the update.

    Unfortunately, I have already resolved the conflict issue in my code, so there is no need to discuss this topic further. Therefore, I will close the tickets.

    Plugin Support jessicaskyverge

    (@jessicaskyverge)

    Hey @utsav72640,

    ?Thanks so much for the follow-up! I’ll go ahead and close the conversation for now; however, if you need additional assistance with Sequential Order Numbers for WooCommerce, please feel free to open a new ticket.

    Thank you,
    Jessica

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[NSFW] get_data() function is not working when your plugin is install’ is closed to new replies.