• Hi,

    Can you fix this PHP warning in the next version? It’s in version 1.0.4 of your plugin.

    Warning: get_object_vars() expects parameter 1 to be object, array given in /wp-content/plugins/keendelivery-woocommerce-koppeling/class-keendelivery-orders.php on line 323

    Stack Trace:

    1. get_object_vars(Array(0))
       /wp-content/plugins/keendelivery-woocommerce-koppeling/class-keendelivery-orders.php:323
    2. KeenDelivery_Orders->send_order('')
       /wp-includes/class-wp-hook.php:287
    3. WP_Hook->apply_filters('', Array(1))
       /wp-includes/class-wp-hook.php:311
    4. WP_Hook->do_action(Array(1))
       /wp-includes/plugin.php:484
    5. do_action('wp_ajax_send_order')
       /wp-admin/admin-ajax.php:184

    Context:

    URL            : /wp-admin/admin-ajax.php?_fs_blog_admin=true
    Referer        : https://www.myawesomesite.nl/wp-admin/post.php?action=edit&post=132127
    HTTP Method    : POST
    HTTP Status    : 200
    ajaxAction     : send_order
    isSSL          : Yes
    Current Filter : wp_ajax_send_order
    PHP SAPI       : fpm-fcgi

    Thank you for listening to your customers ??

  • The topic ‘PHP Warning: get_object_vars() expects parameter 1 to be object,’ is closed to new replies.