• Resolved inspired888

    (@inspired888)


    Hi there,
    I’ve discovered that whey this plug-in is enabled, the Add New order page doesn’t load. I can see that in the Zendesk panel it says there’s been a fatal error.

    The error is:

    
    [Mon May 31 23:36:47.813854 2021] [php7:error] [pid 7576] [client 112.213.44.15:39136] PHP Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /nas/content/live/REMOVED/wp-content/plugins/mwb-zendesk-woo-order-sync/Library/class-mwb-zendesk-settings.php:182\nStack trace:\n#0 /nas/content/live/REMOVED/wp-admin/includes/template.php(1389): MWB_ZENDESK_Settings->mwb_zndsk_tickets_config(Object(WP_Post), Array)\n#1 /nas/content/live/REMOVED/wp-admin/edit-form-advanced.php(681): do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))\n#2 /nas/content/live/REMOVED/wp-admin/post-new.php(75): require('/nas/content/li...')\n#3 {main}\n thrown in /nas/content/live/REMOVED/wp-content/plugins/mwb-zendesk-woo-order-sync/Library/class-mwb-zendesk-settings.php on line 182, referer: https://www.REMOVED/wp-admin/post.php?post=49792&action=edit
    

    Also, my client (the site owner) has informed me that the orders have never actually synced through to their Zendesk. So I get the impression the plugin has been having errors elsewhere. This one I just happen to see, because it breaks the Add New order page.

    Thanks,

    Jonathan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter inspired888

    (@inspired888)

    I see now we also received an email from WordPress site with info on the error:

    
    
    When seeking help with this issue, you may be asked for some of the following information:
    WordPress version 5.7.1
    Current theme: REMOVED (Divi child) (version 1.136)
    Current plugin: Order Sync with Zendesk for WooCommerce (version 2.0.2)
    PHP version 7.3.28-1+ubuntu18.04.1+deb.sury.org+1
    
    Error Details
    =============
    An error of type E_ERROR was caused in line 182 of the file /nas/content/live/REMOVED/wp-content/plugins/mwb-zendesk-woo-order-sync/Library/class-mwb-zendesk-settings.php. Error message: Uncaught Error: Cannot use object of type stdClass as array in /nas/content/live/REMOVED/wp-content/plugins/mwb-zendesk-woo-order-sync/Library/class-mwb-zendesk-settings.php:182
    Stack trace:
    #0 /nas/content/live/REMOVED/wp-admin/includes/template.php(1389): MWB_ZENDESK_Settings->mwb_zndsk_tickets_config(Object(WP_Post), Array)
    #1 /nas/content/live/REMOVED/wp-admin/edit-form-advanced.php(681): do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))
    #2 /nas/content/live/REMOVED/wp-admin/post-new.php(75): require('/nas/content/li...')
    #3 {main}
      thrown

    Hello,

    Thank you for your query and also for mentioning the issue you faced. So we have checked this and already started to work on this issue.

    We will update the plugin and resolve the issue, so please allow us some time, we will be thankful for this.

    Regards,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Causes a fatal error in the Add New Order interfact’ is closed to new replies.