Support » Plugin: WooCommerce Simply Order Export » Error Report: PHP Fatal Error causes export fail an 500 error

  • Resolved dschingis


    I just wanted to export orders and got a endless turning wheel.

    Following errors came to my attention:

    WP debug.log: PHP Fatal error: Cannot use object of type stdClass as array in [pathToWebsite]/wp-content/plugins/woocommerce-simply-order-export/classes/class-order-export-process.php on line 330

    Chrome console:

    POST [homepage]/wp-admin/admin-ajax.php 500 () load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils,jquery-ui-position,plupload,&load[]=jquery-ui-menu,wp-a11y,jquery-ui-autocomplete&ver=4.8.1:4 
    POST [homepage]/wp-admin/admin-ajax.php 500 ()
    send @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils,jquery-ui-position,plupload,&load[]=jquery-ui-menu,wp-a11y,jquery-ui-autocomplete&ver=4.8.1:4
    ajax @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils,jquery-ui-position,plupload,&load[]=jquery-ui-menu,wp-a11y,jquery-ui-autocomplete&ver=4.8.1:4
    n.(anonymous function) @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils,jquery-ui-position,plupload,&load[]=jquery-ui-menu,wp-a11y,jquery-ui-autocomplete&ver=4.8.1:4
    (anonymous) @ orderexport.js?ver=4.8.1:19
    dispatch @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils,jquery-ui-position,plupload,&load[]=jquery-ui-menu,wp-a11y,jquery-ui-autocomplete&ver=4.8.1:3
    r.handle @ load-scripts.php?c=1&load[]=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-ui-mouse,jquery-ui-sortable,utils,jquery-ui-position,plupload,&load[]=jquery-ui-menu,wp-a11y,jquery-ui-autocomplete&ver=4.8.1:3

    I hope, it’ll help out for an update.

    Thanks for that plugin (I also use the add-on)

    PS: Edited for improved readability

    • This topic was modified 4 years, 10 months ago by dschingis.
    • This topic was modified 4 years, 10 months ago by Steve Stern (sterndata). Reason: fixed code format
Viewing 8 replies - 1 through 8 (of 8 total)
  • Same error here. Any help?

    Ankit Gade


    Could you please confirm if you are using latest version of plugin 2.1.8?

    Thread Starter dschingis


    I use

    • WC Simply Order Export v2.1.8
    • WC Simply Order Export Add-On v3.2
    • WC v3.1.1

    Kind regards


    Just change
    $meta['key'] = apply_filters( 'woocommerce_attribute_label', wc_attribute_label( $meta->key, $_product ), $meta->key );
    $meta->key = apply_filters( 'woocommerce_attribute_label', wc_attribute_label( $meta->key, $_product ), $meta->key );
    On line 330 of the file /wp-content/plugins/woocommerce-simply-order-export/classes/class-order-export-process.php, then it will work.

    Thread Starter dschingis



    download worked, file structure seems legit.

    Thank you very much!

    Ankit Gade


    Fix has been included in version 2.1.9, please update the plugin.

    Hope this helps.

    Im also getting a similar error:

    [03-Oct-2017 13:43:59 UTC] PHP Warning: urldecode() expects parameter 1 to be string, array given in […]/wp-content/plugins/woocommerce-simply-order-export/classes/class-order-export-process.php on line 333
    [03-Oct-2017 13:44:01 UTC] PHP Fatal error: Call to a member function get_name() on boolean in […]/wp-content/plugins/woocommerce-simply-order-export/classes/class-order-export-process.php on line 203

    Running on:
    WordPress 4.8.2
    WC Simply Order Export v2.1.9

    This is the error in console:

    Failed to load resource: the server responded with a status of 500 () /wp-admin/admin-ajax.php

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Error Report: PHP Fatal Error causes export fail an 500 error’ is closed to new replies.