Uncaught Error: Call to a member function needs_shipping() on array
-
We need help resolving an error relating to the WooCommerce . We have a subscription page and on clickign any family link the page displays a critical error message.
Below is a part of the fatal error log that i managed to get . Thank you.
2024-05-21T00:00:42+00:00 Critical Uncaught Error: Call to a member function needs_shipping() on array in /home/elephan1/public_html/wp-content/plugins/woocommerce-gateway-stripe/includes/payment-methods/class-wc-stripe-payment-request.php:648
Additional context
{
“error”: {
“type”: 1,
“file”: “\/home\/elephan1\/public_html\/wp-content\/plugins\/woocommerce-gateway-stripe\/includes\/payment-methods\/class-wc-stripe-payment-request.php”,
“line”: 648
},
“backtrace”: [
“”,
“#0 \/home\/elephan1\/public_html\/wp-content\/plugins\/woocommerce-gateway-stripe\/includes\/payment-methods\/class-wc-stripe-payment-request.php(1078): WC_Stripe_Payment_Request->is_invalid_subscription_product(Array, true)”,
“#1 \/home\/elephan1\/public_html\/wp-content\/plugins\/woocommerce-gateway-stripe\/includes\/payment-methods\/class-wc-stripe-payment-request.php(990): WC_Stripe_Payment_Request->is_product_supported(Object(WC_Product_Variable_Subscription))”,
“#2 \/home\/elephan1\/public_html\/wp-content\/plugins\/woocommerce-gateway-stripe\/includes\/payment-methods\/class-wc-stripe-payment-request.php(827): WC_Stripe_Payment_Request->should_show_payment_request_button()”,
“#3 \/home\/elephan1\/public_html\/wp-includes\/class-wp-hook.php(324): WC_Stripe_Payment_Request->scripts(”)”,
“#4 \/home\/elephan1\/public_html\/wp-includes”
]
}The page I need help with: [log in to see the link]
-
Hi @geofreygachie,
Thank you for reaching out to us. The error message you’re seeing, “Uncaught Error: Call to a member function needs_shipping() on array,” suggests that there might be a problem with how the WooCommerce Stripe Gateway plugin is processing shipping-related information for a product on your site. Specifically, the error is occurring within the Stripe Payment Request class, which is trying to call a method on what should be an object but is instead being recognized as an array. Here are a few steps you can take:
- Ensure that all your plugins and themes are up to date. You can check for updates in your WordPress dashboard under ‘Dashboard’ > ‘Updates’.
- Perform a conflict test by deactivating all plugins except WooCommerce and the WooCommerce Stripe Gateway plugin, and switch to a default theme like Storefront or Twenty Twenty-One. If the issue is resolved, reactivate each one individually until you find the cause.
Check the WooCommerce System Status report for any anomalies or errors. You can find this under ‘WooCommerce’ > ‘Status’. Select “Get system report” and then “Copy for support”. If you’re comfortable, you can paste the report here for us to review.
We’re waiting for your reply and looking forward to helping you further.
` WordPress Environment</p> <p>WordPress address (URL): https://www.elephanttrust.org<br>Site address (URL): https://www.elephanttrust.org<br>WC Version: 8.9.0<br>REST API Version: ? 8.9.0<br>Action Scheduler Version: ? 3.7.4<br>Log Directory Writable: ?<br>WP Version: 6.5.3<br>WP Multisite: –<br>WP Memory Limit: 512 MB<br>WP Debug Mode: –<br>WP Cron: ?<br>Language: en_US<br>External object cache: – Server Environment</p> <p>Server Info: LiteSpeed<br>PHP Version: 7.4.33<br>PHP Post Max Size: 128 MB<br>PHP Time Limit: 0<br>PHP Max Input Vars: 8000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w</p> <p>SUHOSIN Installed: –<br>MySQL Version: 5.5.5-10.5.25-MariaDB<br>Max Upload Size: 128 MB<br>Default Timezone is UTC: ?<br>fsockopen/cURL: ?<br>SoapClient: ?<br>DOMDocument: ?<br>GZip: ?<br>Multibyte String: ?<br>Remote Post: ?<br>Remote Get: ? Database</p> <p>WC Database Version: 8.9.0<br>WC Database Prefix: wp_<br>Total Database Size: 263.11MB<br>Database Data Size: 239.39MB<br>Database Index Size: 23.72MB<br>wp_woocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 0.25MB + Index: 0.27MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.17MB + Index: 0.16MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.17MB + Index: 0.13MB + Engine InnoDB<br>wp_aelia_dismissed_messages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_aioseo_cache: Data: 1.44MB + Index: 0.03MB + Engine InnoDB<br>wp_aioseo_crawl_cleanup_blocked_args: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_aioseo_crawl_cleanup_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_aioseo_notifications: Data: 0.34MB + Index: 0.06MB + Engine InnoDB<br>wp_aioseo_posts: Data: 5.50MB + Index: 0.19MB + Engine InnoDB<br>wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_comments: Data: 0.45MB + Index: 0.41MB + Engine InnoDB<br>wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_elfsight_instagram_feed_cache: Data: 4.48MB + Index: 0.00MB + Engine InnoDB<br>wp_elfsight_instagram_feed_user: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_elfsight_instagram_feed_widgets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_elfsight_instalink_widgets: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_email_log: Data: 30.52MB + Index: 0.00MB + Engine InnoDB<br>wp_enjoy_instagram_hashtags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_enjoy_instagram_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ewwwio_images: Data: 5.52MB + Index: 6.06MB + Engine InnoDB<br>wp_ewwwio_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_expm_hiiden_content: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_expm_maker: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_expm_maker_pages: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_fbv: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_fbv_attachment_folder: Data: 0.16MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_comments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_image_cache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_options: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_post_media: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_snapshots: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_streams: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ffi_streams_sources: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_find_and_replace: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_followup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_followup_coupon_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_followup_customers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_followup_customer_carts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_followup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_followup_customer_orders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_followup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_followup_email_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_followup_email_orders: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_followup_email_tracking: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_followup_followup_history: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_followup_order_categories: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_followup_order_items: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_followup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_followup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_followup_subscriber_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gf_addon_feed: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_gf_addon_payment_callback: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_gf_addon_payment_transaction: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>wp_gf_draft_submissions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_gf_entry: Data: 0.11MB + Index: 0.03MB + Engine InnoDB<br>wp_gf_entry_meta: Data: 0.33MB + Index: 0.52MB + Engine InnoDB<br>wp_gf_entry_notes: Data: 0.20MB + Index: 0.06MB + Engine InnoDB<br>wp_gf_form: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gf_form_meta: Data: 0.19MB + Index: 0.00MB + Engine InnoDB<br>wp_gf_form_revisions: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gf_form_view: Data: 0.11MB + Index: 0.11MB + Engine InnoDB<br>wp_gf_rest_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_gglcptch_allowlist: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_gg_attributes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_gg_galleries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gg_galleries_resources: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gg_photos: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gg_settings_sets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_gg_tags: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_cheat_off: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_coupons: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_dashboard_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_debug_payments: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_download_monitor_limit: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_gift_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_invitation_codes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_notifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_orders: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_orders_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_reason_for_cancel_delete_levels: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_security_login: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_taxes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_user_levels: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_user_sites: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_woo_products: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_ihc_woo_product_level_relations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_indeed_members_payments: Data: 0.16MB + Index: 0.00MB + Engine InnoDB<br>wp_layerslider: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_layerslider_revisions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_masterslider_options: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_masterslider_sliders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_mgmlp_folders: Data: 0.17MB + Index: 0.00MB + Engine InnoDB<br>wp_mpesa_trx: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_newsletter_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_logs: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_newsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_newsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_newsletter_user_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_newsletter_user_meta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_options: Data: 16.47MB + Index: 1.23MB + Engine InnoDB<br>wp_pimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_pimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_images: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_postmeta: Data: 31.56MB + Index: 8.03MB + Engine InnoDB<br>wp_posts: Data: 64.52MB + Index: 1.30MB + Engine InnoDB<br>wp_ppress_coupons: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ppress_customers: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ppress_forms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_ppress_formsmeta: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_ppress_meta_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_ppress_ordermeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ppress_orders: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ppress_plans: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ppress_sessions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_ppress_subscriptions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_pum_subscribers: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_realmedialibrary: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_realmedialibrary_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_realmedialibrary_posts: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_realmedialibrary_tmp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_sliders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_revslider_static_slides: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_search_filter_cache: Data: 0.11MB + Index: 0.14MB + Engine InnoDB<br>wp_search_filter_term_results: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.06MB + Index: 0.05MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 1.47MB + Index: 0.61MB + Engine InnoDB<br>wp_users: Data: 0.16MB + Index: 0.16MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.09MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.06MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.05MB + Index: 0.05MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wdi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wdi_themes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfconfig: Data: 3.27MB + Index: 0.00MB + Engine InnoDB<br>wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilemods: Data: 18.55MB + Index: 0.00MB + Engine InnoDB<br>wp_wfhits: Data: 1.02MB + Index: 0.30MB + Engine InnoDB<br>wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfissues: Data: 0.08MB + Index: 0.06MB + Engine InnoDB<br>wp_wfknownfilelist: Data: 8.52MB + Index: 0.00MB + Engine InnoDB<br>wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wflogins: Data: 1.39MB + Index: 0.16MB + Engine InnoDB<br>wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfsecurityevents: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB<br>wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfwaffailures: Data: 0.00MB + Index: 0.00MB + Engine MyISAM<br>wp_woocommerce_gc_activity: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_gc_cards: Data: 0.06MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_gc_cardsmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wow_fmp: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_emails_log: Data: 36.52MB + Index: 0.41MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_xyz_ihs_short_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_ywrac_email_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_ywsbs_activities_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yith_ywsbs_delivery_schedules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yoast_indexable: Data: 0.05MB + Index: 0.08MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_prominent_words: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB Post Type Counts</p> <p>accordion_tp: 1<br>acf-field: 9<br>acf-field-group: 2<br>ajax_dropdown: 1<br>attachment: 4373<br>awl_filter_gallery: 1<br>custom_css: 1<br>custom-css-js: 3<br>family-updates: 349<br>gift_card: 17<br>giftcard: 4<br>mgmlp_media_folder: 83<br>mkhb_header: 2<br>nav_menu_item: 45<br>page: 81<br>popup: 7<br>popup_theme: 8<br>portfolio: 54<br>post: 7<br>post_grid: 1<br>product: 19<br>product_variation: 88<br>psmp_modal: 1<br>revision: 2696<br>search-filter-widget: 2<br>shop_coupon: 2<br>shop_order: 274<br>shop_order_refund: 1<br>shop_subscription: 203<br>tablepress_table: 2<br>wc_membership_plan: 6<br>wc_order_email: 1<br>wc_order_status: 8<br>wc_user_membership: 9<br>wp_font_face: 33<br>wp_font_family: 12<br>wpcf7_contact_form: 2<br>yith-wccos-ostatus: 1<br>ywrac_cart: 1<br>ywrac_email: 2<br>ywsbs_subscription: 2 Security</p> <p>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (62)</p> <p>TablePress: by Tobias B?thge – 2.3.1<br>Gravity Forms: by Gravity Forms – 2.5.15.1<br>LayerSlider WP: by Kreatura Media – 6.7.6<br>Add From Server: by Dion Hulse – 3.4.5<br>Advanced Custom Fields PRO: by Elliot Condon – 5.7.13<br>All in One SEO: by All in One SEO Team – 4.6.2<br>Artbees Themes Captcha: by Jose Rodriguez – 1.0<br>Classic Editor: by WordPress Contributors – 1.6.3<br>Code Snippets: by Code Snippets Pro – 3.6.4<br>Contact Form 7 – reCAPTCHA: by iambriansreed – 1.2.0<br>Contact Form 7: by Takayuki Miyoshi – 5.9.4<br>Simple Custom CSS and JS: by SilkyPress.com – 3.46<br>Custom Post Type UI: by WebDevStudios – 1.16.0<br>Display Posts: by Bill Erickson – 3.0.2<br>Duplicate Page: by mndpsingh287 – 4.5.3<br>Duplicator Pro: by Snap Creek – 4.5.9<br>Duplicator Pro: by Snap Creek – 4.5.9<br>Elfsight Instagram Feed CC: by Elfsight – 4.0.1<br>Email Log: by Sudar – 2.4.9<br>Read More: by Edmon – 3.3.8.4<br>FileBird: by Ninja Team – 4.9.4<br>Filterable Portfolio: by Sayful Islam – 1.6.4<br>Float Menu Lite: by Wow-Company – 6.0.1<br>Fuse Social Floating Sidebar: by Daniyal Ahmed – 5.4.10<br>reCaptcha by BestWebSoft: by BestWebSoft – 1.74<br>Gravity PDF: by Blue Liquid Designs – 6.10.2<br>Gravity Forms Stripe Add-On: by Gravity Forms – 3.8.4<br>Indeed Ultimate Membership Pro: by indeed – 7.6.5<br>Insert HTML Snippet: by xyzscripts.com – 1.3.5<br>WPBakery Page Builder (Modified Version): by Michael M – WPBakery.com – 5.5.5<br>Kadence WooCommerce Email Designer: by Kadence WP – 1.5.12<br>Login With Ajax: by Pixelite – 4.3<br>MC4WP: Mailchimp for WordPress: by ibericode – 4.9.13<br>Master Slider Pro: by averta – 3.2.7<br>Newsletter: by Stefano Lissa & The Newsletter Team – 8.3.3<br>Page scroll to id: by malihu – 1.7.9<br>Popup Maker: by Popup Maker – 1.18.5<br>Combo Blocks: by PickPlugins – 2.2.81<br>Profile Builder: by Cozmoslabs – 3.11.6<br>Slider Revolution: by ThemePunch – 5.4.8<br>Search & Filter Pro: by Code Amp – 2.5.7<br>Speed Optimizer: by SiteGround – 7.5.0<br>TheBunch KE Pesapal Woocommerce: by rixeo – 1.4.7<br>Add to Cart Text Changer by Code Astrology: by Saiful Islam – 2.1<br>WooCommerce M-PESA Payment Gateway: by Demkitech Solutions – 1.0.0<br>Product Gallery Slider for WooCommerce: by Codeixer – 2.3.7<br>WooCommerce.com Update Manager: by Automattic – 1.0.2<br>Customizer for WooCommerce: by SkyVerge – 2.8.0<br>WooCommerce Stripe Gateway: by WooCommerce – 8.2.0<br>WooCommerce Gift Cards: by SomewhereWarm – 1.7.4 (update to version 1.16.14 is available)<br>WooCommerce Name Your Price: by Kathy Darling – 2.11.7 (update to version 3.5.13 is available)<br>WooCommerce Order Status Control: by SkyVerge – 1.14.0 (update to version 1.16.0 is available)<br>WooCommerce Order Status Manager: by SkyVerge – 1.13.2 (update to version 1.15.2 is available)<br>WooCommerce Shop as Customer: by cxThemes – 2.16<br>WooCommerce Subscriptions Gifting: by WooCommerce – 2.1.3 (update to version 2.7.0 is available)<br>WooCommerce Subscriptions: by WooCommerce – 3.0.6 (update to version 6.3.1 is available)<br>WooCommerce: by Automattic – 8.9.0 (update to version 8.9.1 is available)<br>Wordfence Security: by Wordfence – 7.11.5<br>WP All Import Pro: by Soflyy – 4.7.5<br>Custom Body Class: by Andrei Lupu – 0.7.3<br>WP Mail SMTP Pro: by WPForms – 3.3.0<br>ProfilePress: by ProfilePress Membership Team – 4.15.8 Inactive Plugins (23)</p> <p>Akismet Anti-spam: Spam Protection: by Automattic – Anti-spam Team – 5.3.2<br>Custom Order Status for WooCommerce: by Tyche Softwares – 2.4.1<br>Disable Emails: by WebAware – 1.8.2<br>Duplicator: by Duplicator – 1.5.9<br>Elfsight InstaLink: by Elfsight – 2.1.10<br>Enjoy Instagram: by Mediabeta Srl – 6.2.2<br>FileBird Lite: by Ninja Team – 5.6.4<br>Follow-Up Emails: by WooCommerce – 4.9.15<br>Latest Post Shortcode: by Iulia Cazan – 12.0.1<br>Max Quantity For WC Shops: by Isabel Castillo – 1.6<br>Paid Member Subscriptions – Email Reminders: by Cozmoslabs<br>Adrian Spiac – 1.1.3</p> <p>Simple Local Avatars: by 10up – 2.7.9<br>Ultimate Gift Cards For WooCommerce: by WP Swings – 2.6.10<br>WooCommerce iPay/eLipa Payment Gateway Free: by iPay – 3.0.3<br>WooCommerce iPay/eLipa Payment Gateway Free: by iPay – 3.0.2<br>WooCommerce Memberships: by SkyVerge – 1.16.2 (update to version 1.26.5 is available)<br>WooCommerce Smart Coupons: by StoreApps – 4.25.1 (update to version 9.0.1 is available)<br>WooCommerce Subscriptions Gifting old: by Automattic – 2.0.4 (update to version 2.7.0 is available)<br>WOOCS – WooCommerce Currency Switcher: by realmag777 – 2.3.7.5<br>YITH WooCommerce Custom Order Status Premium: by YITH – 1.2.9<br>YITH WooCommerce Gift Cards Premium: by YITH – 3.1.6<br>YITH WooCommerce Recover Abandoned Cart Premium: by YITH – 2.0.6<br>YITH WooCommerce Subscription Premium: by YITH – 2.2.6 Dropin Plugins ()</p> <p>advanced-cache.php: advanced-cache.php Settings</p> <p>API Enabled: –<br>Force SSL: –<br>Currency: USD (USD )<br>Currency Position: left<br>Thousand Separator: ,<br>Decimal Separator: .<br>Number of Decimals: 0<br>Taxonomies: Product Types: external (external)<br>gift-card (gift-card)<br>grouped (grouped)<br>pw gift card (pw-gift-card)<br>simple (simple)<br>subscription (subscription)<br>variable (variable)<br>variable subscription (variable-subscription)<br>wgm_gift_card (wgm_gift_card)</p> <p>Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)<br>exclude-from-search (exclude-from-search)<br>featured (featured)<br>outofstock (outofstock)<br>rated-1 (rated-1)<br>rated-2 (rated-2)<br>rated-3 (rated-3)<br>rated-4 (rated-4)<br>rated-5 (rated-5)</p> <p>Connected to WooCommerce.com: ?<br>Enforce Approved Product Download Directories: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – Logging</p> <p>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 341 KB WC Pages</p> <p>Shop base: #470 – /join-today/<br>Cart: #487 – /cart/<br>Checkout: #489 – /checkout/<br>My account: ? Page does not contain the [woocommerce_my_account] shortcode.<br>Terms and conditions: ? Page not set Theme</p> <p>Name: Jupiter Child Theme<br>Version: 1.0<br>Author URL:<br>Child Theme: ?<br>Parent Theme Name: Jupiter<br>Parent Theme Version: 6.1.6<br>Parent Theme Author URL: https://themeforest.net/user/artbees<br>WooCommerce Support: ? Templates</p> <p>Overrides: jupiter/woocommerce/archive-product.php version 3.4.0 is out of date. The core version is 8.6.0<br>jupiter-child/woocommerce/cart/cart.php version 3.8.0 is out of date. The core version is 7.9.0<br>jupiter-child/woocommerce/checkout/form-checkout.php<br>jupiter/woocommerce/checkout/terms.php<br>jupiter-child/woocommerce/checkout/thankyou.php version 3.7.0 is out of date. The core version is 8.1.0<br>jupiter/woocommerce/content-product.php version 3.4.0 is out of date. The core version is 3.6.0<br>jupiter-child/woocommerce/emails/admin-new-order.php<br>jupiter-child/woocommerce/emails/customer-completed-order.php<br>jupiter/woocommerce/loop/add-to-cart.php<br>jupiter/woocommerce/loop/loop-end.php<br>jupiter/woocommerce/loop/loop-start.php<br>jupiter-child/woocommerce/myaccount/dashboard.php version 2.6.0 is out of date. The core version is 4.4.0<br>jupiter-child/woocommerce/myaccount/downloads.php version 3.2.0 is out of date. The core version is 7.8.0<br>jupiter-child/woocommerce/myaccount/form-add-payment-method.php version 3.4.0 is out of date. The core version is 7.8.0<br>jupiter-child/woocommerce/myaccount/form-edit-account.php version 3.5.0 is out of date. The core version is 8.7.0<br>jupiter-child/woocommerce/myaccount/form-edit-address.php version 3.6.0 is out of date. The core version is 7.0.1<br>jupiter-child/woocommerce/myaccount/form-login.php version 3.6.0 is out of date. The core version is 7.0.1<br>jupiter-child/woocommerce/myaccount/form-lost-password.php version 3.5.2 is out of date. The core version is 7.0.1<br>jupiter-child/woocommerce/myaccount/form-reset-password.php version 3.5.5 is out of date. The core version is 7.0.1<br>jupiter-child/woocommerce/myaccount/lost-password-confirmation.php version 3.5.2 is out of date. The core version is 3.9.0<br>jupiter-child/woocommerce/myaccount/my-account.php<br>jupiter-child/woocommerce/myaccount/my-address.php version 2.6.0 is out of date. The core version is 8.7.0<br>jupiter-child/woocommerce/myaccount/my-downloads.php<br>jupiter-child/woocommerce/myaccount/my-orders.php<br>jupiter-child/woocommerce/myaccount/navigation.php<br>jupiter-child/woocommerce/myaccount/orders.php version 3.2.0 is out of date. The core version is 8.5.0<br>jupiter-child/woocommerce/myaccount/payment-methods.php version 2.6.0 is out of date. The core version is 8.9.0<br>jupiter-child/woocommerce/myaccount/view-order.php<br>jupiter-child/woocommerce/single-product/add-to-cart/variable.php version 3.5.5 is out of date. The core version is 6.1.0<br>jupiter-child/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php version 3.4.0 is out of date. The core version is 7.0.1<br>jupiter-child/woocommerce/single-product/add-to-cart/variation.php<br>jupiter-child/woocommerce/single-product/price.php<br>/home/elephan1/public_html/wp-content/plugins/woo-product-gallery-slider/includes/product-image.php<br>jupiter-child/woocommerce/single-product/short-description.php<br>jupiter-child/woocommerce/single-product/title.php<br>jupiter-child/woocommerce/single-product.php version – is out of date. The core version is 1.6.4<br>jupiter/woocommerce/content-product_cat.php version 2.6.1 is out of date. The core version is 4.7.0</p> <p>Outdated Templates: ?</p> <pre class=”wp-block-code”><code> Learn how to update</code></pre> <p>Subscriptions</p> <p>WCS_DEBUG: ? No<br>Subscriptions Mode: ? Live<br>Subscriptions Live URL: https://www.elephanttrust.org<br>Subscriptions Template Theme Overrides: jupiter-child/woocommerce/myaccount/my-subscriptions.php<br>jupiter-child/woocommerce/myaccount/related-subscriptions.php<br>jupiter-child/woocommerce/myaccount/subscription-details.php</p> <p>Subscription Statuses: draft: 1<br>wc-active: 90<br>wc-expired: 59<br>wc-on-hold: 31<br>wc-cancelled: 22</p> <p>WooCommerce Account Connected: ? Yes<br>Active Product Key: ? No<br>Report Cache Enabled: ? Yes<br>Cache Update Failures: ? 0 failure Store Setup</p> <p>Country / State: Kenya — Nairobi County Subscriptions by Payment Gateway</p> <p>PayPal Standard: wc-active: 33<br>wc-cancelled: 15<br>wc-expired: 21<br>wc-on-hold: 1</p> <p>Stripe: draft: 1<br>wc-active: 40<br>wc-cancelled: 1<br>wc-expired: 27 Payment Gateway Support</p> <p>PayPal Standard: subscriptions<br>gateway_scheduled_payments<br>subscription_payment_method_change_customer<br>subscription_cancellation<br>subscription_suspension<br>subscription_reactivation<br>products<br>refunds</p> <p>PayPal Reference Transactions Enabled: ? No<br>Direct bank transfer: products<br>Stripe: products<br>refunds<br>tokenization<br>add_payment_method<br>subscriptions<br>subscription_cancellation<br>subscription_suspension<br>subscription_reactivation<br>subscription_amount_changes<br>subscription_date_changes<br>subscription_payment_method_change<br>subscription_payment_method_change_customer<br>subscription_payment_method_change_admin<br>multiple_subscriptions Gift Cards</p> <p>Database Version: 1.7.4<br>Loopback Test: ?<br>Task Queueing Test: ? Admin</p> <p>Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<br>customize-store<br>customer-effort-score-tracks<br>import-products-task<br>experimental-fashion-sample-products<br>shipping-smart-defaults<br>shipping-setting-tour<br>homescreen<br>marketing<br>mobile-app-banner<br>navigation<br>onboarding<br>onboarding-tasks<br>product-variation-management<br>product-virtual-downloadable<br>product-external-affiliate<br>product-grouped<br>product-linked<br>product-pre-publish-modal<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>shipping-label-banner<br>subscriptions<br>store-alerts<br>transient-notices<br>woo-mobile-welcome<br>wc-pay-promotion<br>wc-pay-welcome-page</p> <p>Disabled Features: minified-js<br>new-product-management-experience<br>settings<br>async-product-editor-category-field<br>launch-your-store</p> <p>Daily Cron: ? Next scheduled: 2024-05-23 12:11:02 +03:00<br>Options: ?<br>Notes: 204<br>Onboarding: completed Subscriptions Gifting</p> <p>Gifted Subscriptions Count: 0<br>Subscriptions Gifting Template Theme Overrides: jupiter-child/woocommerce/emails/new-recipient-customer.php Action Scheduler</p> <p>Complete: 203<br>Oldest: 2024-04-22 03:15:50 +0300<br>Newest: 2024-05-22 23:11:24 +0300</p> <p>Failed: 63<br>Oldest: 2024-01-31 01:59:23 +0300<br>Newest: 2024-03-01 02:25:21 +0300</p> <p>Pending: 97<br>Oldest: 2024-05-22 23:24:30 +0300<br>Newest: 2026-12-02 03:54:35 +0300 Status report information</p> <p>Generated at: 2024-05-22 23:11:43 +03:00<br>`
Hi @geofreygachie,
Thanks for getting back to us. I’ve reviewed the system status report. It looks like several plugins have updates available. Specifically, the following plugins need updates:
- WooCommerce: Current version 8.9.0, update to version 8.9.1.
- WooCommerce Memberships: Current version 1.16.2, update to version 1.26.5.
- WooCommerce Smart Coupons: Current version 4.25.1, update to version 9.0.1.
In addition to the plugins, there are other components that need updates:
- WordPress Version: The current version is 6.5.3. The latest version of WordPress is 6.6.0, so an update is recommended.
- PHP Version: The current version is 7.4.33. It is recommended to update to PHP 8.0 or 8.1, as PHP 7.4 is no longer supported with security updates.
Additionally, there are several WooCommerce template files that are outdated. These should be updated to ensure compatibility and proper functioning of your WooCommerce site.
Let us know if there’s anything else we can help you with.
- The topic ‘Uncaught Error: Call to a member function needs_shipping() on array’ is closed to new replies.