Thank you.
When I set the filter in the functions.php, the error is gone.
add_filter( ‘woocommerce_paypal_payments_simulate_cart_enabled’, ‘__return_false’ );
The link to the plugin is:
https://www.studiowombat.com/plugin/advanced-product-fields-for-woocommerce/
Can I leave the filter in for now?