Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Declaration of Dhii\Container\ProxyContainer::has($key) must be compatible with Psr\Container\ContainerInterface::has(string $id) #865

Closed
4 of 5 tasks
nishantsworld opened this issue Sep 21, 2022 · 6 comments

Comments

@nishantsworld
Copy link

Prerequisites

  • I have carried out troubleshooting steps and I believe I have found a bug.
  • I have searched for similar bugs in both open and closed issues and cannot find a duplicate.

Describe the bug

Current installed version: 6.8.2
Attempted update to: 6.9.0 (on 14th) as well as to 6.9.1 (today)
Site breaks
Fatal error in debug.log file - Declaration of Dhii\Container\ProxyContainer::has($key) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool in /home/customer/www/therawadvantage.com/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/ProxyContainer.php on line 50

Expected behavior

Site should continue working normally after Woocommerce update

Actual behavior

Site breaks with a Fatal error saying...
There has been a critical error on this website. Please check your site admin email inbox for instructions.

On the email, apart from the usual, it says...
Howdy! Since WordPress 5.2 there is a built-in feature that detects when a plugin or theme causes a fatal error on your site, and notifies you with this automated email. In this case, WordPress caught an error with one of your plugins, WooCommerce PayPal Payments. First, visit your website (https://therawadvantage.com/) and check for any visible issues. Next, visit the page where the error was caught (https://therawadvantage.com/wp-admin/) and check for any visible issues. Please contact your host for assistance with investigating this issue further. If your site appears broken and you can't access your dashboard normally, WordPress now has a special "recovery mode". This lets you safely login to your dashboard and investigate further. <> To keep your site safe, this link will expire in 1 day. Don't worry about that, though: a new link will be emailed to you if the error occurs again after it expires. When seeking help with this issue, you may be asked for some of the following information: WordPress version 6.0.2 Active theme: Raw Advantage (version 1.0.2) Current plugin: WooCommerce PayPal Payments (version 1.9.3) PHP version 8.1.10 Error Details ============= An error of type E_COMPILE_ERROR was caused in line 50 of the file /home/customer/www/therawadvantage.com/public_html/wp-content/plugins/woocommerce-paypal-payments/vendor/dhii/containers/src/ProxyContainer.php. Error message: Declaration of Dhii\Container\ProxyContainer::has($key) must be compatible with Psr\Container\ContainerInterface::has(string $id): bool

Steps to reproduce

  1. Update Woocommerce to latest

Site breaks and shows the White Screen of Death

WordPress Environment

`

WordPress Environment

WordPress address (URL): https://therawadvantage.com
Site address (URL): https://therawadvantage.com
WC Version: 6.8.2
REST API Version: ✔ 6.8.2
WC Blocks Version: ✔ 8.0.0
Action Scheduler Version: ✔ 3.5.0
Log Directory Writable: ✔
WP Version: 6.0.2
WP Multisite: –
WP Memory Limit: 1 GB
WP Debug Mode: ✔
WP Cron: –
Language: en_US
External object cache: ✔

Server Environment

Server Info: Apache
PHP Version: 8.1.10
PHP Post Max Size: 256 MB
PHP Time Limit: 300
PHP Max Input Vars: 3000
cURL Version: 7.66.0
OpenSSL/1.1.1q-fips

SUHOSIN Installed: –
MySQL Version: 5.7.39-42-log
Max Upload Size: 256 MB
Default Timezone is UTC: ✔
fsockopen/cURL: ✔
SoapClient: ✔
DOMDocument: ✔
GZip: ✔
Multibyte String: ✔
Remote Post: ✔
Remote Get: ✔

Database

WC Database Version: 6.8.2
WC Database Prefix: ayq_
Total Database Size: 447.11MB
Database Data Size: 325.33MB
Database Index Size: 121.78MB
ayq_woocommerce_sessions: Data: 18.31MB + Index: 0.74MB + Engine MyISAM
ayq_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
ayq_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
ayq_woocommerce_downloadable_product_permissions: Data: 0.46MB + Index: 0.47MB + Engine MyISAM
ayq_woocommerce_order_items: Data: 0.62MB + Index: 0.37MB + Engine MyISAM
ayq_woocommerce_order_itemmeta: Data: 7.59MB + Index: 2.93MB + Engine MyISAM
ayq_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
ayq_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
ayq_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
ayq_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_actionscheduler_actions: Data: 3.45MB + Index: 5.98MB + Engine InnoDB
ayq_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_actionscheduler_logs: Data: 2.52MB + Index: 1.97MB + Engine InnoDB
ayq_affiliate_wp_affiliatemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_affiliate_wp_affiliates: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_campaigns: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_affiliate_wp_coupons: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_creatives: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_customermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_affiliate_wp_customers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_affiliate_wp_direct_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_affiliate_wp_lifetime_customers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_notifications: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_payouts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_affiliate_wp_referralmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_affiliate_wp_referrals: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_rest_consumers: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_sales: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_affiliate_wp_visits: Data: 0.17MB + Index: 0.05MB + Engine InnoDB
ayq_alm: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_commentmeta: Data: 0.28MB + Index: 0.10MB + Engine MyISAM
ayq_comments: Data: 3.55MB + Index: 1.42MB + Engine MyISAM
ayq_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_gf_draft_submissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_gf_entry: Data: 2.69MB + Index: 0.25MB + Engine MyISAM
ayq_gf_entry_meta: Data: 7.92MB + Index: 3.18MB + Engine MyISAM
ayq_gf_entry_notes: Data: 0.83MB + Index: 0.21MB + Engine MyISAM
ayq_gf_form: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_gf_form_meta: Data: 0.21MB + Index: 0.00MB + Engine MyISAM
ayq_gf_form_revisions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_gf_form_view: Data: 0.98MB + Index: 0.43MB + Engine MyISAM
ayq_gh_activity: Data: 2.52MB + Index: 5.86MB + Engine InnoDB
ayq_gh_activitymeta: Data: 0.28MB + Index: 0.27MB + Engine InnoDB
ayq_gh_aws_blacklist: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_gh_aws_email_queue: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
ayq_gh_broadcastmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_gh_broadcasts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_gh_campaigns: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_gh_contactmeta: Data: 14.52MB + Index: 17.03MB + Engine InnoDB
ayq_gh_contacts: Data: 1.52MB + Index: 1.56MB + Engine InnoDB
ayq_gh_emailmeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
ayq_gh_emails: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
ayq_gh_email_log: Data: 98.02MB + Index: 0.23MB + Engine InnoDB
ayq_gh_events: Data: 7.52MB + Index: 21.64MB + Engine InnoDB
ayq_gh_events_new: Data: 0.02MB + Index: 0.14MB + Engine InnoDB
ayq_gh_event_queue: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
ayq_gh_form_impressions: Data: 0.17MB + Index: 0.38MB + Engine InnoDB
ayq_gh_funnelmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_gh_funnels: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_gh_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_gh_ls_levels: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_gh_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_gh_object_relationships: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_gh_other_activity: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_gh_other_activitymeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_gh_page_visits: Data: 1.52MB + Index: 1.34MB + Engine InnoDB
ayq_gh_permissions_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_gh_rulemeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_gh_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_gh_stepmeta: Data: 0.14MB + Index: 0.09MB + Engine InnoDB
ayq_gh_steps: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
ayq_gh_submissionmeta: Data: 0.14MB + Index: 0.16MB + Engine InnoDB
ayq_gh_submissions: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
ayq_gh_superlinks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_gh_tags: Data: 0.11MB + Index: 0.06MB + Engine InnoDB
ayq_gh_tag_relationships: Data: 2.52MB + Index: 4.03MB + Engine InnoDB
ayq_gh_tag_relationships_backup: Data: 0.22MB + Index: 0.28MB + Engine InnoDB
ayq_gh_wooc_tracking: Data: 0.06MB + Index: 0.08MB + Engine InnoDB
ayq_ifso_bulks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_ifso_bulks_content: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_ifso_daily_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_ifso_local_user: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_mclean_refs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_options: Data: 7.52MB + Index: 0.42MB + Engine InnoDB
ayq_pmxe_exports: Data: 0.22MB + Index: 0.00MB + Engine InnoDB
ayq_pmxe_google_cats: Data: 0.39MB + Index: 0.00MB + Engine InnoDB
ayq_pmxe_posts: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
ayq_pmxe_templates: Data: 0.11MB + Index: 0.00MB + Engine InnoDB
ayq_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_pmxi_hash: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
ayq_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_pmxi_images: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
ayq_pmxi_imports: Data: 0.50MB + Index: 0.00MB + Engine InnoDB
ayq_pmxi_posts: Data: 0.25MB + Index: 0.00MB + Engine InnoDB
ayq_pmxi_templates: Data: 0.30MB + Index: 0.00MB + Engine InnoDB
ayq_popupallypro_stats_log: Data: 0.00MB + Index: 0.02MB + Engine MyISAM
ayq_postmeta: Data: 47.97MB + Index: 15.16MB + Engine MyISAM
ayq_posts: Data: 38.26MB + Index: 1.54MB + Engine MyISAM
ayq_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_rank_math_analytics_ga: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_rank_math_analytics_gsc: Data: 2.52MB + Index: 4.81MB + Engine InnoDB
ayq_rank_math_analytics_inspections: Data: 2.52MB + Index: 0.23MB + Engine InnoDB
ayq_rank_math_analytics_keyword_manager: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
ayq_rank_math_analytics_objects: Data: 0.22MB + Index: 0.08MB + Engine InnoDB
ayq_rank_math_internal_links: Data: 0.42MB + Index: 0.17MB + Engine InnoDB
ayq_rank_math_internal_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
ayq_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_redirection_404: Data: 10.52MB + Index: 4.53MB + Engine InnoDB
ayq_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_redirection_items: Data: 0.09MB + Index: 0.09MB + Engine InnoDB
ayq_redirection_logs: Data: 2.52MB + Index: 0.34MB + Engine InnoDB
ayq_snippets: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
ayq_termmeta: Data: 0.04MB + Index: 0.04MB + Engine MyISAM
ayq_terms: Data: 0.24MB + Index: 0.33MB + Engine MyISAM
ayq_term_relationships: Data: 0.56MB + Index: 1.19MB + Engine MyISAM
ayq_term_taxonomy: Data: 0.20MB + Index: 0.19MB + Engine MyISAM
ayq_trackship_shipment: Data: 0.02MB + Index: 0.13MB + Engine InnoDB
ayq_trackship_shipment_meta: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
ayq_trackship_shipping_provider: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
ayq_usermeta: Data: 6.56MB + Index: 4.69MB + Engine MyISAM
ayq_users: Data: 0.56MB + Index: 0.45MB + Engine MyISAM
ayq_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
ayq_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
ayq_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wc_customer_lookup: Data: 0.41MB + Index: 0.33MB + Engine InnoDB
ayq_wc_download_log: Data: 0.19MB + Index: 0.17MB + Engine MyISAM
ayq_wc_order_bundle_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
ayq_wc_order_coupon_lookup: Data: 0.08MB + Index: 0.11MB + Engine InnoDB
ayq_wc_order_product_lookup: Data: 1.52MB + Index: 0.67MB + Engine InnoDB
ayq_wc_order_stats: Data: 1.52MB + Index: 0.67MB + Engine InnoDB
ayq_wc_order_tax_lookup: Data: 0.33MB + Index: 0.30MB + Engine InnoDB
ayq_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_wc_product_meta_lookup: Data: 0.02MB + Index: 0.04MB + Engine MyISAM
ayq_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
ayq_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
ayq_woocommerce_bundled_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
ayq_woocommerce_bundled_items: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_woocommerce_prl_deploymentmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
ayq_woocommerce_prl_deployments: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
ayq_woocommerce_prl_frequencies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_woocommerce_prl_tracking_clicks: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
ayq_woocommerce_prl_tracking_conversions: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
ayq_woocommerce_prl_tracking_views: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_woocommerce_recommendations: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
ayq_woocommerce_session_activity: Data: 2.52MB + Index: 0.00MB + Engine InnoDB
ayq_woo_shippment_provider: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
ayq_wpbe_history: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
ayq_wpbe_history_bulk: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_wpda_csv_uploads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wpda_logging: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wpda_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wpda_menus: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wpda_project: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_wpda_project_page: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_wpda_project_table: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wpda_publisher: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_wpda_table_design: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wpda_table_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
ayq_wprm_analytics: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_wprm_ratings: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
ayq_wprm_shopping_list: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
ayq_yoast_indexable: Data: 6.52MB + Index: 7.05MB + Engine InnoDB
ayq_yoast_indexable_hierarchy: Data: 0.44MB + Index: 0.58MB + Engine InnoDB
ayq_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
ayq_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
ayq_yoast_seo_links: Data: 3.52MB + Index: 4.03MB + Engine InnoDB
ayq_yoast_seo_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
ayq_zorem_email_sms_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
CustomerFirstOrder: Data: 0.00MB + Index: 0.00MB + Engine
CustomerFirstOrderbyProduct: Data: 0.00MB + Index: 0.00MB + Engine
emailgen_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
EventsView: Data: 0.00MB + Index: 0.00MB + Engine
GHEmailGenerator1_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
growmatic_20220623: Data: 0.31MB + Index: 0.00MB + Engine InnoDB
Opens_gift_corn_avo_distinct: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
opens_gift__corn_avo_nonopeners: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
posts2update: Data: 0.00MB + Index: 0.00MB + Engine
posts2update2: Data: 0.23MB + Index: 0.00MB + Engine InnoDB
Rec-Kwd-Pas-TagID-Table: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
RecipesAndKeywordsView: Data: 0.00MB + Index: 0.00MB + Engine
RecipesAndParentPostsView: Data: 0.00MB + Index: 0.00MB + Engine
VariationsCustomers: Data: 0.16MB + Index: 0.00MB + Engine InnoDB
variationtags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
Video_Iframes: Data: 0.09MB + Index: 0.00MB + Engine InnoDB

Post Type Counts

acf-field-group: 1
attachment: 4497
avada_faq: 11
custom_css: 5
customize_changeset: 1
et_body_layout: 1
et_footer_layout: 1
et_pb_layout: 32
et_template: 2
fl-builder-template: 2
grid: 1
ifso_triggers: 4
jetpack_migration: 2
jp_img_sitemap: 2
jp_img_sitemap_index: 1
jp_sitemap: 1
jp_sitemap_master: 1
layout: 21
nav_menu_item: 131
oembed_cache: 57
page: 72
post: 1112
prl_engine: 9
product: 106
product_variation: 226
pwbe_filter: 17
rank_math_schema: 1
revision: 3959
safecss: 1
shop_coupon: 744
shop_order: 6359
shop_order_refund: 27
sp_wcslider: 1
sp_wp_carousel: 1
wpcode: 4
wpes_setting: 1
wprm_recipe: 401
wpupg_grid: 7
yay-currency-manage: 5
yaymail_template: 26

Security

Secure connection (HTTPS): ✔
Hide errors from visitors: ✔

Active Plugins (73)

Advanced Custom Fields: by Delicious Brains – 5.12.3
Advanced Database Cleaner PRO: by Younes JFR. – 3.2.1
AffiliateWP - Lifetime Commissions: by Sandhills Development
LLC – 1.6.1

AffiliateWP - PayPal Payouts: by Pippin Williamson and Andrew Munro – 1.4
AffiliateWP: by AffiliateWP – 2.9.6.1
AffiliateWP - Affiliate Product Rates: by Sandhills Development
LLC – 1.2

AffiliateWP - Allow Own Referrals: by Sandhills Development
LLC – 1.2

AffiliateWP - Direct Link Tracking: by Sandhills Development
LLC – 1.3

Ajax Load More: by Darren Cooney – 5.5.4.1
Better Search Replace: by Delicious Brains – 1.4.1
Code Snippets: by Code Snippets Pro – 3.2.0
Colorlib Login Customizer: by Colorlib – 1.3.1
Comment Link Remove: by QuantumCloud – 2.2.4
Custom Related Posts: by Bootstrapped Ventures – 1.7.0
Divi Product Carousel: by DiviGear – 2.0.2
Potent Donations for WooCommerce: by Aspen Grove Studios – 1.1.7
Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5
Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.9.0
Groundhogg - Advanced Email Preferences: by Groundhogg Inc. – 1.0.8
Groundhogg - AWS: by Groundhogg Inc. – 2.6.8
Groundhogg - Birthdays: by Groundhogg Inc. – 2.0.3
Groundhogg - Content Restriction: by Groundhogg Inc. – 2.1.2.1
Groundhogg - Divi Integration: by Groundhogg Inc. – 2.0.6
Groundhogg - Elastic Email: by Groundhogg Inc. – 1.2.1
Groundhogg - Form Styling: by Groundhogg Inc. – 2.0.1
Groundhogg - Helper: by Groundhogg Inc. – 3.0
Groundhogg - Lead Scoring: by Groundhogg Inc. – 3.0.4
Groundhogg - Conditional Funnel Logic: by Groundhogg Inc. – 2.1.1
Groundhogg - Advanced Features: by Groundhogg Inc. – 2.5.1
Groundhogg - SMTP: by Groundhogg Inc. – 2.1
Groundhogg - WooCommerce Integration: by Groundhogg Inc. – 2.4.4
Groundhogg - ZeroBounce: by Groundhogg Inc. – 2.0.1
Groundhogg: by Groundhogg Inc. – 2.7.4.2
Health Check & Troubleshooting: by The WordPress.org community – 1.5.0
If-So: by If So Plugin – 1.5.8
If-So Bulks: by If So Plugin – 1.6
WP All Import - Rank Math SEO Add-On: by WP All Import – 1.1
WPCode - Insert Headers, Footers, and Code Snippets: by WPCode – 2.0.2
Cookie and Consent Solution for the GDPR & ePrivacy: by iubenda – 3.2.3
Growmatik - Marketing Automation and Personalization: by Artbees – 2.4.0
Media Cleaner: by Jordy Meow – 6.4.5
PopupAlly Pro: by AccessAlly – 3.2.2
PW WooCommerce Bulk Edit Pro: by Pimwick
LLC – 2.335

Rank Math SEO PRO: by Rank Math – 3.0.20
Rank Math SEO: by Rank Math – 1.0.97
SiteGround Optimizer: by SiteGround – 7.2.1
Sticky Menu (or Anything!) on Scroll: by WebFactory Ltd – 2.31
TrackShip for WooCommerce: by TrackShip – 1.4.4
Advanced Shipment Tracking for WooCommerce: by zorem – 3.4.7
Category Slider for WooCommerce: by ShapedPlugin – 1.4.10
Advanced Order Export For WooCommerce: by AlgolPlus – 3.3.2
WooCommerce Stripe Gateway: by WooCommerce – 6.7.0
WooCommerce PayPal Payments: by WooCommerce – 1.9.3
WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 3.1.0
WooCommerce Product Bundles: by WooCommerce – 6.16.1 (update to version 6.17.0 is available)
WooCommerce Product Recommendations: by WooCommerce – 2.1.1
WooCommerce Recommendation Engine: by Element Stark – 3.2.9
WooCommerce USPS Shipping: by WooCommerce – 4.5.1
WooCommerce Smart Coupons: by StoreApps – 6.1.0 (update to version 6.1.1 is available)
WooCommerce: by Automattic – 6.8.2 (update to version 6.9.3 is available)
WP All Export Pro: by Soflyy – 1.8.0
WP All Import Pro: by Soflyy – 4.7.6
WP Extended Search: by 5um17 – 2.1.1
WP File Manager: by mndpsingh287 – 7.1.6
WP Recipe Maker Premium: by Bootstrapped Ventures – 8.5.0
WP Recipe Maker: by Bootstrapped Ventures – 8.5.0
WP Tools Divi Product Carousel: by WP Tools – 1.5.0
WP Ultimate Post Grid Premium: by Bootstrapped Ventures – 3.8.0
WP Ultimate Post Grid: by Bootstrapped Ventures – 3.8.0
YayMail Addon for Conditional Logic: by YayCommerce – 1.9
YayMail Addon for WooCommerce Smart Coupons: by YayCommerce – 1.4
YayMail Addon for TrackShip for WooCommerce: by YayCommerce – 1.2
YayMail Pro - WooCommerce Email Customizer: by YayCommerce – 3.0.5

Inactive Plugins (18)

Classic Editor: by WordPress Contributors – 1.6.2
Debug Bar: by wordpressdotorg – 1.1.3
Gravity Forms: by rocketgenius – 2.4.17
Migrate Guru: by Migrate Guru – 4.78
Minimal Coming Soon & Maintenance Mode: by WebFactory Ltd – 2.35
Photoswipe Masonry: by Web Design Gold Coast – 1.2.18
Query Monitor: by John Blackbourn – 3.10.1
Redirection: by John Godley – 5.3.4
WOLF - WordPress Posts Bulk Editor and Manager Professional: by realmag777 – 1.0.6
WP All Export - ACF Export Add-On Pro: by Soflyy – 1.0.4
WP All Export - User Export Add-On Pro: by Soflyy – 1.0.7
WP All Export - WooCommerce Export Add-On Pro: by Soflyy – 1.0.5
WP All Import - User Import Add-On Pro: by Soflyy – 1.1.7
WP All Import - WooCommerce Import Add-On Pro: by Soflyy – 3.3.3
WP Data Access: by Passionate Programmers B.V. – 5.2.5
WP Debugging: by Andy Fragen – 2.11.14
YayCurrency Pro: by YayCommerce – 1.8.2
Yoast SEO: by Team Yoast – 19.7.1

Dropin Plugins (1)

object-cache.php: Memcached

Must Use Plugins (1)

Health Check Troubleshooting Mode: by – 1.7.2

Settings

API Enabled: ✔
Force SSL: –
Currency: USD ($)
Currency Position: left
Thousand Separator: ,
Decimal Separator: .
Number of Decimals: 2
Taxonomies: Product Types: bundle (bundle)
donation (donation)
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: woocommerce/woocommerce#53 - /shop/
Cart: woocommerce/woocommerce#54 - /cart/
Checkout: woocommerce/woocommerce#55 - /checkout/
My account: woocommerce/woocommerce#3018 - /my-account/
Terms and conditions: woocommerce/woocommerce#23571 - /terms/

Theme

Name: Raw Advantage
Version: 1.0.2
Author URL: https://greenpow.studio
Child Theme: ✔
Parent Theme Name: Extra
Parent Theme Version: 4.18.0
Parent Theme Author URL: http://www.elegantthemes.com
WooCommerce Support: ✔

Templates

Overrides: –

Pimwick Plugins

PW WooCommerce Bulk Edit Pro: License key: PW-5ea341706c984
Result: success
Cached: 2022-09-21

Product Bundles

Database Version: 6.16.1
Loopback Test: ✔
Template Overrides: –

WooCommerce PayPal Payments

Onboarded: ✔
Shop country code: US
WooCommerce currency supported: ✔
PayPal 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
experimental-product-tour
shipping-smart-defaults
shipping-setting-tour
homescreen
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
wc-pay-promotion
wc-pay-welcome-page
wc-pay-subscriptions-page

Disabled Features: minified-js
settings

Daily Cron: ✔ Next scheduled: 2022-09-21 11:57:25 +00:00
Options: ✔
Notes: 105
Onboarding: completed

Action Scheduler

Canceled: 7
Oldest: 2022-08-22 06:34:48 +0000
Newest: 2022-08-29 19:35:54 +0000

Complete: 9,292
Oldest: 2022-08-28 12:27:53 +0000
Newest: 2022-09-21 06:41:16 +0000

Failed: 2
Oldest: –
Newest: –

Pending: 8
Oldest: 2022-09-21 09:20:16 +0000
Newest: 2022-10-02 06:34:44 +0000

Product Recommendations

Database Version: 2.1.1
Loopback Test: ✔
Task Queueing Test: ✔
Page Cache Test: No cache detected

Smart Coupons related settings

Number of coupons to show: 5
Number of characters in auto-generated coupon code:
Valid order status for auto-generating coupon: processing
completed

Include tax in the amount of the generated gift card: yes
Deduct credit/gift before doing tax calculations: no
Gift Card discount is inclusive of tax: no
Automatic deletion: no
Coupon emails: yes
Printing coupons: yes
Sell gift cards at less price?: no
Use gift card applied in first subscription order for subsequent renewals until credit reaches zero: yes
Renewal orders should not generate coupons even when they include a product that issues coupons: no
Allow sending of coupons to others: yes
Allow schedule sending of coupons?: yes
Combine emails: yes
Auto generated coupon email: yes
Combined auto generated coupons email: yes
Acknowledgement email: yes
Enable taxes: yes
Prices entered with tax: no
Rounding: no
Display prices in the shop: incl
Display prices during cart and checkout: incl
Display tax totals: single
Enable the use of coupon codes: yes
Calculate coupon discounts sequentially: yes
Account endpoints > Coupons: wc-smart-coupons

Status report information

Generated at: 2022-09-21 09:20:41 +00:00
`

Isolating the problem

  • I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
  • This bug happens with a default WordPress theme active, or Storefront.
  • I can reproduce this bug consistently using the steps above.
@jonathansadowski
Copy link

Hi @nishantsworld

Thank you for reporting the issue. PayPal Payments is being developed in another repository: https://github.com/woocommerce/woocommerce-paypal-payments.

I am going to move your bug report there so that the right team could take a look further.

@roykho roykho transferred this issue from woocommerce/woocommerce Sep 27, 2022
@nishantsworld
Copy link
Author

@jonathansadowski thank you for moving it to the right repo. However, the reason i had posted it in the woocommerce/woocommerce repo was because the issue began when Woocommerce v6.9.0 got released. It works fine when i am on v6.8.2

@nishantsworld
Copy link
Author

Any update here? We are still stuck with older vesion of Woocommerce v6.8.2 as i tried updating it to v6.9.4 and still the same fatal issue occurred.

@pinhead84
Copy link

pinhead84 commented Nov 12, 2022

Hello guys,

we've had the same issue. It was not a WooCoomerce problem in our case.

The problem is related to the Psr\Container\ContainerInterface interface. The woocommerce-paypal-payments plugin provides this interface in the plugins/woocommerce-paypal-payments/vendor/psr/container/src/ContainerInterface.php file. Important for this error is this function definition:

public function has($id);

But the same interface might also be provided by other plugins in a slightly different version. In our case the plugins wp-tools-divi-product-carousel & download-monitor also provide this interface with this definition:

public function has(string $id): bool;

The bool return value causes an incompatibility with the woocommerce-paypal-payments plugin.

Due to the nature of class autoloading in PHP, WordPress only loads Psr\Container\ContainerInterface once. In our case it loaded the version provided by wp-tools-divi-product-carousel. Therefore the woocommerce-paypal-payments plugin throws the error due to incompatibility.

To make a long story short: We've fixed the issue temporarily by replacing

public function has(string $id): bool;

with

public function has($id);

in the wp-tools-divi-product-carousel and download-monitor plugins.

Of course your installation might be different and other plugins might cause the incompatibility. But the general approach is the same. Find the conflicting plugin and fix their version of Psr\Container\ContainerInterface.

I hope, this is helpful for anyone out there.

Greetings!

@InpsydeNiklas
Copy link
Member

Thanks for sharing your findings. This problem should be resolved with #972.
Feedback about how this works for you with the latest 2.0 pre-release version would be appreciated.
Thanks!

@InpsydeNiklas
Copy link
Member

This error should be resolved now with the latest update 2.0.
Please get in touch with the support team if any issues persist for you after the update. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants