• Resolved apsixions

    (@apsixions)


    I am seeing intermittent Critical error page when updating the order status or when someone places an order. Completely random. Here is the possible issue

    • Error Level: E_ERROR
    • Message: Uncaught Error: Cannot use object of type WP_Error as array in /bitnami/wordpress/wp-content/plugins/mobile-assistant-connector/samain.php:518
      Stack trace:
      #0 /bitnami/wordpress/wp-content/plugins/mobile-assistant-connector/samain.php(513): onResponse()
      #1 /bitnami/wordpress/wp-content/plugins/mobile-assistant-connector/samain.php(432): sendFCM()
      #2 /bitnami/wordpress/wp-content/plugins/mobile-assistant-connector/samain.php(334): sendOrderPushMessage()
      #3 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(310): mobassist_push_change_status()
      #4 /opt/bitnami/wordpress/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
      #5 /opt/bitnami/wordpress/wp-includes/plugin.php(517): WP_Hook->do_action()
      #6 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-order.php(397): do_action()
      #7 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/class-wc-order.php(245): WC_Order->status_transition()
      #8 /bitnami/wordpress/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-bo
    • File: /bitnami/wordpress/wp-content/plugins/mobile-assistant-connector/samain.php

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author eMagicOne

    (@emagicone)

    Hi there,

    thank you for your request.

    What versions of WordPress and Mobile Assistant Connector module are you working with?

    Thread Starter apsixions

    (@apsixions)

    Woocommerce – Version 7.5.1

    Mobile Assistant Connector – Version 2.2.4

    Plugin Author eMagicOne

    (@emagicone)

    Thanks, our techs will try to reproduce it on our side. Meanwhile, you can disable notifications to make the error message disappear.

    Thread Starter apsixions

    (@apsixions)

    thank you. I have kept the notification for new orders only and instances seem to have reduced, but i still one instance per day. Will try disabling all notifications

    Plugin Author eMagicOne

    (@emagicone)

    Thanks for letting us know.

    We’ll get back to you once we investigate your request.

    Plugin Author eMagicOne

    (@emagicone)

    Hi there, getting back with the response to your request.

    Our connector module automatically sends notifications after editing or creating an order, using the default functionality of WordPress.

    The error you are facing does not occur on the side of the connector, but on the side of the default functionality – we tested its work on test stores and could not reproduce the issue.

    If you have custom order statuses or some order customization plugins – this can be a reason of the error message, as the application is intended to work with default shopping cart functionality.

    We can recommend to disable notifications to get rid of the error message.

    Regards.

    Thread Starter apsixions

    (@apsixions)

    I do have custom order status. I will disable all notifications and check.

    Thank you for the update.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Critical Error occurred (Intermittent issue)’ is closed to new replies.