• Resolved techhair

    (@techhair)


    Hello,

    First of all thank you for your plugin which is complete and very effective, only since the last update 3.4.0, it is impossible to access woocommerce orders, the “Packlink PRO Shipping” widget indicates a critical error and crashes all the orders.

    Can you fix this quickly?

Viewing 15 replies - 1 through 15 (of 22 total)
  • Hi!

    I’m having the same problem that @techhair, when the plugin is active you can not see the current/past orders.

    This is part of the message I’ve received from WordPress (sorry some words are in spanish):

    Detalles del error
    ==================
    Se ha producido un error del tipo E_ERROR en la línea 394 del archivo /var/www/html/mydomain.com/wp-content/plugins/packlink-pro-shipping/class-plugin.php. Mensaje de error: Uncaught Error: Call to undefined method WP_Post::get_id() in /var/www/html/mydomain.com/wp-content/plugins/packlink-pro-shipping/class-plugin.php:394
    Stack trace:
    #0 /var/www/html/mydomain.com/wp-admin/includes/template.php(1456): Packlink\WooCommerce\Plugin->Packlink\WooCommerce\{closure}()
    #1 /var/www/html/mydomain.com/wp-admin/edit-form-advanced.php(707): do_meta_boxes()
    #2 /var/www/html/mydomain.com/wp-admin/post.php(206): require(‘…’)
    #3 {main}
    thrown

    More info about my system:
    WordPress versión 6.4.2
    Plugin actual: Packlink PRO Shipping (versión 3.4.0)
    PHP versión 8.1.2-1ubuntu2.14

    Best Regards,

    Javier

    • This reply was modified 10 months, 2 weeks ago by backd00r.
    • This reply was modified 10 months, 2 weeks ago by backd00r.

    Same here. Plugin is breaking woocommerce. Please fix this as soon as possible.

    hello,

    I have the same issue..

    We’re having the same issue. We won’t be able to use Packlink’s shipping services until this is fixed.

    Is there any other way of contacting the developers or getting tech support for this plugin?

    Hi, the same error for me. I made the downgrade to 3.3.3 an it works newly

    • This reply was modified 10 months, 2 weeks ago by lukios.

    Me too!

    Furthermore, CPU resources skyrocket to 100%

    Same here.

    [12-Jan-2024 08:47:17 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method WP_Post::get_id() in /home/customer/www/domain.com/public_html/wp-content/plugins/packlink-pro-shipping/class-plugin.php:394
    Stack trace:
    #0 /home/customer/www/domain.com/public_html/wp-admin/includes/template.php(1456): Packlink\WooCommerce\Plugin->Packlink\WooCommerce\{closure}(Object(WP_Post), Array)
    #1 /home/customer/www/domain.com/public_html/wp-admin/edit-form-advanced.php(707): do_meta_boxes(Object(WP_Screen), 'side', Object(WP_Post))
    #2 /home/customer/www/domain.com/public_html/wp-admin/post.php(206): require('/home/customer/...')
    #3 {main}
      thrown in /home/customer/www/domain.com/public_html/wp-content/plugins/packlink-pro-shipping/class-plugin.php on line 394

    Excuse me lukios (@lukios), how can I downgrade?

    Solution temporaire :

    Pour ceux qui ne l’ont pas encore, ne faites pas la mise à jour 3.4.

    Et si vous avez mis à jour le Plugin repassez à la 3.3 en attendant qu’ils sortent le patch. Vous pouvez rétrograder directement depuis o2switch ou installer un plugin qui rétrograde

    A downgrade “fixes” the problem while not released a new version.
    Open this page and scroll to the bottom of the page: https://www.ads-software.com/plugins/packlink-pro-shipping/advanced/
    There you can choose version 3.3.4 and download it.
    Then go to WP-Admin > Plugins > Add new plugin and upload it

    @discovercolori20

    • This reply was modified 10 months, 2 weeks ago by Jairo Ochoa.
    • This reply was modified 10 months, 2 weeks ago by Jairo Ochoa.

    Thank you Jairo Ochoa (@jairoochoa)

    I have the same issue and I see the same error as @jairoochoa.

    Besides downgrading, you can also temporarily fix the bug by going to plugins/packlink-pro-shipping/class-plugin.php and on line 394 replace $data_id = $data->get_id(); with $data_id = $data->ID;

    That will fix it, but hopefully the plugin authors will fix it in the next version, because otherwise the above changes will be overwritten again when updating the plugin.

    Yes @munikho, downgrading is the easy fix but we must be aware to avoid the plugin being updated again.
    Turning off automatic updates would be recommended to avoid it.
    Otherwise edit the script as you have suggested.
    I hope they will release 3.4.1 soon.

    Same problem. Thanks you so much @munikho for temporal fix. Waiting for @packlink to fix the problem

    hello ! same problem. It would be nice if they tested their app :((
    thanks you so much?@munikho?for temporal fix ;))

    • This reply was modified 10 months, 2 weeks ago by aledi.
    • This reply was modified 10 months, 2 weeks ago by aledi.
Viewing 15 replies - 1 through 15 (of 22 total)
  • The topic ‘Update 3.4.0 – critical woocommerce order error’ is closed to new replies.