Title: Error while editing a page
Last modified: December 1, 2022

---

# Error while editing a page

 *  [psicoacademy](https://wordpress.org/support/users/psicoacademy/)
 * (@psicoacademy)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-while-editing-a-page/)
 * 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 2 replies - 1 through 2 (of 2 total)

 *  [lisa](https://wordpress.org/support/users/contentiskey/)
 * (@contentiskey)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-while-editing-a-page/#post-16252187)
 * The error messages seem to be related to a plugin.
    Use the plugin’s specific
   forum to ask for guidance from the team that is most familiar. [https://wordpress.org/support/plugin/woocommerce-payments/](https://wordpress.org/support/plugin/woocommerce-payments/)
 * If you need assistance with Site Origin use this link:
    [https://siteorigin.com/page-builder/](https://siteorigin.com/page-builder/)
    -  This reply was modified 3 years, 6 months ago by [lisa](https://wordpress.org/support/users/contentiskey/).
 *  Thread Starter [psicoacademy](https://wordpress.org/support/users/psicoacademy/)
 * (@psicoacademy)
 * [3 years, 6 months ago](https://wordpress.org/support/topic/error-while-editing-a-page/#post-16252923)
 * Done, thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Error while editing a page’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [psicoacademy](https://wordpress.org/support/users/psicoacademy/)
 * Last activity: [3 years, 6 months ago](https://wordpress.org/support/topic/error-while-editing-a-page/#post-16252923)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
