• Resolved tanmoydast

    (@tanmoydast)


    I create order by using Woocommerce RestApi. But after installing the WaNotifier plugin I am getting this below mentioned error and can't create order. But if I disable the plugin then I can create New order using RestApi.
    What to do?
    Error ----
    code: 'internal_server_error',
    message: '

    There has been a critical error on this website.

    Learn more about troubleshooting WordPress.',
    data: {
    status: 500,
    error: {
    type: 1,
    message: 'Uncaught Error: Call to a member function get() on null in /home1/adharsw/public_html/wp-content/plugins/notifier/includes/classes/integrations/class-notifier-woocommerce.php:1148\n' +
    'Stack trace:\n' +
    '#0 /home1/adharsw/public_html/wp-includes/class-wp-hook.php(326): Notifier_Woocommerce::notifier_save_session_on_new_order(3094)\n' +
    '#1 /home1/adharsw/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)\n' +
    '#2 /home1/adharsw/public_html/wp-includes/plugin.php(517): WP_Hook->do_action(Array)\n' +
    "#3 /home1/adharsw/public_html/wp-content/plugins/woocommerce/includes/data-stores/class-wc-order-data-store-cpt.php(103): do_action('woocommerce_new…', 3094, Object(WC_Order))\n" +
    '#4 /home1/adharsw/public_html/wp-content/plugins/woocommerce/includes/class-wc-data-store.php(186): WC_Order_Data_Store_CPT->create(Object(WC_Order))\n' +
    '#5 /home1/adharsw/public_html/wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-order.php(214): WC_Data_Store->create(Object(WC_Order))\n' +
    '#6 /home1/adharsw/public_html/wp-conten',
    file: '/home1/adharsw/public_html/wp-content/plugins/notifier/includes/classes/integrations/class-notifier-woocommerce.php',
    line: 1148
    }
    },
    additional_errors: []
Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author WANotifier Team

    (@wanotifier)

    Hello,

    Sorry to know that you faced this issue. We were able to reproduce this issue on our end. We’re working on fixing this and will get this fixed and push an update asap.

    Thanks
    Team WANotifier

    Thread Starter tanmoydast

    (@tanmoydast)

    I am already using this latest version 2.7.2 .

    Plugin Author WANotifier Team

    (@wanotifier)

    Hello tanmoydast,

    We were able to reproduce this issue on our end in v2.7.2. We’re working on fixing this and will get this fixed and push an update asap.

    Thanks,
    Team WANotifier

    Thread Starter tanmoydast

    (@tanmoydast)

    Thank you.

    Plugin Author WANotifier Team

    (@wanotifier)

    Hello tanmoydast,

    We’ve pushed an update. Kindly update to v2.7.3 and let us know if it’s working as expected.

    Regards,
    Team WANotifier

    Thread Starter tanmoydast

    (@tanmoydast)

    Updated the plugins and now it is working. Thank you.

    Plugin Author WANotifier Team

    (@wanotifier)

    Hello tanmoydast,

    Good to know that. I’ll close this ticket now.

    Regards,
    Team WANotifier

    P.S. Leave us a review if you liked the support. That’ll make our day! ??

Viewing 7 replies - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.