• Resolved landsman

    (@landsman)


    Hi,

    this errors showing before form:

    Notice: Undefined index: method_rules in ../wp-content/plugins/flexible-shipping/classes/shipping_method.php on line 234

    Warning: Invalid argument supplied for foreach() in ../wp-content/plugins/flexible-shipping/classes/shipping_method.php on line 234

    in console:
    admin.php?page=wc-settings&tab=shipping&instance_id=1&action=edit&added=2&method_id=2:431 Uncaught SyntaxError: Invalid or unexpected token

    rules adding not working :[

    • This topic was modified 8 years, 2 months ago by landsman.
Viewing 9 replies - 1 through 9 (of 9 total)
  • This is JavaScript related problem.
    Please show us code which triggering this error in console:
    admin.php?page=wc-settings&tab=shipping&instance_id=1&action=edit&added=2&method_id=2:431 Uncaught SyntaxError: Invalid or unexpected token

    Plugin Support Maciej Swoboda

    (@swoboda)

    Hi @landsman,

    Thank you for posting. We will look into this.

    Please provide some additional info:
    – WP, WooCommerce, Flexible Shipping versions.
    – Are you using other shipping plugins? If so, please list them.

    This will help us investigate further.

    For me it is: wc-settings&tab=shipping&section=wpdesk_flexible_shipping&action=new
    after I click: Shipping Methods Add New

    WordPress 4.6.1
    WC 2.3.5
    Flex Shipping Version 1.5
    No other shipping plugins apart from woocommerce standard

    Thread Starter landsman

    (@landsman)

    Same for me…

    Plugin Support Maciej Swoboda

    (@swoboda)

    Thank you. It is quite old version of WooCommerce, but we will look into it, because we claim that it works with 2.3.x ??

    Probably we change something down the road and haven’t tested with such an old WooCommerce version.

    Thread Starter landsman

    (@landsman)

    2.6.4 are same

    @landsman Please show us code which triggering this error in console:
    admin.php?page=wc-settings&tab=shipping&instance_id=1&action=edit&added=2&method_id=2:431 Uncaught SyntaxError: Invalid or unexpected token

    It can be as screenshot/

    Plugin Author Piotr Jablonowski

    (@jablonowski)

    Hi,

    an update with fixes is already available in version 1.6 Flexibe Shipping.

    Check now and let me know if it works fine.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Bugs in method adding’ is closed to new replies.