• Resolved rahulmauryarr

    (@rahulmauryarr)


    Hello,

    I have some orders that were paid by razorpay Payment, but the orders status changing is strange. At first, it is Processing, but a few minutes/hours later, it changes to Pending payment. The payment is received, but the order status is not correct.
    What’s the problem? Help, please.

    This is error log creating each day

    2022-08-02T05:53:17+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php:690
    Stack trace:
    #0 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(307): ECOM_Controller_Tracking->ecomm_change_order_status()
    #1 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #2 /var/www/new-noapology/html/wp-includes/plugin.php(524): WP_Hook->do_action()
    #3 /var/www/new-noapology/html/wp-cron.php(138): do_action_ref_array()
    #4 {main}
      thrown in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php on line 690
    
    2022-08-02T20:54:47+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php:690
    Stack trace:
    #0 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(307): ECOM_Controller_Tracking->ecomm_change_order_status()
    #1 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #2 /var/www/new-noapology/html/wp-includes/plugin.php(524): WP_Hook->do_action()
    #3 /var/www/new-noapology/html/wp-cron.php(138): do_action_ref_array()
    #4 {main}
      thrown in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php on line 690
    
    2022-08-02T22:23:26+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php:690
    Stack trace:
    #0 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(307): ECOM_Controller_Tracking->ecomm_change_order_status()
    #1 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #2 /var/www/new-noapology/html/wp-includes/plugin.php(524): WP_Hook->do_action()
    #3 /var/www/new-noapology/html/wp-cron.php(138): do_action_ref_array()
    #4 {main}
      thrown in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php on line 690
    
    2022-08-02T23:53:39+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php:690
    Stack trace:
    #0 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(307): ECOM_Controller_Tracking->ecomm_change_order_status()
    #1 /var/www/new-noapology/html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()
    #2 /var/www/new-noapology/html/wp-includes/plugin.php(524): WP_Hook->do_action()
    #3 /var/www/new-noapology/html/wp-cron.php(138): do_action_ref_array()
    #4 {main}
      thrown in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php on line 690
Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter rahulmauryarr

    (@rahulmauryarr)

    This error log is created today.
    am using Ecom express plugin (for shippping)

    2022-08-03T05:40:12+00:00 CRITICAL Uncaught Error: Cannot use object of type WP_Error as array in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php:84
    Stack trace:
    #0 /var/www/new-noapology/html/wp-admin/includes/template.php(1401): ECOM_Controller_Tracking->cm_field_cb()
    #1 /var/www/new-noapology/html/wp-admin/edit-form-advanced.php(681): do_meta_boxes()
    #2 /var/www/new-noapology/html/wp-admin/post.php(206): require('/var/www/new-no...')
    #3 {main}
      thrown in /var/www/new-noapology/html/wp-content/plugins/ecomexp-for-woocommerce-3/includes/class-ecom-controller-tracking.php on line 84

    Hi @rahulmauryarr

    Thank you for reaching out!

    Based on the fatal errors log, it looks like the error is coming from the Ecom express plugin that you are using.

    Can you please temporarily disable this plugin and then place a test order to check if this makes any difference?

    In order for us to get a better understanding of your site setup, could you please share a copy of your website’s System Status Report?

    You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

    Thread Starter rahulmauryarr

    (@rahulmauryarr)

    System report

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://noapology.in
    Site address (URL): https://noapology.in
    WC Version: 6.7.0
    REST API Version: ✔ 6.7.0
    WC Blocks Version: ✔ 7.8.3
    Action Scheduler Version: ✔ 3.4.0
    Log Directory Writable: ❌ To allow logging
    make /var/www/new-noapology/html/wp-content/uploads/wc-logs/ writable or define a custom WC_LOG_DIR.
    
    WP Version: 6.0.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.41 (Ubuntu)
    PHP Version: 7.4.3
    PHP Post Max Size: 8 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.68.0
    OpenSSL/1.1.1f
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.30-0ubuntu0.20.04.2
    Max Upload Size: 2 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ❌ Your server does not have the SoapClient class enabled - some gateway plugins which use SOAP may not work as expected.
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.7.0
    WC Database Prefix: wp_
    Total Database Size: 120.57MB
    Database Data Size: 87.15MB
    Database Index Size: 33.42MB
    wp_woocommerce_sessions: Data: 2.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 1.52MB + Index: 0.17MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 4.52MB + Index: 4.77MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 3.52MB + Index: 3.03MB + Engine InnoDB
    wp_anc_6310_counter: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_anc_6310_icons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_anc_6310_style: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_commentmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 3.52MB + Index: 2.36MB + Engine InnoDB
    wp_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_options: Data: 41.48MB + Index: 0.14MB + Engine InnoDB
    wp_pincode_checker: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 10.52MB + Index: 9.03MB + Engine InnoDB
    wp_posts: Data: 5.52MB + Index: 0.66MB + Engine InnoDB
    wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.25MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sbi_feed_caches: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sbi_instagram_posts: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
    wp_sbi_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sync_track_order: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_term_relationships: Data: 0.06MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_termmeta: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 4.52MB + Index: 6.03MB + Engine InnoDB
    wp_users: Data: 0.23MB + Index: 0.25MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.23MB + Index: 0.19MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.11MB + Index: 0.14MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.44MB + Index: 0.52MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.23MB + Index: 0.27MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wt_iew_action_history: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wp_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_yith_wcwl: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yith_wcwl_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.50MB + Index: 0.42MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 940
    custom_css: 2
    customize_changeset: 75
    ic_mega_menu: 3
    ic_popup: 3
    mc4wp-form: 1
    nav_menu_item: 147
    oembed_cache: 1
    page: 69
    portfolio: 10
    post: 24
    product: 86
    product_variation: 13
    revision: 232
    sa_slider: 1
    shop_coupon: 1
    shop_order: 1889
    shop_order_refund: 1
    sp_easy_accordion: 2
    testimonial: 10
    wp_global_styles: 2
    wpcf7_contact_form: 2
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (41) ###
    
    Template Library and Redux Framework: by Extendify – 4.3.16
    Akismet Anti-Spam: by Automattic – 5.0
    Animated Number Counter: by Sk. Abul Hasan – 1.5
    Contact Form 7: by Takayuki Miyoshi – 5.6.1
    Easy Accordion: by ShapedPlugin – 2.1.16
    Easy WP SMTP: by wpecommerce
    alexanderfoxc – 1.4.7
    
    Ecom Express Automated Shipping: by Ecom Express – 1.0.6
    Header Footer Code Manager: by 99robots – 1.1.27
    Health Check & Troubleshooting: by The WordPress.org community – 1.4.5
    Hello Dolly: by Matt Mullenweg – 1.7.2
    Import and export users and customers: by codection – 1.19.3.1
    Insight Core: by InsightStudio – 1.7.0
    Insight Swatches: by ThemeMove – 1.3.0
    Smash Balloon Instagram Feed: by Smash Balloon – 6.0.6
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.9.0
    Learts Addons: by ThemeMove – 1.6.6
    Shoppable Images Lite: by Studio Wombat – 1.2.2
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.7
    Meta Tag Manager: by Marcus Sykes – 3.0.2
    Order Export & Order Import for WooCommerce: by WebToffee – 2.2.5
    Product Import Export for WooCommerce: by WebToffee – 2.2.2
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Slider Revolution: by ThemePunch – 6.5.25
    Safe SVG: by 10up – 2.0.2
    Server IP & Memory Usage Display: by Apasionados
    Apasionados del Marketing – 2.1.0
    
    Slide Anything - Responsive Content / HTML Slider and Carousel: by Simon Edge – 2.3.47
    Import Export WordPress Users and WooCommerce Customers: by WebToffee – 2.3.2
    WPBakery Page Builder Clipboard: by bitorbit – 5.0.3
    WPC Frequently Bought Together for WooCommerce: by WPClever – 4.4.0
    Woocomerce Brands Pro: by Proword – 4.5.0
    Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.1
    Razorpay for WooCommerce: by Team Razorpay – 4.0.0
    WooCommerce - Store Exporter: by Visser Labs – 2.7.1
    WooCommerce: by Automattic – 6.7.0
    WordPress Importer: by wordpressdotorg – 0.7
    Yoast SEO: by Team Yoast – 19.4
    WP-PostViews: by Lester 'GaMerZ' Chan – 1.76.1
    Smush: by WPMU DEV – 3.10.3
    Custom Product Tabs for WooCommerce: by YIKES
    Inc. – 1.7.9
    
    YITH WooCommerce Compare: by YITH – 2.16.0
    YITH WooCommerce Wishlist: by YITH – 3.11.0
    
    ### Inactive Plugins (0) ###
    
    ### Must Use Plugins (1) ###
    
    Health Check Troubleshooting Mode: by  – 1.7.2
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: INR (₹)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ✔
    
    ### WC Pages ###
    
    Shop base: #443 - /shop/
    Cart: #445 - /cart-2/
    Checkout: #447 - /checkout-2/
    My account: #449 - /my-account-2/
    Terms and conditions: #8963 - /terms-and-conditions/
    
    ### Theme ###
    
    Name: Learts Child
    Version: 1.0
    Author URL: http://thememove.com/
    Child Theme: ✔
    Parent Theme Name: Learts
    Parent Theme Version: 1.6.1
    Parent Theme Author URL: http://thememove.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: learts/woocommerce/archive-product.php
    learts/woocommerce/cart/cart-item-data.php
    learts/woocommerce/cart/cart.php
    learts/woocommerce/cart/cross-sells.php
    learts/woocommerce/cart/mini-cart.php
    learts/woocommerce/content-product-cat.php
    learts/woocommerce/content-product.php
    learts/woocommerce/content-single-product.php
    learts/woocommerce/content-widget-product.php
    learts/woocommerce/loop/add-to-cart.php
    learts/woocommerce/loop/loop-end.php
    learts/woocommerce/loop/loop-start.php
    learts/woocommerce/loop/orderby.php
    learts/woocommerce/loop/pagination.php
    learts/woocommerce/loop/rating.php
    learts/woocommerce/loop/result-count.php
    learts/woocommerce/loop/sale-flash.php
    learts/woocommerce/myaccount/form-login.php
    learts/woocommerce/single-product/meta.php
    learts/woocommerce/single-product/product-image.php
    learts/woocommerce/single-product/product-thumbnails.php
    learts/woocommerce/single-product/related.php
    learts/woocommerce/single-product/sale-flash.php
    learts/woocommerce/single-product/share.php
    learts/woocommerce/single-product/tabs/tabs.php
    learts/woocommerce/single-product/title.php
    learts/woocommerce/single-product/up-sells.php
    learts/woocommerce/single-product-reviews.php
    learts/woocommerce/single-product.php
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    experimental-product-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    wc-pay-promotion
    wc-pay-welcome-page
    wc-pay-subscriptions-page
    
    Disabled Features: minified-js
    settings
    
    Daily Cron: ✔ Next scheduled: 2022-08-03 11:03:59 +00:00
    Options: ✔
    Notes: 38
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 13,886
    Oldest: 2022-07-13 12:49:24 +0000
    Newest: 2022-08-03 10:08:02 +0000
    
    Failed: 1
    Oldest: 2022-07-14 09:56:26 +0000
    Newest: 2022-07-14 09:56:26 +0000
    
    Pending: 1
    Oldest: 2022-08-03 16:08:26 +0000
    Newest: 2022-08-03 16:08:26 +0000
    
    ### Status report information ###
    
    Generated at: 2022-08-03 10:16:56 +00:00
    

    Hi @rahulmauryarr!

    Thank you for sending the system status report.

    Did you try disabling the Ecom Express Automated Shipping plugin as suggested by @nawaz0705 to see if it made a difference?

    In this case, it is not clear if the Razorpay issue you have is related to the error logs (which point straight to the Ecom Express Automated Shipping plugin) or if you have two separate issues.

    Since this matter doesn’t seem related to WooCommerce core directly, for further assistance, we suggest the following:

    – Contact the Ecom Express Automated Shipping support team to further check the error logs you have on your site. You can contact them at https://ecomexpress.in/contact-us/

    – Create a thread on the Razorpay for WooCommerce support forum to check further on the Razorpay issue. You can do this here: https://wordpress.org/support/plugin/woo-razorpay/#new-topic-0

    I hope this leads you in the right direction.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Order status changed from Processing to Pending payment.’ is closed to new replies.