• Resolved t.tousif

    (@ttousif)


    Got this error in server logs

    AH01071: Got error ‘PHP 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 activate_plugin, do_action(‘activate_woocommerce-paypal-payments/woocommerce-paypal-payments.php’), 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’

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Syde Joost

    (@joostvandevijver)

    Hello @ttousif,

    Thank you for reaching out to us, we are here to help.

    From the error log you’ve shared, it seems that the problem is related to the PayPal Checkout Gateway migration layer, specifically the PPEC (PayPal Express Checkout) Helper. This issue can be complex and may be caused by a conflict with another plugin.

    You may want to perform a full conflict test to rule out eventual issues with the theme or a different plugin. We recommend temporarily activating the?default theme Storefront?and disabling all other plugins except for WooCommerce and PayPal Payments to see if the behaviour persists. Here’s a guide that explains the steps in more detail:?How to test for conflicts

    The other alternative is to disable the PayPal Checkout Gateway migration layer. This can be done using a filter, which is detailed in our documentation here:?Disable PayPal Checkout Gateway Migration Layer (PPEC Helper). Please note, that if you are currently managing subscriptions from the previous integration with PayPal Express Checkout, disabling this layer might affect those subscriptions. Therefore, it’s important to verify whether your site is maintaining such subscriptions.

    If this all does not help you resolve this issue, let us know. If you need to share details that you rather not share on this public forum, you can also open a ticket with our service desk privately. You can find the instruction for this here: https://paypal.inpsyde.com/docs/request-support/
    (please add the URL of this thread in the ticket as well).

    Kind regards,
    Joost

    Plugin Support Syde Niklas

    (@niklasinpsyde)

    This error can be ignored and will be resolved in a future update. The only scenario under which it would be relevant is when the site contains old legacy PayPal Checkout subscriptions which highly likely will not be the case as this error usually only happens on new website setups and not with existing ones.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Error in server log’ is closed to new replies.