• Resolved gferguson78

    (@gferguson78)


    After upgrading to V2.9.1 I was hit with the following fatal error as soon as I tried to access an wp-admin pages:

    thrown CONTEXT: {"error":{"type":1,"file":"/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Inpsyde/Modularity/Package.php","line":701},"backtrace":[{"file":"/wp-content/plugins/woocommerce/includes/class-woocommerce.php","line":406,"function":"critical","class":"WC_Logger","type":"->"},{"function":"log_errors","class":"WooCommerce","type":"->"}]}

    I’ve reverted back to V2.9.0 and the error has gone.

    Please advise how this issue can be resolved. I saw another post that mentioned Modularity issues with Yith plugins but we aren’t running any Yith plugins on our site.

    Many thanks,
    Gordon

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @gferguson78

    Thanks for reaching out to us, we’re here to help.

    ?I saw another post that mentioned Modularity issues with Yith plugins but we aren’t running any Yith plugins on our site.

    Indeed, but it looks like another plugin might be conflicting with the recent modularity update.

    Please temporarily activate the default Storefront theme and disable all other plugins except for WooCommerce and PayPal Payments. Once you’ve done that, check to see if the behavior persists. Most likely you want face any issues again, then enable plugin 1 by 1 each time visiting admin pages to check which one is triggering this behaviour.

    Please let us know how this works out for you.

    Kind Regards,

    Krystian

    Thread Starter gferguson78

    (@gferguson78)

    The issue resolves itself when I disable the PayPal plugin or revert back to the previous version. Surely if there is a conflict then that is being caused by the PayPal plugin and not another plugin?

    Thread Starter gferguson78

    (@gferguson78)

    Quick update – I’m having to use this code snippet as the Pay Later messaging system for this plugin doesn’t work correctly:

    add_filter( 'woocommerce.feature-flags.woocommerce_paypal_payments.paylater_configurator_enabled', '__return_false' );

    It seems that when I disable this snippet it resolves the issue. Have only tested on my staging site for now – I’ll wait until you provide a fix for this before updating on live site.

    thilo72

    (@thilo72)

    I’m having the same issue without using that code snippet. The fatal error message that wordpress has emailed to me says: “Ein Fehler vom Typ E_ERROR wurde in der Zeile 244 der Datei /var/www/vhosts/fleurdekoer.de/httpdocs/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Inpsyde/Modularity/Package.php verursacht. Fehlermeldung: Uncaught TypeError: WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Package::addModule(): Argument #1 ($module) must be of type WooCommerce\PayPalCommerce\Vendor\Inpsyde\Modularity\Module\Module, YWSBS_WC_PayPal_Payments_Module given, called in /var/www/vhosts/fleurdekoer.de/httpdocs/wp-content/plugins/woocommerce-paypal-payments/bootstrap.php on line 37 and defined in /var/www/vhosts/fleurdekoer.de/httpdocs/wp-content/plugins/woocommerce-paypal-payments/lib/packages/Inpsyde/Modularity/Package.php:244”

    PS: There is another thread ongoing in parallel here about the exact same topic.

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @gferguson78

    Thank you for providing the details about the issue; they are very helpful.

    I’ve already reported the issue to the developers and will share more information as soon as I have it. I’ll keep this thread updated.

    Hello @thilo72

    As I mentioned here: link, please create your own thread, as the issue you’re experiencing has a different outcome. Thank you in advance.

    Kind regards,
    Krystian

    Plugin Support Krystian from Syde

    (@inpsydekrystian)

    Hello @gferguson78

    Since we have not received any further communication from you, we are assuming that your issue has been resolved.

    Therefore, we mark this thread as resolved. If you still have any questions or if a new problem arises, don’t hesitate to open a new thread.

    Kind regards,
    Krystian

    victorcalderon

    (@victorcalderon)

    The problem is related to Yith plugins but if you update first paypal the website stop working, first update yith plugins and then update paypal, if you did it wrong like me go to your hosting and rename the paypal folder, then access again to wordpress dashboard and update the yith plugins. Once you already updated all go back to your hosting and rename again the paypal plugin folder located at wp-conte/plugins/ to the original name

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