• Resolved chanok77

    (@chanok77)


    Hi, we recently changed to php 8.0, never got this issue before, but after adding some new products to our WordPress with woocommerce page, we get this repeating message on each product category page at the bottom:

    Warning: Attempt to read property “ID” on int in /wp-content/plugins/facebook-for-woocommerce/facebook-commerce-events-tracker.php on line 193

    Can you help us with this?

    The page I need help with: [log in to see the link]

Viewing 14 replies - 1 through 14 (of 14 total)
  • Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @chanok77

    Warning: Attempt to read property “ID” on int in /wp-content/plugins/facebook-for-woocommerce/facebook-commerce-events-tracker.php on line 193

    I could not find another report with this PHP error on our end. Can you confirm if Debug is enabled (TRUE) from your wp-config file? If you don’t have access to your site’s directory, please check with your host.

    If disabling it does not remove the warning, could you please send me a copy of your site’s System Status? You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, you can paste it here in your response.

    Thread Starter chanok77

    (@chanok77)

    Thanks for your quick response, I’ll give it a try and let you know asap.

    Thread Starter chanok77

    (@chanok77)

    Here is the Sys Report Thanks.

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://shop.davidbydavidisaac.com
    Site address (URL): https://shop.davidbydavidisaac.com
    WC Version: 6.3.1
    REST API Version: ? 6.3.1
    WC Blocks Version: ? 6.9.0
    Action Scheduler Version: ? 3.4.0
    WC Admin Version: ? 3.3.2
    Log Directory Writable: ?
    WP Version: ? 5.9.2 - There is a newer version of WordPress available (5.9.3)
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 8.0.17
    PHP Post Max Size: 6 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 1000
    cURL Version: 7.64.0
    OpenSSL/1.1.1n
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.36-log
    Max Upload Size: 64 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 6.3.1
    WC Database Prefix: mnCBG
    Total Database Size: 170.74MB
    Database Data Size: 106.84MB
    Database Index Size: 63.90MB
    mnCBGwoocommerce_sessions: Data: 11.02MB + Index: 1.02MB + Engine InnoDB
    mnCBGwoocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGwoocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGwoocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    mnCBGwoocommerce_order_items: Data: 2.52MB + Index: 1.52MB + Engine InnoDB
    mnCBGwoocommerce_order_itemmeta: Data: 0.25MB + Index: 0.20MB + Engine InnoDB
    mnCBGwoocommerce_tax_rates: Data: 2.52MB + Index: 2.84MB + Engine InnoDB
    mnCBGwoocommerce_tax_rate_locations: Data: 1.52MB + Index: 3.03MB + Engine InnoDB
    mnCBGwoocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGwoocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGwoocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGwoocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGwoocommerce_payment_tokenmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    mnCBGwoocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGactionscheduler_actions: Data: 2.02MB + Index: 1.59MB + Engine InnoDB
    mnCBGactionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGactionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGactionscheduler_logs: Data: 1.52MB + Index: 0.39MB + Engine InnoDB
    mnCBGasre_sales_report: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGatum_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGatum_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGatum_product_data: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
    mnCBGcart_notices: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGcommentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGcomments: Data: 5.52MB + Index: 3.83MB + Engine InnoDB
    mnCBGe_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGe_submissions: Data: 0.06MB + Index: 0.27MB + Engine InnoDB
    mnCBGe_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    mnCBGe_submissions_values: Data: 0.11MB + Index: 0.03MB + Engine InnoDB
    mnCBGfollowup_coupons: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGfollowup_coupon_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mnCBGfollowup_customers: Data: 0.25MB + Index: 0.47MB + Engine InnoDB
    mnCBGfollowup_customer_carts: Data: 0.38MB + Index: 0.06MB + Engine InnoDB
    mnCBGfollowup_customer_notes: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGfollowup_customer_orders: Data: 0.23MB + Index: 0.14MB + Engine InnoDB
    mnCBGfollowup_email_excludes: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mnCBGfollowup_email_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mnCBGfollowup_email_orders: Data: 1.50MB + Index: 0.19MB + Engine InnoDB
    mnCBGfollowup_email_tracking: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    mnCBGfollowup_followup_history: Data: 0.20MB + Index: 0.05MB + Engine InnoDB
    mnCBGfollowup_order_categories: Data: 1.52MB + Index: 2.00MB + Engine InnoDB
    mnCBGfollowup_order_items: Data: 0.33MB + Index: 0.56MB + Engine InnoDB
    mnCBGfollowup_subscribers: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGfollowup_subscribers_to_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGfollowup_subscriber_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGlinks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGms_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGnewsletter: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    mnCBGnewsletter_emails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGnewsletter_sent: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGnewsletter_stats: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGnewsletter_user_logs: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    mnCBGoptions: Data: 16.03MB + Index: 2.22MB + Engine InnoDB
    mnCBGpimwick_gift_card: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGpimwick_gift_card_activity: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGpostmeta: Data: 37.53MB + Index: 31.91MB + Engine InnoDB
    mnCBGposts: Data: 4.47MB + Index: 3.55MB + Engine InnoDB
    mnCBGredirection_404: Data: 1.02MB + Index: 0.09MB + Engine InnoDB
    mnCBGredirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGredirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    mnCBGredirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mnCBGsfa_abandoned_carts: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
    mnCBGsimple_history: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    mnCBGsimple_history_contexts: Data: 1.52MB + Index: 0.48MB + Engine InnoDB
    mnCBGsnippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGstock_log: Data: 0.52MB + Index: 0.00MB + Engine InnoDB
    mnCBGtermmeta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    mnCBGterms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGterm_relationships: Data: 0.16MB + Index: 0.09MB + Engine InnoDB
    mnCBGterm_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGtinvwl_analytics: Data: 0.14MB + Index: 0.08MB + Engine InnoDB
    mnCBGtinvwl_items: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
    mnCBGtinvwl_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGtm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGtm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGusermeta: Data: 2.48MB + Index: 3.95MB + Engine InnoDB
    mnCBGusers: Data: 0.13MB + Index: 0.14MB + Engine InnoDB
    mnCBGwc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    mnCBGwc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGwc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGwc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGwc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGwc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGwc_order_product_lookup: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
    mnCBGwc_order_stats: Data: 0.38MB + Index: 0.39MB + Engine InnoDB
    mnCBGwc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGwc_product_attributes_lookup: Data: 0.22MB + Index: 0.22MB + Engine InnoDB
    mnCBGwc_product_meta_lookup: Data: 0.39MB + Index: 0.69MB + Engine InnoDB
    mnCBGwc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGwc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGwc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGwc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGwoocommerce_amazon_buyer_index: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGwoo_sales_country_region: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    mnCBGyoast_indexable: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    mnCBGyoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    mnCBGyoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    mnCBGyoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    mnCBGyoast_seo_links: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    attachment: 1248
    elementor_library: 25
    follow_up_email: 1
    nav_menu_item: 54
    oembed_cache: 2
    page: 16
    phoe_badge: 1
    post: 4
    product: 440
    product_variation: 3166
    revision: 1711
    shop_coupon: 58
    shop_order: 7382
    shop_order_refund: 98
    wobd-badge-designer: 1
    yith-wcbm-badge: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (43) ###
    
    All-in-One WP Migration Unlimited Extension: by ServMask – 2.45
    All-in-One WP Migration: by ServMask – 7.57
    CM Custom Reports: by CreativeMindsSolutions – 1.1.6
    Code Snippets: by Code Snippets Pro – 2.14.3
    Cost of Goods for WooCommerce: by WPFactory – 2.5.4
    Elementor Pro: by Elementor.com – 3.6.4
    Elementor: by Elementor.com – 3.6.2
    Essential Addons for Elementor: by WPDeveloper – 5.0.12
    Facebook for WooCommerce: by Facebook – 2.6.12
    Flexible Checkout Fields: by WP Desk – 3.2.2
    Image Hover Effects - Elementor Addon: by Blocksera – 1.3.5
    Jetpack: by Automattic – 10.8
    JWT Authentication for WP-API: by Enrique Chavez – 1.2.6
    Make Column Clickable Elementor: by Fernando Acosta – 1.3.1
    Menu Image: by Freshlight Lab – 3.0.8
    Newsletter: by Stefano Lissa & The Newsletter Team – 7.4.2
    Facebook for WordPress: by Facebook – 3.0.6
    Premium Addons for Elementor: by Leap13 – 4.9.4
    Really Simple SSL: by Really Simple Plugins – 5.3.1
    Redirection: by John Godley – 5.2.3
    Sales Tax Reports For WooCommerce: by mystyleplatform – 1.0.4
    Simple History: by P?r Thernstr?m – 3.2.0
    TI WooCommerce Wishlist: by TemplateInvaders – 1.42.0
    User Role Editor: by Vladimir Garagulya – 4.61.2
    Abandoned Cart Reports Premium For WooCommerce: by Small Fish Analytics – 2.1.0
    Facebook for WooCommerce - settings tools: by SkyVerge – 1.0.0
    Sales Report Email for WooCommerce: by zorem – 2.7.5
    WooCommerce Product Image Gallery Options: by Create and Code – 1.1.0
    Sales Report By Country for WooCommerce: by zorem – 1.6.5
    WooCommerce Admin: by WooCommerce – 3.3.2
    WooCommerce Colors: by WooThemes – 1.0.7
    WooCommerce - Store Exporter: by Visser Labs – 2.7.1
    WooCommerce Affirm Gateway: by WooCommerce – 1.3.4
    WooCommerce Amazon Pay: by WooCommerce – 2.1.2
    WooCommerce Stripe Gateway: by WooCommerce – 6.3.0
    WooCommerce Google Analytics Integration: by WooCommerce – 1.5.8
    WooCommerce PayPal Payments: by WooCommerce – 1.7.0
    WooCommerce Print Invoices / Packing Lists - Extra columns: by SkyVerge – 1.0.0
    WooCommerce Print Invoices/Packing Lists: by SkyVerge – 3.11.4
    Stock Manager for WooCommerce: by StoreApps – 2.8.3
    WooCommerce: by Automattic – 6.3.1
    WooThumbs for WooCommerce by Iconic: by Iconic – 4.12.0
    YITH WooCommerce Badge Management: by YITH – 2.3.0
    
    ### Inactive Plugins (13) ###
    
    Alfred, the Assistant: by 1&1 IONOS – 5.6.2
    Follow-Up Emails: by WooCommerce – 4.9.19 (update to version 4.9.20 is available)
    Hide Categories and Products for Woocommerce: by N.O.U.S. Open Useful and Simple – 1.2.2
    Hide Shipping Methods based on Shipping Class and Zone: by PluginHive – 1.0.8
    Points and Rewards for WooCommerce: by WP Swings – 1.2.4
    Points and Rewards For WooCommerce Pro: by MakeWebBetter – 1.2.3
    PW WooCommerce Gift Cards: by Pimwick
    LLC – 1.202
    
    Query Monitor: by John Blackbourn – 3.8.2
    Stock Exporter for WooCommerce: by Webdados – 1.0.0
    Tax Rate Upload: by Adam Bowen – 2.4.5
    Variation Swatches for WooCommerce: by Emran Ahmed – 1.1.19
    WooCommerce Cart Notices: by SkyVerge – 1.13.3
    WooCommerce Product Dependencies: by SomewhereWarm – 1.2.7
    
    ### Must Use Plugins (1) ###
    
    1&1 Product Subdomain: by 1&1 – 1.1.0
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    pw gift card (pw-gift-card)
    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: ?
    
    ### WC Pages ###
    
    Shop base: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: #1134 - /terms/
    
    ### Theme ###
    
    Name: Hello Elementor
    Version: 2.5.0
    Author URL: https://elementor.com/?utm_source=wp-themes&utm_campaign=author-uri&utm_medium=wp-dash
    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: –
    
    ### 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: ?
    
    ### TI WooCommerce Wishlist Templates ###
    
    Overrides: –
    
    ### Action Scheduler ###
    
    Complete: 4,733
    Oldest: 2022-03-24 12:12:55 -0400
    Newest: 2022-04-05 17:36:55 -0400
    
    Failed: 10
    Oldest: 2021-12-15 14:59:00 -0400
    Newest: 2021-12-15 14:59:00 -0400
    
    Pending: 4
    Oldest: 2022-04-05 20:27:57 -0400
    Newest: 2022-04-06 13:37:43 -0400
    
    ### Status report information ###
    
    Generated at: 2022-04-05 17:37:40 -04:00
    
    Thread Starter chanok77

    (@chanok77)

    I could not find another report with this PHP error on our end. Can you confirm if Debug is enabled (TRUE) from your wp-config file? If you don’t have access to your site’s directory, please check with your host.

    I’ve chequed the wp-config file and there was no debug code enabled, I discovered that with elementor builder, if I change the “product-archive” module configuration not allowing the pagination, the text dissapears, but I cant do that because we have so much products, we need pagination.

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hi @chanok77

    Thanks for the update!

    I’ve chequed the wp-config file and there was no debug code enabled, I discovered that with elementor builder, if I change the “product-archive” module configuration not allowing the pagination, the text dissapears, but I cant do that because we have so much products, we need pagination.

    That sounds related to the Elementor editor directly, have you tried reaching to their support team to know if the line can be removed from the module?

    This is their support page https://elementor.com/support/

    Hi @chanok77

    may I ask how you solved the problem?

    As I am struggling with exactly the same “warning”.
    Unfortunately Elementor couldn’t help me and referred me to the plugin support team.

    Now I came across your post and saw you could solve the problem.

    How did you solve it?

    I jump for joy if you can help me.

    Thanks.

    Kind wishes
    Jessica

    P.S. Does this look familiar to you?
    https://shop.dog-grooming-salon.at/produkt-kategorie/shampoo-co/

    Plugin Support nathvi V. a11n

    (@nathvi)

    Hello @jessicaherrmann

    Thanks for your message!

    If the same error is showing after adding a new product, can you temporarily disable Elementor and try again?

    To keep things tidy and in case the problem persists, please open a new thread referencing this post and include a copy of your System Status Report.

    Hi @nathvi

    thanks for your answer – I’ll sent you the status of woocommerce as you requested on the topic I started one day ago. ??

    Hi @jessicaherrmann,

    I went ahead and replied on your thread – let us know how it goes on there! ??

    Thread Starter chanok77

    (@chanok77)

    Hi, I don’t know exactly how I fixed it, but debuggin is activated somewhere… 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. Any idea?

    Hello, I had a similar problem with the plug Facebook for Woocommerce and an Elemntor store. Changing php back to 7.4 helped – you can see the Facebook plugin is not yet adapted to higher PHP.

    Hey @adwebs

    Kindly create a new thread so that your issue can be looked at individually.
    https://www.ads-software.com/support/plugin/woocommerce/#new-topic-0

    This is in line with the forum guidelines on posting on related threads / existing threads with similar issues.

    Hello, I did not write to open a new thread, but only to share a solution to the problem raised in this thread.

    @adwebs thank you very much for your solution. ?? I really appreciate it. Although I’ve decided to disable the plugin.

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Warning: Attempt to read property “ID” on int’ is closed to new replies.