• Resolved dimitrisv

    (@dimitrisv)



    The error is as follows:

    ?ταν ζητ?σετε βο?θεια σχετικ? με αυτ? το ζ?τημα, μπορε? να σα? ζητηθο?ν ορισμ?νε? απ? τι? παρακ?τω πληροφορ?ε?:
    WordPress ?κδοση 6.3
    Ενεργ? θ?μα: FemmeFatale (?κδοση 11.4)
    Τρ?χων πρ?σθετο: WooCommerce PayPal Payments (?κδοση 2.2.1)
    ?κδοση PHP 8.1.22 Λεπτομ?ρειε? σφ?λματο?

    ?να σφ?λμα τ?που E_ERROR εντοπ?στηκε στη γραμμ? 230 του αρχε?ου /public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/SubscriptionModule.php. Κωδικ?? σφ?λματο?: Uncaught TypeError: WooCommerce\PayPalCommerce\Subscription\SubscriptionModule::WooCommerce\PayPalCommerce\Subscription{closure}(): Argument #2 ($post) must be of type WP_Post, Automattic\WooCommerce\Admin\Overrides\Order given, called in /public_html/wp-includes/class-wp-hook.php on line 310 and defined in /public_html/wp-content/plugins/woocommerce-paypal-payments/modules/ppcp-subscription/src/SubscriptionModule.php:230

    Stack trace: 0 /public_html/wp-includes/class-wp-hook.php(310): WooCommerce\PayPalCommerce\Subscription\SubscriptionModule->WooCommerce\PayPalCommerce\Subscription{closure}() 1 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 2 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 3 /public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/Edit.php(159): do_action() 4 /public_html/wp-content/plugins/woocommerce/src/Internal/Admin/Orders/PageController.php(295): Automattic\WooCommerce\Internal\Admin\Orders\Edit->setup() 5 /public_html/wp-includes/class-wp-hook.php(310): Automattic\WooCommerce\Internal\Admin\Orders\PageController->output() 6 /public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() 7 /public_html/wp-includes/plugin.php(517): WP_Hook->do_action() 8 /public_html/wp-admin/admin.php(259): do_action() 9 {main}

    ? thrown

    I am using HPOS in exclusive mode (that is without having order details in postmeta anymore).

Viewing 14 replies - 1 through 14 (of 14 total)
  • Same issue. Also using HPOS. Confirmed that switching back to using wp_posts resolves it.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @dimitrisv and @koppit

    Thank you for reaching out to us. We have already a bug open for this situation and have asked our developers to look into this with urgency. You can indeed switch back to avoid this situation. We will try to get a package available for version 2.2.1, so that you can have the updated version working with HPOS while you can still edit your orders.

    Sorry for the inconvenience, we will try to come back to you as soon as we have any other options available for you.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Additionally: more information can be found here on GitHub: https://github.com/woocommerce/woocommerce-paypal-payments/issues/1628

    Thread Starter dimitrisv

    (@dimitrisv)

    Thank you Joost. In my case I switched back to 2.2.0. (going back to non-HPOS will add about 2million records in my postmeta and I am happy with the speed we enjoy due to HPOS).

    Please be so kind to post in this thread as soon as you release with the fix.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello,

    We just got a fix for this issue from our developers and created a package for you that you can download here:
    https://drive.google.com/uc?export=download&id=16GC-69a1JmA65HH0GIj4xOAQNL313hDP

    We think we will try to release this as soon as possible as version 2.2.2, but we are still discussion this. For now, you should be able to use this package as a temporary fix until we do a next release.

    Kind regards,
    Joost

    Thread Starter dimitrisv

    (@dimitrisv)

    You are unbelievable!

    Just installed it, it is looking good! ??

    Thank you so much!

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @dimitrisv

    That is great to hear! We are working on setting up a quick release for 2.2.2, but we are not sure about when that will happen. I will mark this thread as resolved, since we seem to understand what is causing it and how to fix it.

    Thanks again for confirming the fix.

    Kind regards,
    Joost

    Thread Starter dimitrisv

    (@dimitrisv)

    I am affraid the issue was not solved completely.

    [Thu Aug 31 15:15:41.170453 2023] [proxy_fcgi:error] [pid 18742:tid 140601475438336] [client 157.55.39.215:0] AH01071: Got error ‘PHP message: PHP Warning: ?Undefined property: wpdb::$wc_orders in public_html/wp-includes/class-wpdb.php on line 789PHP message: WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE payment_method = ‘ppec_paypal” at line 1 for query SELECT 1 FROM ?WHERE payment_method = ‘ppec_paypal’ made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘plugins_loaded’), WP_Hook->do_action, WP_Hook->apply_filters, WooCommerce\\PayPalCommerce\\{closure}, WooCommerce\\PayPalCommerce\\init, {closure}, WooCommerce\\PayPalCommerce\\Compat\\CompatModule->run, WooCommerce\\PayPalCommerce\\Compat\\CompatModule->initialize_ppec_compat_layer, WooCommerce\\PayPalCommerce\\Compat\\PPEC\\SubscriptionsHandler->maybe_hook, WooCommerce\\PayPalCommerce\\Compat\\PPEC\\PPECHelper::use_ppec_compat_layer_for_subscriptions, WooCommerce\\PayPalCommerce\\Compat\\PPEC\\PPECHelper::site_has_ppec_subscriptions’

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @dimitrisv

    Sorry to hear that your site is still not behaving as you intended. I have forwarded the error to our team and asked them to investigate it further. I might come back later to request more details from you, since we have not received any other complaints about the fix so far.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @dimitrisv

    My team responded: Most likely this message is unrelated to the HPOS issue we resolved earlier. This is only a warning and shouldn’t cause any problems, but will investigate a bit deeper.

    When I get any other response, I will let you know.

    Kind regards,
    Joost

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @dimitrisv

    Our team has responded to me that this error is unrelated, so they have opened a new bug to look into this further. Hopefully I will have more details about this for you soon.

    Kind regards,
    Joost

    samuelibon

    (@samuelibon)

    Hola. ?Se pudo solucionar el problema que comentaba Dimitri? Acabo de pasar a HPOS y me salta el mismo warning:

    Undefined property: wpdb::$wc_orders in /public_html/wp-includes/class-wpdb.php on line 783

    Gracias.

    Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @samuelibon

    yes, that error is related to the issue that still remains. We have an open bug for this, and I will ask for the team to review and see what they can do for this. This is the only thread we have open at the moment reporting about this case, so it is not a very common issue. I will try to prioritize, but because of the scarce amount of reports, the priority might also be low.

    Kind regards,
    Joost

    samuelibon

    (@samuelibon)

    Muchas gracias por tu respuesta, Joost.

    Se me olvidó comentar que justamente he actualizado a php8.1.

    Gracias y quedo a la espera de que llegue la solución.

    Saludos.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Inability to edit my orders!’ is closed to new replies.