Support » Plugin: Shipping Zones by Drawing for WooCommerce » Fatal error (Failed opening required […] szbd-shipping-message.php)

  • Resolved robeire

    (@robeire)


    Hi there,

    I had a fatal error on my website after updating to the latest version.

    I have rolled back to 3.0. Do you know why I might be getting this message?

    Many thanks in advance! 🙂

    Rob

    Warning: require_once(/home/sclscaffstore/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/packages/szbd-shipping-message/szbd-shipping-message.php): failed to open stream: No such file or directory in /home/sclscaffstore/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php on line 719
    
    Fatal error: require_once(): Failed opening required '/home/sclscaffstore/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/packages/szbd-shipping-message/szbd-shipping-message.php' (include_path='.:/opt/cpanel/ea-php80/root/usr/share/pear') in /home/sclscaffstore/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php on line 719
    • This topic was modified 1 month ago by robeire.

    The page I need help with: [log in to see the link]

Viewing 11 replies - 1 through 11 (of 11 total)
  • robkos442

    (@robkos442)

    I’m having the same issue, had to deactivate the plugin. Commenting here for reply notifications.

    robkos442

    (@robkos442)

    @robeire

    How did you roll back to 3.0?

    elmills81

    (@elmills81)

    I experienced the same issue and had to roll back to 3.0.1

    I use a plugin called WP Rollback to support easy rollbacks when needed.

    laczika83

    (@laczika83)

    I have the same problem. Blocked the entire site. Version 3.0.1 works.

    lockedm

    (@lockedm)

    Same issue here:

    Error Details ============= An error of type E_ERROR was caused in line 719 of the file /home/thehampshireshep/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php. Error message: Uncaught Error: Failed opening required ‘/home/thehampshireshep/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/packages/szbd-shipping-message/szbd-shipping-message.php’ (include_path=’.:/opt/alt/php81/usr/share/pear:/opt/alt/php81/usr/share/php:/usr/share/pear:/usr/share/php’) in /home/thehampshireshep/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php:719 Stack trace: #0 /home/thehampshireshep/public_html/wp-content/plugins/shipping-zones-by-drawing-for-woocommerce/shipping-zones-by-drawing.php(712): SZBD->includes() #1 /home/thehampshireshep/public_html/wp-includes/class-wp-hook.php(324): SZBD->init() #2 /home/thehampshireshep/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #3 /home/thehampshireshep/public_html/wp-includes/plugin.php(517): WP_Hook->do_action() #4 /home/thehampshireshep/public_html/wp-settings.php(506): do_action() #5 /home/thehampshireshep/public_html/wp-config.php(104): require_once(‘/home/thehampsh…’) #6 /home/thehampshireshep/public_html/wp-load.php(50): require_once(‘/home/thehampsh…’) #7 /home/thehampshireshep/public_html/wp-admin/admin.php(34): require_once(‘/home/thehampsh…’) #8 /home/thehampshireshep/public_html/wp-admin/index.php(10): require_once(‘/home/thehampsh…’) #9 {main} thrown

    robkos442

    (@robkos442)

    @elmills81 Thank you so much that did it

    MagineM

    (@maginem)

    Similar issue on my site after updating to 3.0.3 … did a rollback to version 3.0.1 and all good.

    • This reply was modified 1 month ago by MagineM.
    tfallkvist

    (@tfallkvist)

    Just add # before in line 719 shipping-zones-by-drawing.php.
    These files doesnt exists..

    // Packages for blocks checkout
    # require_once (SZBD_PLUGINDIRPATH . 'packages/szbd-shipping-message/szbd-shipping-message.php');
    # require_once (SZBD_PLUGINDIRPATH . 'packages/szbd-method-selection/szbd-method-selection.php');
    #require_once (SZBD_PLUGINDIRPATH . 'packages/szbd-shipping-map/szbd-shipping-map.php');
    Thread Starter robeire

    (@robeire)

    Hi @robkos442, you can find older versions here:
    https://plugins.trac.wordpress.org/log/shipping-zones-by-drawing-for-woocommerce

    3.0 can be found here:
    https://plugins.trac.wordpress.org/changeset/3008819/shipping-zones-by-drawing-for-woocommerce

    (Scroll down to the bottom and click on Zip Archive to download)

    @tfallkvist – it’s not something I would recommend’m very comfortable doing on client websites (because we don’t know how that affects any other functionality on the site – critical errors definitely not needed with this week’s workload haha), and I never edit plugin files. Rolling back is fine for now though.

    Hopefully @arosoft can let us know when it’s been resolved. :0)

    [ps. because it doesn’t break anything on one site doesn’t mean it mightn’t on another, every site I do is totally different]

    tfallkvist

    (@tfallkvist)

    These files doesnt exists in any folders and doesnt break anything. and when next update comes it will be replaced anyways. =)

    Plugin Author arosoft

    (@arosoft)

    will update ASAP

Viewing 11 replies - 1 through 11 (of 11 total)
  • You must be logged in to reply to this topic.