• Resolved psicoacademy

    (@psicoacademy)


    Hello,
    I was trying to edit a page in the SiteOrigin editor.
    After clicking on Update in Publish section i got this error:

    Fatal error: Uncaught TypeError: Argument 1 passed to WCPay\Fraud_Prevention\Fraud_Prevention_Service::__construct() must be an instance of WC_Session, null given, called in /home/customer/www/psicogonia.org/public_html/wp-content/plugins/woocommerce-payments/includes/fraud-prevention/class-fraud-prevention-service.php on line 61 and defined in /home/customer/www/psicogonia.org/public_html/wp-content/plugins/woocommerce-payments/includes/fraud-prevention/class-fraud-prevention-service.php:47 Stack trace: #0 /home/customer/www/psicogonia.org/public_html/wp-content/plugins/woocommerce-payments/includes/fraud-prevention/class-fraud-prevention-service.php(61): WCPay\Fraud_Prevention\Fraud_Prevention_Service->__construct(NULL, Object(WCPay\Payment_Methods\CC_Payment_Gateway)) #1 /home/customer/www/psicogonia.org/public_html/wp-content/plugins/woocommerce-payments/includes/class-wc-payments-blocks-payment-method.php(117): WCPay\Fraud_Prevention\Fraud_Prevention_Service::get_instance() #2 /home/customer/www/psicogonia.org/public in /home/customer/www/psicogonia.org/public_html/wp-content/plugins/woocommerce-payments/includes/fraud-prevention/class-fraud-prevention-service.php on line 47

    Can anyone help?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi i have a similar error in my site. When The plugin is ACTIVE and I was trying to edit a page the site send me an error and is not possible to edit a page in background and in visual builder (I use a BETHEME). Disable the plugin all work fine.

    I am also getting this error. I tested across a myriad of themes and php configurations this appears to be directly associated with the plugins recent update. I am going to roll back until this is resolved.

    Same error when trying to edit posts. When I reverted the plugin to older version it started working again

    Same error when trying to edit posts.
    Downgrading to an older version helped.

    Saif

    (@babylon1999)

    Hello @psicoacademy,

    This is a report bug, it should be fixed now in version 5.1.2. Can you please try updating the plugin to the latest version to confirm?

    Let us know if you’re still seeing the error.

    CC: @drypek , @ranmma, @althe3rd, @ermannonardelli

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Error while editing a page’ is closed to new replies.