• Resolved vasilis4sar

    (@vasilis4sar)


    Hello,

    I have this issue with plugin (latest version).

    I have the latest version of WordPress-Plugin-Theme(WoodMart)-WooCommerce.

    Could you help me?
    Thanks

    Fatal error: Uncaught Error: Call to a member function get_facebook_id() on null in /home/papelfurs/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php:3575 Stack trace: #0 /home/papelfurs/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php(3425): WC_Facebookcommerce_Integration->get_product_fbid('fb_product_grou...', 11513) #1 /home/papelfurs/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php(1062): WC_Facebookcommerce_Integration->delete_product_group(11513) #2 /home/papelfurs/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php(1021): WC_Facebookcommerce_Integration->delete_fb_product(Object(WC_Product_Variable)) #3 /home/papelfurs/public_html/wp-includes/class-wp-hook.php(307): WC_Facebookcommerce_Integration->on_product_delete(11513) #4 /home/papelfurs/public_html/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters(NULL, Array) #5 /home/papelfurs/public_html/wp-includes/plugin.php(476): WP_Hook->do_action(Ar in /home/papelfurs/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php on line 3575

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

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Support Chris Moreira – a11n

    (@chrism245)

    Hello @vasilis4sar!

    Have you updated recently the Facebook for WooCommerce extension?

    It will be great if you could share your current System Status Report. You can get it by navigating to the WooCommerce / Status section of your site. Once there, click on the Get system report button and then copy it by clicking on the Copy for support button. Then paste it here in a comment.

    Thread Starter vasilis4sar

    (@vasilis4sar)

    Hello,

    If you need further information, please let me know.

    Thank you.


    ### WordPress Environment ###

    WordPress address (URL): https://papelfurs.com
    Site address (URL): https://papelfurs.com
    WC Version: 7.0.0
    REST API Version: ? 7.0.0
    WC Blocks Version: ? 8.5.1
    Action Scheduler Version: ? 3.4.0
    Log Directory Writable: ?
    WP Version: 6.0.3
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ?
    Language: en_US
    External object cache: –

    ### Server Environment ###

    Server Info: LiteSpeed
    PHP Version: 7.4.32
    PHP Post Max Size: 64 MB
    PHP Time Limit: 30
    PHP Max Input Vars: 4000
    cURL Version: 7.71.0
    OpenSSL/1.1.1p

    SUHOSIN Installed: –
    MySQL Version: 10.0.38-MariaDB-cll-lve
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?

    ### Database ###

    WC Database Version: 7.0.0
    WC Database Prefix: wprg_
    Total Database Size: 91.80MB
    Database Data Size: 60.82MB
    Database Index Size: 30.98MB
    wprg_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wprg_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_woocommerce_order_itemmeta: Data: 0.05MB + Index: 0.03MB + Engine InnoDB
    wprg_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wprg_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_actionscheduler_actions: Data: 5.52MB + Index: 3.52MB + Engine InnoDB
    wprg_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_actionscheduler_logs: Data: 4.52MB + Index: 2.91MB + Engine InnoDB
    wprg_alphabank_transactions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wprg_icl_content_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_core_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_flags: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_languages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_icl_languages_translations: Data: 0.20MB + Index: 0.17MB + Engine InnoDB
    wprg_icl_locale_map: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_icl_message_status: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_icl_mo_files_domains: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_node: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_icl_reminders: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_icl_strings: Data: 3.52MB + Index: 6.72MB + Engine InnoDB
    wprg_icl_string_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_icl_string_packages: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wprg_icl_string_pages: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_icl_string_positions: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_string_status: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_string_translations: Data: 5.52MB + Index: 3.03MB + Engine InnoDB
    wprg_icl_string_urls: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_translate: Data: 1.44MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_translate_job: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_icl_translations: Data: 0.38MB + Index: 0.97MB + Engine InnoDB
    wprg_icl_translation_batches: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_icl_translation_downloads: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_icl_translation_status: Data: 1.52MB + Index: 0.05MB + Engine InnoDB
    wprg_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_options: Data: 7.03MB + Index: 0.45MB + Engine InnoDB
    wprg_postmeta: Data: 22.08MB + Index: 9.59MB + Engine InnoDB
    wprg_posts: Data: 4.03MB + Index: 1.11MB + Engine InnoDB
    wprg_revslider_css: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_css_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_sliders: Data: 0.09MB + Index: 0.02MB + Engine InnoDB
    wprg_revslider_sliders_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_slides: Data: 2.02MB + Index: 0.02MB + Engine InnoDB
    wprg_revslider_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_termmeta: Data: 0.14MB + Index: 0.19MB + Engine InnoDB
    wprg_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_term_relationships: Data: 0.19MB + Index: 0.13MB + Engine InnoDB
    wprg_term_taxonomy: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wprg_usermeta: Data: 0.13MB + Index: 0.06MB + Engine InnoDB
    wprg_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wprg_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wprg_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
    wprg_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wprg_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wprg_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wprg_wc_product_attributes_lookup: Data: 0.36MB + Index: 0.27MB + Engine InnoDB
    wprg_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_wc_product_meta_lookup: Data: 0.27MB + Index: 0.47MB + Engine InnoDB
    wprg_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wprg_woodmart_wishlists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wprg_woodmart_wishlist_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB

    ### Post Type Counts ###

    af_product_videos: 1
    attachment: 4722
    cms_block: 17
    mc4wp-form: 2
    nav_menu_item: 268
    page: 49
    post: 18
    product: 455
    product_variation: 1960
    revision: 20
    shop_coupon: 13
    shop_order: 8
    woodmart_sidebar: 2
    woodmart_size_guide: 5
    wpcf7_contact_form: 3

    ### Security ###

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

    ### Active Plugins (16) ###

    WPML Multilingual CMS: by OnTheGoSystems – 4.5.11
    Contact Form 7: by Takayuki Miyoshi – 5.6.3
    Enable Media Replace: by ShortPixel – 4.0.0
    Header and Footer Scripts: by Digital Liberation – 2.2.1
    WPBakery Page Builder: by Michael M – WPBakery.com – 6.10.0
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.10
    Slider Revolution: by ThemePunch – 6.6.3
    Tidio Chat: by Tidio Ltd. – 5.4.3
    WooCommerce Smart COD: by woosmartcod.com – 1.6.1
    Payment Gateway – Alpha Bank for WooCommerce: by Papaki – 1.3.7
    Product Feed PRO for WooCommerce: by AdTribes.io – 11.9.3
    WooCommerce: by Automattic – 7.0.0
    Woodmart Core: by – 1.0.35
    WPML Media: by OnTheGoSystems – 2.7.1
    WPML String Translation: by OnTheGoSystems – 3.2.2
    YITH WooCommerce Featured Audio and Video Content Premium: by YITH – 1.3.17

    ### Inactive Plugins (7) ###

    bunny.net: by bunny.net – 1.0.8
    Facebook for WooCommerce: by Facebook – 2.6.27
    MailChimp for WordPress Multilingual: by OnTheGoSystems – 0.0.3
    Simple XML Sitemap Generator: by Eric-Oliver M?chler – 2.2.4
    WooCommerce Easy Duplicate Product: by WPGem.com – 0.2.0.1
    WooCommerce Multilingual & Multicurrency: by OnTheGoSystems – 5.0.2
    WP Rocket: by WP Media – 3.8.8

    ### Dropin Plugins (1) ###

    advanced-cache.php: advanced-cache.php

    ### Settings ###

    API Enabled: –
    Force SSL: –
    Currency: EUR (€)
    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: #7 – /shop/
    Cart: #10438 – /cart-2/
    Checkout: #10439 – /checkout-2/
    My account: #10440 – /my-account-2/
    Terms and conditions: #3689 – /terms-of-use/

    ### Theme ###

    Name: Woodmart Child
    Version: 1.0.0
    Author URL: https://xtemos.com
    Child Theme: ?
    Parent Theme Name: Woodmart
    Parent Theme Version: 7.0.3
    Parent Theme Author URL: https://themeforest.net/user/xtemos
    WooCommerce Support: ?

    ### Templates ###

    Overrides: woodmart/woocommerce/archive-product.php
    woodmart/woocommerce/cart/cart-item-data.php
    woodmart/woocommerce/cart/cart.php
    woodmart/woocommerce/cart/cross-sells.php
    woodmart/woocommerce/cart/mini-cart.php
    woodmart/woocommerce/checkout/form-checkout.php
    woodmart/woocommerce/checkout/thankyou.php
    woodmart/woocommerce/content-product-cat.php
    woodmart/woocommerce/content-product.php
    woodmart/woocommerce/content-single-product.php
    woodmart/woocommerce/content-widget-product.php
    woodmart/woocommerce/global/breadcrumb.php
    woodmart/woocommerce/global/form-login.php
    woodmart/woocommerce/global/quantity-input.php
    woodmart/woocommerce/loop/add-to-cart.php
    woodmart/woocommerce/loop/loop-end.php
    woodmart/woocommerce/loop/loop-start.php
    woodmart/woocommerce/loop/no-products-found.php
    woodmart/woocommerce/loop/orderby.php
    woodmart/woocommerce/loop/pagination.php
    woodmart/woocommerce/loop/sale-flash.php
    woodmart/woocommerce/myaccount/form-login.php
    woodmart/woocommerce/product-searchform.php
    woodmart/woocommerce/single-product/add-to-cart/grouped.php
    woodmart/woocommerce/single-product/add-to-cart/variable.php
    woodmart/woocommerce/single-product/meta.php
    woodmart/woocommerce/single-product/product-attributes.php
    woodmart/woocommerce/single-product/product-image.php
    woodmart/woocommerce/single-product/product-thumbnails.php
    woodmart/woocommerce/single-product/rating.php
    woodmart/woocommerce/single-product/related.php
    woodmart/woocommerce/single-product/sale-flash.php
    woodmart/woocommerce/single-product/tabs/description.php
    woodmart/woocommerce/single-product/tabs/tabs.php
    woodmart/woocommerce/single-product/title.php
    woodmart/woocommerce/single-product/up-sells.php
    woodmart/woocommerce/single-product.php

    ### 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
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page

    Disabled Features: minified-js
    new-product-management-experience
    settings

    Daily Cron: ? Next scheduled: 2022-10-20 00:40:24 +03:00
    Options: ?
    Notes: 103
    Onboarding: completed

    ### Action Scheduler ###

    Complete: 1,390
    Oldest: 2022-09-18 09:32:46 +0300
    Newest: 2022-10-19 09:14:25 +0300

    Failed: 12,361
    Oldest: 2021-02-09 09:08:08 +0200
    Newest: 2022-10-17 13:30:21 +0300

    Pending: 1
    Oldest: 2022-10-19 16:52:35 +0300
    Newest: 2022-10-19 16:52:35 +0300

    ### Status report information ###

    Generated at: 2022-10-19 09:14:44 +03:00
    `

    Hi there @vasilis4sar ??

    Facebook for WooCommerce: by Facebook – 2.6.27

    I see that the Facebook for WooCommerce plugin is updated to the latest version, which has been reported that fixes the error.

    Have you already tried activating the plugin?
    If not, upon activating it, does the issue persist?

    Let us know how it goes!

    • This reply was modified 2 years, 1 month ago by anastas10s. Reason: typos
    Thread Starter vasilis4sar

    (@vasilis4sar)

    Hello,

    When I enabled it, the problem remains.

    Thank you

    Hello @vasilis4sar ??

    When I enabled it, the problem remains.

    Thanks for clarifying.

    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php

    Could you try the following, please:
    – Disable any caching plugin, or server side caching
    – Disable all other plugins, except WooCommerce and Facebook for WooCommerce
    – Clear browser cache
    – See it the issue persists or otherwise

    Tools to help with troubleshooting

    Meks Quick Plugin Disabler will remember what plugins you had active when you switch it back on.

    You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    Please let us know how that goes.

    Thread Starter vasilis4sar

    (@vasilis4sar)

    Hello,

    1)Clear cache
    2)Deactive all plugins
    3)Default Theme

    When I try to delete product.
    Fatal error: Uncaught Error: Call to a member function delete_product_group() on null in /home/papelfurs/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php:3430
    https://prnt.sc/8VPCNmlOASGS

    When I try to duplicate product. (without extra plugin)
    Fatal error: Uncaught Error: Call to a member function get_facebook_id() on null in /home/papelfurs/public_html/wp-content/plugins/facebook-for-woocommerce/facebook-commerce.php:3575 Stack trace
    https://prnt.sc/7HDGOeZX4Gz0

    Thank you

    Hello,

    To get a better idea, please share a copy of any fatal error log found under WooCommerce > System Status > Logs (In case any other errors are visible). Thanks.

    Thread Starter vasilis4sar

    (@vasilis4sar)

    method: GET
    uri: https://graph.facebook.com/v13.0/260063135637238?fields=name
    user-agent: Facebook-for-WooCommerce/2.6.27 (WooCommerce/7.0.0; WordPress/6.0.2)
    body:
    duration: 0.14535s
    
    10-17-2022 @ 14:06:19 - Response
    code: 200
    message: OK
    body: {"name":"PAPEL FURS - \u039a\u03b1\u03c4\u03ac\u03bb\u03bf\u03b3\u03bf\u03c2 wordpress","id":"260063135637238"}

    Hello

    Thanks for the info.

    Failed: 12,361
    Pending: 1

    I was checking again the system report and the site is showing a lot of failed actions. You can check much better the cron jobs using a plugin like WP Crontrol it will help to identify what is not running properly.

    Also, you can navigate to WooCommerce > status > scheduled actions > pending, then run the pending action (if applicable). Does this make a difference?

    Let us know how it goes.

    Thread Starter vasilis4sar

    (@vasilis4sar)

    Hello,

    Thank you for the support.

    The pending schedule action is “woocommerce_cleanup_draft_orders”.

    It was not fixed.

    Kalispera @vasilis4sar,

    Could you go ahead and, under WooCommerce > Status > Tools, clear:
    – WooCommerce transients
    – Expired transients
    – Regenerate Product lookup tables
    – Recount terms

    Additionally, if a development environment is available, go ahead with Clear customer sessions over there.

    You can clone your site to a staging environment and perform tests without modifying your live site or impacting customers. Many hosts provide staging facilities, so it’s worth checking in with them. It’s also possible to do it using the free WP Staging plugin.

    Let us know how it goes!

    • This reply was modified 2 years, 1 month ago by anastas10s. Reason: WordPress staging option
Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Fatal error: Uncaught Error: Call to a member function get_facebook_id() on null’ is closed to new replies.