Warning: Attempt to read property “ID” on int
-
Hello. I wish to report the same issue of the error which has been reported “Warning: Attempt to read property “ID” on int in /wp-content/MyDomain/plugins/facebook-for-woocommerce/facebook-commerce-events-tracker.php on line 202” <– Line 202 is specific to my error. It is a repeated warning based on the amount of subcategories there are to select from on any given category page and only appears there. For instance, if I go to the “Bells” page and there two options, there are two warnings. If I go to “Bikes,” with 8 options, then there are 8 warnings, and so on.
I only installed Facebook for Woo two nights ago and this issue wasn’t present on my site before then. Indeed, when I deactivate FB for Woo on my staging site, the error disappears.
For now, as all of my products list well on Facebook and Insta (and look great!) I can’t see any real world issues attached to this PHP warning. To hide this error displaying on my website frontend, I simply went into the Appearance->Customise panel in WordPress, & wrote the following in the Additional CSS box –
/*Hide Facebook error*/
.storefront-sorting {display: none}That obviously does not fix the core issue, but at least removes the warning text for customers. The fact that it looked unprofessional was a major downside on my product category pages. Hopefully the class of storefront can give you a clue as to the issue.
Thanks,
David.
The page I need help with: [log in to see the link]
-
Hello,
As a first step you can try the following, please check if Debug is enabled (TRUE) from your wp-config file? If by any chance you do not have access to that file, you can request assistance from your host.
If the warning is still present after that step, you can share with us a copy of your site’s System Status that is under WooCommerce > Status. Select “Get system report” and then “Copy for support”.?
Let us know how it goes.
I should mention that this will also hide the pagination boxes if you use them. I do not need to use them on my site, but beware it will hide your options to select Page 1, 2, 3 and the default sorting dropdown menu i.e. price low to high etc. at the top of your category pages.
Step 1.
Nothing in wpconfig about debug. The only entry for “TRUE” is a command to force admin. There is no reference to “Debug” anywhere in wpconfig.
Status Report
### WordPress Environment ### WordPress address (URL): https://dmscycles.co.uk Site address (URL): https://dmscycles.co.uk WC Version: 6.6.1 REST API Version: ? 6.6.1 WC Blocks Version: ? 7.9.0 Action Scheduler Version: ? 3.4.0 Log Directory Writable: ? WP Version: 6.0 WP Multisite: – WP Memory Limit: 1 GB WP Debug Mode: – WP Cron: ? Language: en_GB External object cache: – ### Server Environment ### Server Info: Apache PHP Version: 8.0.20 PHP Post Max Size: 128 MB PHP Time Limit: 30 PHP Max Input Vars: 1000 cURL Version: 7.64.0 OpenSSL/1.1.1n SUHOSIN Installed: – MySQL Version: 10.5.15-MariaDB-1:10.5.15+maria~bullseye-log Max Upload Size: 128 MB Default Timezone is UTC: ? fsockopen/cURL: ? SoapClient: ? DOMDocument: ? GZip: ? Multibyte String: ? Remote Post: ? Remote Get: ? ### Database ### WC Database Version: 6.6.1 WC Database Prefix: acshGcqz Total Database Size: 176.76MB Database Data Size: 163.42MB Database Index Size: 13.34MB acshGcqzwoocommerce_sessions: Data: 1.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB acshGcqzwoocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwoocommerce_order_itemmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB acshGcqzwoocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB acshGcqzwoocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwoocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzactionscheduler_actions: Data: 1.02MB + Index: 0.80MB + Engine InnoDB acshGcqzactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzactionscheduler_logs: Data: 1.30MB + Index: 0.38MB + Engine InnoDB acshGcqzcommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzcomments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB acshGcqze_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqze_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB acshGcqze_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB acshGcqze_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB acshGcqze_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB acshGcqze_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzgla_budget_recommendations: Data: 0.22MB + Index: 0.14MB + Engine InnoDB acshGcqzgla_merchant_issues: Data: 0.08MB + Index: 0.00MB + Engine InnoDB acshGcqzgla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB acshGcqzgla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzindexnow_failed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzindexnow_passed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzlinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzmailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzmailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzoptions: Data: 10.20MB + Index: 0.17MB + Engine InnoDB acshGcqzpostmeta: Data: 80.45MB + Index: 4.69MB + Engine InnoDB acshGcqzposts: Data: 62.41MB + Index: 0.84MB + Engine InnoDB acshGcqzredirects: Data: 0.05MB + Index: 0.00MB + Engine InnoDB acshGcqztermmeta: Data: 0.11MB + Index: 0.16MB + Engine InnoDB acshGcqzterms: Data: 0.11MB + Index: 0.16MB + Engine InnoDB acshGcqzterm_relationships: Data: 0.31MB + Index: 0.14MB + Engine InnoDB acshGcqzterm_taxonomy: Data: 0.19MB + Index: 0.17MB + Engine InnoDB acshGcqzusermeta: Data: 0.13MB + Index: 0.06MB + Engine InnoDB acshGcqzusers: Data: 0.02MB + Index: 0.05MB + Engine InnoDB acshGcqzwcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB acshGcqzwc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB acshGcqzwc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB acshGcqzwc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB acshGcqzwc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzwc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwc_product_meta_lookup: Data: 0.11MB + Index: 0.13MB + Engine InnoDB acshGcqzwc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzwpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwpvivid_scan_result: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzwpvivid_unused_uploads_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB acshGcqzyoast_indexable: Data: 2.50MB + Index: 0.95MB + Engine InnoDB acshGcqzyoast_indexable_hierarchy: Data: 0.20MB + Index: 0.23MB + Engine InnoDB acshGcqzyoast_migrations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzyoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB acshGcqzyoast_seo_links: Data: 0.23MB + Index: 0.13MB + Engine InnoDB acshGcqzzettle_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB acshGcqzzettle_woocommerce_id_map: Data: 0.11MB + Index: 0.00MB + Engine InnoDB wpstg0_actionscheduler_actions: Data: 0.02MB + Index: 0.13MB + Engine InnoDB wpstg0_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_actionscheduler_logs: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpstg0_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB wpstg0_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB wpstg0_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB wpstg0_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_gla_budget_recommendations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_gla_merchant_issues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_gla_shipping_rates: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_gla_shipping_times: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_indexnow_failed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_indexnow_passed_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_options: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_postmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_posts: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpstg0_redirects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_usermeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wcpdf_packing_slip_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wc_admin_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpstg0_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpstg0_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpstg0_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB wpstg0_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_wpstg_queue: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wpvivid_scan_result: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_wpvivid_unused_uploads_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB wpstg0_yoast_indexable: Data: 0.02MB + Index: 0.09MB + Engine InnoDB wpstg0_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB wpstg0_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_yoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB wpstg0_zettle_queue: Data: 0.02MB + Index: 0.02MB + Engine InnoDB wpstg0_zettle_woocommerce_id_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB ### Post Type Counts ### attachment: 689 custom_css: 1 customize_changeset: 51 e-landing-page: 3 elementor_library: 18 jb_store_css: 11 jetpack_migration: 2 jetpack-testimonial: 1 jp_img_sitemap: 1 jp_sitemap: 1 jp_sitemap_master: 1 nav_menu_item: 38 oembed_cache: 1 page: 13 post: 1 product: 214 product_variation: 399 revision: 3874 shop_coupon: 2 shop_order: 11 shopengine-template: 4 wp_global_styles: 1 wpcf7_contact_form: 1 ### Security ### Secure connection (HTTPS): ? Hide errors from visitors: ? ### Active Plugins (26) ### Contact Form 7: by Takayuki Miyoshi – 5.6 Elementor Pro: by Elementor.com – 3.7.2 Elementor: by Elementor.com – 3.6.6 301 Redirects: by WebFactory Ltd – 2.72 Facebook for WooCommerce: by Facebook – 2.6.16 Flexible Shipping: by WP Desk – 4.11.9 GA Google Analytics: by Jeff Starr – 20220517 Google Listings and Ads: by WooCommerce – 1.13.6 IndexNow: by Microsoft Bing – 1.0.1 Jetpack Boost: by Automattic - Website Speed and Performance team – 1.5.1 Jetpack: by Automattic – 11.0 Mailchimp for WooCommerce: by Mailchimp – 2.6.2 ShopEngine Pro: by Wpmet – 1.8.0 ShopEngine: by Wpmet – 2.2.2 WooCommerce Blocks: by Automattic – 7.9.0 WooCommerce Stripe Gateway: by WooCommerce – 6.4.3 WooCommerce Google Analytics Integration: by WooCommerce – 1.5.10 WooCommerce Payments: by Automattic – 4.3.0 WooCommerce PayPal Payments: by WooCommerce – 1.8.1 WooCommerce PDF Invoices & Packing Slips: by WP Overnight – 3.0.0 WooCommerce Shipping & Tax: by WooCommerce – 1.26.1 WooCommerce: by Automattic – 6.6.1 Yoast SEO: by Team Yoast – 19.2 Backup Duplicator & Migration - WP STAGING: by WP-STAGING WPStagingBackup – 2.9.14 WPvivid Backup Plugin: by WPvivid Team – 0.9.74 PayPal Zettle POS: by PayPal – 1.5.3 ### Inactive Plugins (0) ### ### Must Use Plugins (2) ### 1&1 Product Subdomain: by 1&1 – 1.1.0 WP STAGING Optimizer: by René Hermenau – 1.5.1 ### Settings ### API Enabled: – Force SSL: – Currency: GBP (£) 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: #6 - /shop/ Basket: #1789 - /cart/ My account: #9 - /my-account/ Terms and conditions: #2898 - /terms-conditions/ ### Theme ### Name: Storefront Version: 4.1.1 Author URL: https://woocommerce.com/ Child Theme: ? – If you are modifying WooCommerce on a parent theme that you did not build personally we recommend using a child theme. See: How to create a child theme WooCommerce Support: ? ### Templates ### Overrides: /homepages/14/d881226044/htdocs/clickandbuilds/DMsCyclesandRepairs/wp-content/plugins/shopengine/widgets/checkout-review-order/screens/review-order-template.php ### WooCommerce PayPal Payments ### Onboarded: ? Shop country code: GB 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: – ### Admin ### Enabled Features: activity-panels analytics coupons customer-effort-score-tracks experimental-products-task experimental-import-products-task experimental-fashion-sample-products 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-07-03 15:33:05 +01:00 Options: ? Notes: 93 Onboarding: completed ### WooCommerce Payments ### Version: 4.3.0 Connected to WPCOM: Yes Blog ID: 197343888 Account ID: acct_1JWm5b2EPkdFLjYW ### Action Scheduler ### Canceled: 1 Oldest: 2022-06-08 00:42:32 +0100 Newest: 2022-06-08 00:42:32 +0100 Complete: 1,245 Oldest: 2022-06-02 04:00:19 +0100 Newest: 2022-07-03 01:08:02 +0100 Failed: 2 Oldest: 2022-05-19 00:41:44 +0100 Newest: 2022-05-19 00:41:44 +0100 Pending: 4 Oldest: 2022-07-03 04:00:00 +0100 Newest: 2022-07-04 00:12:46 +0100 ### PayPal Zettle POS ### Onboarding state: onboarding-completed Price sync: yes Initial sync collision strategy: wipe First import: 6:53 PM 21 March 2022 Number of products syncing: 210 HIDDEN ### Status report information ### Generated at: 2022-07-03 01:18:13 +01:00
Hi @damax83
Thank you for the System Status.
Could you try the workaround posted on this topic? →
the (Somehow strange) workaround I found was activating the “Debug bar” inside Elementor-Tools. That option places an “elementor debugger” button at the top admin bar, with that active, the text disappears.
Alternatively, please try disabling your Elementor plugins to see if the error ceases.
Lastly, similar posts suggest that the issue is isolated to Elementor + PHP 8.0.x sites, so I recommend testing changing the PHP version to 7.4 as well.
Best
Hello- I have tried your suggestion of the debug bar workaround. That did not work for me.
Currently I am disabling all plugins on my staging site to try and narrow down further..
Thanks for your suggestions though, let’s crack this mystery!
Ok.. So I deactivated all plugins after the issue was still present with Woo, Jetpack, Elementor, Elementor Pro active.
I then disabled all plugins entirely and turned them all back on again three at a time and the issue did not come back. I’ve removed the CSS which blocks the error text too, just to confirm that.
Just about to do a site backup and disable/re-enable all plugins on my live site.
Hi @damax83!
Sounds like a plan! Are you using any caching system (plugin or server-side?), you can try to purge them all too!
Let us know how it goes! Thanks for sharing your test results with the community too!
All the best,
Ok so that did NOT work on the staging site. I disabled/re-enabled ALL plugins. On the live site, the error was back straight away. I rechecked on the staging site, and the error message has come back.
The only way I can make this error go away is if I:
-disable ONLY Facebook for WooCommerce
-OR disable Elementor
-OR Elementor Pro (or both E+Pro at the same time)Not entirely comfortable with rolling back PHP versions, the outdated software could end up leading to other issues.
I do not use any caching systems at all as I want my site up to the minute.
Hi @damax83
Thanks for the update.
The only way I can make this error go away is if I: -disable ONLY Facebook for WooCommerce -OR disable Elementor -OR Elementor Pro
In seems to be a compatibility issue with Elementor. Elementor is a third-party plugin, which limits us from being able to provide support for it. You may want to reach out to the plugin developer directly at https://elementor.com/support/ since they’d be more familiar with how it works than we would be. You can also open a topic in their forum: https://www.ads-software.com/support/plugin/elementor/
Ok thanks for trying to assist. I have posted to the Elementor page and I’ll report back with what they have said.
If anyone is following this issue, you can read my post on the Elementor forum here.
Hi @damax83
Thanks for opening a ticket as directed on their forum.
Hoping for a quick resolution.
Do let us know if we can be of further assistance.
Thanks
Hi. Elementor support have been on my site overnight and have only been able to turn off the front end php warning. They’ve confirmed it’s an issue with the coding within the Facebook app and that it should be fixed from your end.
Hi David,
Thank you for contacting Elementor. I am Rakesh from Tier2 Customer Experience, and I’ll assist you today.
The PHP Warning on the front end of your website was generated from the Facebook for WooCommerce plugin itself, as one can read. So, they should check and fix this as they have better control over their code.
Custom Code, General WordPress issues, or third-party plugins/themes-related issues are out of our support scope. You can read more about our support scope here: https://elementor.com/help/how-do-i-get-premium-support/.
Usually, PHP Warnings or Notices don’t affect the working of the code. But those should be fixed to avoid real errors in the future.
The warnings or notices shouldn’t be printed on the front end. Your server printed it on the front end of your website because the PHP Error Reporting and display errors option was on.
I followed the below article to turn off error reporting in the front end.
https://aristath.github.io/blog/wp-hide-php-errors
I hope it helps.
- The topic ‘Warning: Attempt to read property “ID” on int’ is closed to new replies.