• Hi, after updating to the latest release, I get an error when I access edit on an order, with the following error:

    Fatal error: Uncaught TypeError: call_user_func(): Argument #1 ($callback) must be a valid callback, function "render_xyz_metabox" not found or invalid function name in /var/www/html/web/wp-admin/includes/template.php:1456 Stack trace: #0 /var/www/html/web/wp-admin/edit-form-advanced.php(716): do_meta_boxes() #1 /var/www/html/web/wp-admin/post.php(206): require('...') #2 {main} thrown in /var/www/html/web/wp-admin/includes/template.php on line 1456
Viewing 11 replies - 1 through 11 (of 11 total)
  • After the last update it gives me the same error too. Fixed by rolling back to old version 20240307

    I can confirm that I have the same problem with the current version: 20240624. I rolled back to the previous one (20240307) and it seems to be fine!

    Exactly the same issue with version 20240624 and PHP version 8.1. If i set the php version back to 7.4 it seems to work, bur php 7.4 is a lot slower rather then php 8.x

    If i disable the plugin everything works so i’m sure is Gestpay for Woocommerce!

    So please update and fix as soon as possible !!!!

    Better component description:

    • WordPress 6.5.5
    • Woocommerce 9.0.2
    • Gestpay for Woocommerce 20240624
    • php 8.1

    Again fix it asap! your is an important plugin for a woocommerce site!!

    FTP, root folder of plugin, file gestpay-for-woocommerce.php line 899 remove for no errors. (and add_action line 68).
    I think there isn’t a callback for this metabox so trigger error.

    Regards

    • This reply was modified 4 months, 3 weeks ago by kgmservizi.
    • This reply was modified 4 months, 3 weeks ago by kgmservizi.

    I tried to make this change that you indicated and now everything works fine. Thank you so much

    Best regards

    @francescochella Check before answer.
    I’ve reported to Axerve via other contact. I hope they fix with new version.

    Best regards

    i guess @kgmservizi is right!
    There isn’t any callback for the metabox

    comment out line 68 in gestpay-for-woocommerce.php file
    add_action( ‘add_meta_boxes’, ‘add_xyz_metabox’);

    That’s enough!

    Now it works with php 8.1 and the last WordPress and Woocommerce version

    Still waiting for official fix!

    @alessiorosi yes it is enough but I prefer clean code ??

    Regards

    Plugin Author Fabrick Support

    (@easynolo)

    Dear All,

    Thank you for reporting the issue.
    After the release of the latest version we detected an anomaly, which we are managing and a fix will be released in the next hours.

    We apologize for the inconvenience; we will update you promptly when the issue is resolved.

    Thank you,

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