Fatal error – PayPal Payments – Woocommerce
-
Fatal error: Declaration of WCPBC_PayPal_Api_Client_Module::setup(): Interop\Container\ServiceProviderInterface must be compatible with WooCommerce\PayPalCommerce\ApiClient\ApiModule::setup(): WooCommerce\PayPalCommerce\Vendor\Interop\Container\ServiceProviderInterface in /home/customer/www/xxx/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries-xxx/includes/integrations/paypal-payments/class-wcpbc-paypal-api-client-module.php on line 28
-
I am getting the same error on my website. It crashes the site, I had to deactivate it. WordPress is updated to the latest version.
Here is the error message:PHP Fatal error: Declaration of WCPBC_PayPal_Api_Client_Module::setup(): Interop\Container\ServiceProviderInterface must be compatible with WooCommerce\PayPalCommerce\ApiClient\ApiModule::setup(): WooCommerce\PayPalCommerce\Vendor\Interop\Container\ServiceProviderInterface in /home/xxxx/domains/xxxxx.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/paypal-payments/class-wcpbc-paypal-api-client-module.php on line 28 Fatal error: Declaration of WCPBC_PayPal_Api_Client_Module::setup(): Interop\Container\ServiceProviderInterface must be compatible with WooCommerce\PayPalCommerce\ApiClient\ApiModule::setup(): WooCommerce\PayPalCommerce\Vendor\Interop\Container\ServiceProviderInterface in /home/xxxx/domains/xxxx.com/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/paypal-payments/class-wcpbc-paypal-api-client-module.php on line 28 Error: There has been a critical error on this website. Learn more about troubleshooting WordPress. There has been a critical error on this website.
- This reply was modified 2 years ago by monumentalseo.
Please update.
has it been fixed? I can’t afford for the site to go down again.
Fixed on version 2.2.8. You should test major updates on a staging site first.
We have updated to 2.2.8 and are still receiving the same error message reported in this thread.
Hi @gravitystack ,
We’ve tested version 2.2.8 with PayPal Payments 2.0 and did not get errors.
We also have feedback from users who confirm that version 2.2.8 has fixed the issue.
I confirm also,.. after update works.
Hmmm,
I’ve reinstalled 2.2.8 and confirm I’m running WooCommerce PayPal Payments 2.0.0.
I’m still getting the following fatal error:
PHP Fatal error: Declaration of WCPBC_PayPal_Api_Client_Module::setup(): Interop\Container\ServiceProviderInterface must be compatible with WooCommerce\PayPalCommerce\ApiClient\ApiModule::setup(): WooCommerce\PayPalCommerce\Vendor\Interop\Container\ServiceProviderInterface in /home/XXXX/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/paypal-payments/class-wcpbc-paypal-api-client-module.php on line 28
Hi @gravitystack
Could you share the WooCommerce System Report?Thanks.
@oscargare sure thing…
### WordPress Environment ### WordPress address (URL): https://www.caneva.ca Site address (URL): https://www.caneva.ca WC Version: 7.1.0 REST API Version: ? 7.1.0 WC Blocks Version: ? 8.7.5 Action Scheduler Version: ? 3.5.3 Log Directory Writable: ? WP Version: 6.1.1 WP Multisite: – WP Memory Limit: 512 MB WP Debug Mode: – WP Cron: – Language: en_US External object cache: – ### Server Environment ### Server Info: LiteSpeed PHP Version: 7.4.33 PHP Post Max Size: 512 MB PHP Time Limit: 600 PHP Max Input Vars: 3000 cURL Version: 7.86.0 OpenSSL/1.1.1s SUHOSIN Installed: – MySQL Version: 5.5.5-10.2.44-MariaDB-log-cll-lve Max Upload Size: 512 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 7.1.0 WC Database Prefix: yd451okc_ Total Database Size: 194.71MB Database Data Size: 129.18MB Database Index Size: 65.53MB yd451okc_woocommerce_sessions: Data: 0.77MB + Index: 0.01MB + Engine MyISAM yd451okc_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_order_items: Data: 0.41MB + Index: 0.30MB + Engine MyISAM yd451okc_woocommerce_order_itemmeta: Data: 3.19MB + Index: 2.19MB + Engine MyISAM yd451okc_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_actionscheduler_actions: Data: 0.80MB + Index: 0.36MB + Engine MyISAM yd451okc_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_actionscheduler_logs: Data: 0.61MB + Index: 0.43MB + Engine MyISAM yd451okc_cartflows_ca_cart_abandonment: Data: 1.31MB + Index: 0.10MB + Engine MyISAM yd451okc_cartflows_ca_email_history: Data: 0.01MB + Index: 0.01MB + Engine MyISAM yd451okc_cartflows_ca_email_templates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cartflows_ca_email_templates_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cff_facebook_feed_locator: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cff_feeds: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cff_feed_caches: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cff_sources: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_cleantalk_ac_log: Data: 0.10MB + Index: 0.06MB + Engine MyISAM yd451okc_cleantalk_no_cookie_data: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cleantalk_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cleantalk_sfw: Data: 0.22MB + Index: 0.40MB + Engine MyISAM yd451okc_cleantalk_sfw_logs: Data: 0.02MB + Index: 0.00MB + Engine MyISAM yd451okc_cleantalk_spamscan_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_cleantalk_ua_bl: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_commentmeta: Data: 0.15MB + Index: 0.12MB + Engine MyISAM yd451okc_comments: Data: 3.35MB + Index: 1.31MB + Engine MyISAM yd451okc_e_events: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_e_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_e_notes_users_relations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_e_submissions: Data: 0.05MB + Index: 0.08MB + Engine MyISAM yd451okc_e_submissions_actions_log: Data: 0.01MB + Index: 0.03MB + Engine MyISAM yd451okc_e_submissions_values: Data: 0.06MB + Index: 0.02MB + Engine MyISAM yd451okc_failed_jobs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_fsmpt_email_logs: Data: 8.95MB + Index: 0.01MB + Engine MyISAM yd451okc_fv_enteries: Data: 0.05MB + Index: 0.00MB + Engine MyISAM yd451okc_fv_entry_meta: Data: 0.15MB + Index: 0.02MB + Engine MyISAM yd451okc_fv_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_entry: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_entry_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_entry_notes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_form_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_gf_form_view: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_bans: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_itsec_dashboard_events: Data: 0.14MB + Index: 0.10MB + Engine MyISAM yd451okc_itsec_distributed_storage: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_fingerprints: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_geolocation_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_lockouts: Data: 0.04MB + Index: 0.01MB + Engine MyISAM yd451okc_itsec_logs: Data: 1.88MB + Index: 0.20MB + Engine MyISAM yd451okc_itsec_mutexes: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_opaque_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_temp: Data: 0.01MB + Index: 0.02MB + Engine MyISAM yd451okc_itsec_user_groups: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_webauthn_credentials: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_itsec_webauthn_users: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_mailchimp_carts: Data: 0.04MB + Index: 0.00MB + Engine MyISAM yd451okc_mailchimp_jobs: Data: 0.06MB + Index: 0.00MB + Engine MyISAM yd451okc_mainwp_stream: Data: 18.49MB + Index: 10.56MB + Engine MyISAM yd451okc_mainwp_stream_meta: Data: 44.13MB + Index: 36.88MB + Engine MyISAM yd451okc_mmp_geocoding_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yd451okc_mmp_layers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yd451okc_mmp_maps: Data: 0.06MB + Index: 0.00MB + Engine InnoDB yd451okc_mmp_markers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yd451okc_mmp_relationships: Data: 0.02MB + Index: 0.05MB + Engine InnoDB yd451okc_options: Data: 18.65MB + Index: 0.19MB + Engine MyISAM yd451okc_postmeta: Data: 17.06MB + Index: 7.20MB + Engine MyISAM yd451okc_posts: Data: 1.69MB + Index: 0.48MB + Engine MyISAM yd451okc_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_rank_math_404_logs: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_rank_math_analytics_gsc: Data: 1.37MB + Index: 0.99MB + Engine MyISAM yd451okc_rank_math_analytics_inspections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_rank_math_analytics_objects: Data: 0.02MB + Index: 0.02MB + Engine MyISAM yd451okc_rank_math_internal_links: Data: 0.02MB + Index: 0.01MB + Engine MyISAM yd451okc_rank_math_internal_meta: Data: 0.02MB + Index: 0.01MB + Engine MyISAM yd451okc_rank_math_redirections: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_rank_math_redirections_cache: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_rcp_customers: Data: 0.23MB + Index: 0.04MB + Engine MyISAM yd451okc_rcp_discounts: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_rcp_logs: Data: 0.02MB + Index: 0.01MB + Engine MyISAM yd451okc_rcp_membershipmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_rcp_memberships: Data: 0.35MB + Index: 0.10MB + Engine MyISAM yd451okc_rcp_membership_counts: Data: 0.25MB + Index: 0.08MB + Engine MyISAM yd451okc_rcp_payments: Data: 0.03MB + Index: 0.04MB + Engine MyISAM yd451okc_rcp_payment_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_rcp_queue: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_rcp_subscription_level_meta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_restrict_content_pro: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_shortpixel_folders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_shortpixel_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_shortpixel_postmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_shortpixel_queue: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_term_relationships: Data: 0.02MB + Index: 0.05MB + Engine MyISAM yd451okc_term_taxonomy: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_usermeta: Data: 3.18MB + Index: 1.91MB + Engine MyISAM yd451okc_users: Data: 0.19MB + Index: 0.17MB + Engine MyISAM yd451okc_wc_admin_notes: Data: 0.04MB + Index: 0.00MB + Engine MyISAM yd451okc_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM yd451okc_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wc_customer_lookup: Data: 0.14MB + Index: 0.12MB + Engine MyISAM yd451okc_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wc_order_coupon_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM yd451okc_wc_order_product_lookup: Data: 0.36MB + Index: 0.37MB + Engine MyISAM yd451okc_wc_order_stats: Data: 0.28MB + Index: 0.18MB + Engine MyISAM yd451okc_wc_order_tax_lookup: Data: 0.04MB + Index: 0.05MB + Engine MyISAM yd451okc_wc_product_attributes_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wc_product_download_directories: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_wc_product_meta_lookup: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_wc_rate_limits: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM yd451okc_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_woocommerce_exported_csv_items: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB yd451okc_wpmailsmtp_tasks_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wpr_rocket_cache: Data: 0.03MB + Index: 0.05MB + Engine MyISAM yd451okc_wpr_rucss_used_css: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wpvivid_options: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wpvivid_scan_result: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wpvivid_unused_uploads_files: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wt_iew_action_history: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wt_iew_cron: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wt_iew_ftp: Data: 0.00MB + Index: 0.00MB + Engine MyISAM yd451okc_wt_iew_mapping_template: Data: 0.00MB + Index: 0.00MB + Engine MyISAM ### Post Type Counts ### astra-advanced-hook: 3 attachment: 176 cp_popups: 1 elementor_library: 16 nav_menu_item: 16 oembed_cache: 1 page: 39 post: 190 product: 4 revision: 46 seedprod: 1 shop_bogof_rule: 2 shop_coupon: 113 shop_order: 3418 shop_order_refund: 113 sl-insta-account: 1 sl-insta-feed: 1 sl-insta-media: 100 wp_block: 3 wp_global_styles: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (49) ### Spotlight - Social Media Feeds (Premium): by RebelCode – 1.4 Astra Pro: by Brainstorm Force – 3.9.3 Elementor Blocks for Gutenberg: by Elementor.com – 1.1.0 PublishPress Capabilities: by PublishPress – 2.6.0 Anti-Spam by CleanTalk: by СleanTalk – 5.189.1 Coupon By Roles For WooCommerce: by zetamatic – 0.6 Smash Balloon Custom Facebook Feed: by Smash Balloon – 4.1.5 Custom Swatches for Iris Color Picker: by Iceberg Web Design – 1.0 Custom Adobe Fonts (Typekit): by Brainstorm Force – 1.0.18 Elementor Pro: by Elementor.com – 3.8.2 Elementor: by Elementor.com – 3.8.1 Envato Market: by Envato – 2.0.7 FluentSMTP: by FluentSMTP & WPManageNinja Team – 2.2.2 Form Vibes: by WPVibes – 1.4.7 GravityStack Tweaks: by GravityStack Marketing – 2.0.0 iThemes Security Pro: by iThemes – 7.2.3 Mailchimp for WooCommerce: by Mailchimp – 2.7.6 MainWP Child Reports: by MainWP – 2.0.8 MainWP Child: by MainWP – 4.3 Maps Marker Pro ?: by MapsMarker.com e.U. – 4.23 Nav Menu Roles: by Kathy Darling – 2.1.0 Ni WooCommerce Multi Currency Report: by anzia – 1.2.8 Order Export & Order Import for WooCommerce: by WebToffee – 2.2.9 Restrict Content Pro - Custom Redirects: by Sandhills Development LLC – 1.0.7 Restrict Content Pro - MailChimp Pro: by iThemes – 1.5.3 Restrict Content Pro: by Restrict Content Pro – 3.5.24 Rank Math SEO: by Rank Math – 1.0.102.1 ShortPixel Image Optimizer: by ShortPixel – 5.1.3 Spotlight - Social Media Feeds: by RebelCode – 1.4.1 Import Export WordPress Users and WooCommerce Customers: by WebToffee – 2.3.5 WC Duplicate Order: by Jamie Gill – 1.7 Wicked Folders: by Wicked Plugins – 2.18.16 Widget CSS Classes: by Jory Hogeveen – 1.5.4.1 Widget Options: by Widget Options Team – 3.8.9.1 WooCommerce Cart Abandonment Recovery: by CartFlows Inc – 1.2.20 Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.3 WooCommerce Buy One Get One Free: by Oscar Gare – 3.7.0 WooCommerce Customer/Order/Coupon Export: by SkyVerge – 5.3.5 Print Invoice & Delivery Notes for WooCommerce: by Tyche Softwares – 4.6.5 WooCommerce Dynamic Pricing: by Element Stark – 3.1.29 WP Menu Cart: by WP Overnight – 2.12.1 WooCommerce PayPal Payments: by WooCommerce – 2.0.0 WooCommerce Sales By Location Report: by ChuckMac Development – 1.3.2 Sequential Order Numbers for WooCommerce: by SkyVerge – 1.9.7 WooCommerce Table Rate Shipping: by Bolder Elements – 4.3.7 WooCommerce: by Automattic – 7.1.0 WP Rocket: by WP Media – 3.12.2.1 WPvivid Plugins Pro: by wpvivid.com – 2.2.11 WPvivid Backup Plugin: by WPvivid Team – 0.9.79 ### Inactive Plugins (1) ### WooCommerce Price Based on Country (Basic): by Oscar Gare – 2.2.8 ### Dropin Plugins (1) ### advanced-cache.php: advanced-cache.php ### Must Use Plugins (1) ### Health Check Troubleshooting Mode: by – 1.7.2 ### Settings ### API Enabled: – Force SSL: – Currency: CAD ($) Currency Position: left Thousand Separator: , Decimal Separator: . Number of Decimals: 2 Taxonomies: Product Types: external (external) grouped (grouped) simple (simple) variable (variable) Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog) exclude-from-search (exclude-from-search) featured (featured) outofstock (outofstock) rated-1 (rated-1) rated-2 (rated-2) rated-3 (rated-3) rated-4 (rated-4) rated-5 (rated-5) Connected to WooCommerce.com: ? Enforce Approved Product Download Directories: – ### WC Pages ### Shop base: #50 - /shop/ Cart: #51 - /cart/ Checkout: #52 - /checkout/ My account: #53 - /my-account/ Terms and conditions: #5472 - /legal-notices-terms-use/ ### Theme ### Name: Caneva Version: 1.0.0 Author URL: https://www.piggybankmarketing.com Child Theme: ? Parent Theme Name: Astra Parent Theme Version: 3.9.4 Parent Theme Author URL: https://wpastra.com/about/?utm_source=theme_preview&utm_medium=author_link&utm_campaign=astra_theme WooCommerce Support: ? ### Templates ### Overrides: – ### Buy One Get One Free ### Display eligible free gift(s) on: Disable coupons: no Custom attributes: no Rule #26021: title: "VetVine12"; type: "buy_a_get_b"; applies_to: " Product In list ( Pet Powder 15g EVA (#5499) ) "; action: "add_to_cart"; free_product_id: "5499"; gift_products: " Product In list ( Pet Powder 15g EVA (#5499) ) "; individual: "1"; min_quantity: "12"; free_quantity: "3"; discount: "100"; cart_limit: "3"; usage_limit_per_user: "1"; allowed_user_roles: "veterinarian; wholesaler"; exclude_other_rules: "1"; exclude_coupon_validation: "1"; coupon_codes: "vetvine12" Rule #26017: title: "VetVine6"; type: "buy_a_get_b"; applies_to: " Product In list ( Pet Powder 15g EVA (#5499) ) "; action: "add_to_cart"; free_product_id: "5499"; gift_products: " Product In list ( Pet Powder 15g EVA (#5499) ) "; individual: "1"; min_quantity: "6"; free_quantity: "1"; discount: "100"; cart_limit: "1"; usage_limit_per_user: "1"; allowed_user_roles: "customer; not-logged-in"; exclude_other_rules: "1"; exclude_coupon_validation: "1"; coupon_codes: "vetvine6" ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: CA WooCommerce currency supported: ? Advanced Card Processing available in country: ? Pay Later messaging available in country: – Webhook status: ? Vault enabled: ? Logging enabled: – Reference Transactions: – Used PayPal Checkout plugin: ? Tracking enabled: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products shipping-smart-defaults shipping-setting-tour homescreen marketing multichannel-marketing mobile-app-banner navigation onboarding onboarding-tasks remote-inbox-notifications remote-free-extensions payment-gateway-suggestions shipping-label-banner subscriptions store-alerts transient-notices woo-mobile-welcome wc-pay-promotion wc-pay-welcome-page Disabled Features: minified-js new-product-management-experience settings Daily Cron: ? Next scheduled: 2022-11-24 01:57:15 -05:00 Options: ? Notes: 110 Onboarding: completed ### WooCommerce Customer/Order/Coupon Export ### Automated exports: 2 Custom formats: 1 Next export: Not scheduled ### Action Scheduler ### Canceled: 2 Oldest: 2022-11-17 16:30:47 -0500 Newest: 2022-11-17 16:30:50 -0500 Complete: 1,081 Oldest: 2022-11-23 08:32:06 -0500 Newest: 2022-11-23 09:20:10 -0500 Failed: 717 Oldest: 2019-12-08 10:21:18 -0500 Newest: 2022-11-22 10:50:43 -0500 Pending: 6 Oldest: 2022-11-23 21:42:03 -0500 Newest: 2022-11-28 10:22:04 -0500 ### Status report information ### Generated at: 2022-11-23 09:23:06 -05:00
@oscargare I posted the system report but my comment is now in moderation. Is there a better way for me to send it to you?
Thanks,
Scott
Thanks @gravitystack
Try version 2.2.9. This version should work for you too.
I got this exact error updating to 2.2.9.
How am I suppose to update if it’s causing the error?
and yes my woocommerce paypal payments is on Version 2.0.0this is the error message:
An error of type E_COMPILE_ERROR was caused in line 28 of the file /home/mttwoodc/public_html/wp-content/plugins/woocommerce-product-price-based-on-countries/includes/integrations/paypal-payments/class-wcpbc-paypal-api-client-module.php. Error message: Declaration of WCPBC_PayPal_Api_Client_Module::setup(): Interop\Container\ServiceProviderInterface must be compatible with WooCommerce\PayPalCommerce\ApiClient\ApiModule::setup(): WooCommerce\PayPalCommerce\Vendor\Interop\Container\ServiceProviderInterface
- This reply was modified 1 year, 12 months ago by mttindustries.
Hi @mttindustries-1
You can update the plugin even if it is disabled.
Disable it, update to the latest version and activate it again.Also, you can revert to the previous version of PayPal Payments by restoring a backup, updating the Price Based on Country to version 2.2.9, and then updating PayPal payments to version 2.0.
- The topic ‘Fatal error – PayPal Payments – Woocommerce’ is closed to new replies.