• Resolved razvanturtoi

    (@razvanturtoi)


    Hi,

    Updating from 3.2.0 to 4.0.2 breaks the entire website. Was this properly tested? How can I help with testing it?

    “You have version 3.2.0 installed. Update to 4.0.2. View version 4.0.2 details.
    Compatibility with WordPress 5.5.1: 100% (according to its author)”.

    Razvan

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Author Richard Perdaan

    (@richardperdaan)

    Dear @razvanturtoi,

    This version of the plugin has been tested several times by MyParcel employees, but also by a number of test customers.
    This problem did not occur during testing.

    Unfortunately, I need more information to find ou where the problem is. I don’t think it has to do with the WordPress version but more with a theme.

    I would like to receive the following information
    – Are there errors, example?
    – Which PHP version are you using?
    – What theme have you installed?

    Thread Starter razvanturtoi

    (@razvanturtoi)

    Happy to help:
    – WordPress version 5.5.1
    – Current theme: Thelma< (version 1.2)
    – Current plugin: WooCommerce MyParcel (version 4.0.2)
    – PHP version 7.4.9
    – Error Details:

    =============
    An error of type E_ERROR was caused in line 42 of the file /home/public/sites/www.teachmewine.com/wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration.php. Error message: Uncaught TypeError: Argument 2 passed to migration\WCMP_Upgrade_Migration::migrateSettings() must be of the type array, null given, called in /home/public/sites/www.teachmewine.com/wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration-v4-0-0.php on line 123 and defined in /home/public/sites/www.teachmewine.com/wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration.php:42
    Stack trace:
    #0 /home/public/sites/www.teachmewine.com/wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration-v4-0-0.php(123): migration\WCMP_Upgrade_Migration->migrateSettings()
    #1 /home/public/sites/www.teachmewine.com/wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration-v4-0-0.php(81): WCMP_Upgrade_Migration_v4_0_0->migrateExportDefaultsSettings()
    #2 /home/public/sites/www.teachmewine.com/wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration.php(15): WCMP_Upgrade_Migration_v4_0_0->migrate()
    #3 /home/public/sites/www.teachmewine.com/wp-content/plug

    Let me please know how I can help. Thanks!

    Regards,
    Razvan

    • This reply was modified 4 years, 1 month ago by razvanturtoi.
    • This reply was modified 4 years, 1 month ago by razvanturtoi.
    Plugin Author Richard Perdaan

    (@richardperdaan)

    Dear @razvanturtoi,

    Thank you for passing on the information. Fortunately, I am already working on this problem. I keep you informed.

    Thread Starter razvanturtoi

    (@razvanturtoi)

    Thank you Richard! Good luck!

    Razvan

    Same here. Working on:

    WordPress version 5.5.1
    – Current theme: Avada< (version V7.0.2)
    – Current plugin: WooCommerce MyParcel (version 4.0.2)
    – PHP version 7.4

    Printscreen from the Error : https://prnt.sc/uqe3uu

    Plugin Author Richard Perdaan

    (@richardperdaan)

    Hi,

    The following code has been modified and should solve this problem.

    https://github.com/myparcelnl/woocommerce/commit/7f7af8b1d6524db4abdbef8a1d6f27fe35ffe042

    This change will also be included in the next version.

    I have another issue with this release.

    Some orders change to status ‘delivered’, those orders can then not be found anymore in the CMS. But they are still present and can be found in the Woocommerce app

    Above problem for us was solved by completely deinstalling myparcel plugin and then install the new version

    @richardperdaan

    This change will also be included in the next version.

    When is the next version planned?

    Thread Starter razvanturtoi

    (@razvanturtoi)

    Thanks @richardperdaan! Good job! I’ll wait for the official version through WordPress to test again.

    Version 4.0.3. didn’t solve the problem…..
    It still breaks the website!

    Gr.

    Just installed this update and got this problem too.

    Een fout van het type E_COMPILE_ERROR werd veroorzaakt op regelnummer 67 van het bestand /home/user/public_html/wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration-v4-0-0.php. Foutmelding: require_once(): Failed opening required ‘/home/user/public_html/wp-content/plugins/woocommerce-myparcel/includes/admin/settings/class-wcmp-settings.php’ (include_path=’.:/opt/alt/php74/usr/share/pear’)

    • This reply was modified 4 years, 1 month ago by Niek.
    • This reply was modified 4 years, 1 month ago by Niek.

    Solved this by changing line 67 of /wp-content/plugins/woocommerce-myparcel/migration/wcmp-upgrade-migration-v4-0-0.php

    from

    require_once(WCMYPA()->plugin_path() . '/includes/admin/settings/class-wcmp-settings.php');

    to

    require_once(WCMYPA()->plugin_path() . '/includes/admin/settings/class-wcmypa-settings.php');

    Plugin Author Richard Perdaan

    (@richardperdaan)

    @nvomedia ,
    10 minutes ago we put version 4.0.4 live and this problem should be solved.
    Would you like to check this version?

    Thanks! Version 4.0.4 works now!

    Here it’s working too!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘4.0.2 update breaks the website’ is closed to new replies.