• I have some issue on order page with this plugin.
    Fatal error: Uncaught Error: Class ‘Aramex_Shipping_Method’ not found in /home/mwonline/public_html/wp-content/plugins/aramex-shipping-woocommerce/templates/adminhtml/shipment.php:128 Stack trace: #0 /home/mwonline/public_html/wp-includes/class-wp-hook.php(287): aramex_display_order_data_in_admin(Object(Automattic\WooCommerce\Admin\Overrides\Order)) #1 /home/mwonline/public_html/wp-includes/class-wp-hook.php(311): WP_Hook->apply_filters(”, Array) #2 /home/mwonline/public_html/wp-includes/plugin.php(478): WP_Hook->do_action(Array) #3 /home/mwonline/public_html/wp-content/plugins/woocommerce/includes/admin/meta-boxes/class-wc-meta-box-order-data.php(513): do_action(‘woocommerce_adm…’, Object(Automattic\WooCommerce\Admin\Overrides\Order)) #4 /home/mwonline/public_html/wp-admin/includes/template.php(1345): WC_Meta_Box_Order_Data::output(Object(WP_Post), Array) #5 /home/mwonline/public_html/wp-admin/edit-form-advanced.php(677): do_meta_boxes(Object(WP_Screen), ‘normal’, Object(WP_Post)) #6 /home/mwonline/public_html/wp-admi in /home/mwonline/public_html/wp-content/plugins/aramex-shipping-woocommerce/templates/adminhtml/shipment.php on line 128
    There has been a critical error on your website. Please check your site admin email inbox for instructions.

Viewing 4 replies - 1 through 4 (of 4 total)
  • same here. kindly check

    same here

    Add this on below the line number 65 in plugins/aramex-shipping-woocommerce/aramex-shipping.php
    add_action('admin_init', 'aramex_shipping_method');

    try this for temporary fix, till you get the updated version from the author.

    • This reply was modified 4 years, 10 months ago by Ashok Kumar.

    my error was:
    Fatal error: Uncaught Error: Class ‘Aramex_Shipping_Method’ not found in /home/runcloud/webapps/atmoskl-home/wp-content/plugins/aramex-shipping-woocommerce/templates/frontend/apilocationvalidator_account.php:23

    i solved this by adding code below referred to current plugin:
    /wp-content/plugins/aramex-shipping-woocommerce/templates/adminhtml/shipment.php:128 which solved previous error i think.

    add
    include_once(plugin_dir_path(__FILE__) . '../../includes/shipping/class-aramex-woocommerce-shipping.php');
    above
    $settings = new Aramex_Shipping_Method();

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Aramex_Shipping_Method’ is closed to new replies.