woocommerce / facebook-for-woocommerce

A first-party extension plugin built for WooCommerce. Development is managed by Ventures.
https://woocommerce.com/products/facebook/
GNU General Public License v2.0
210 stars 137 forks source link

Problem with publishing or updating product #2546

Closed smpol closed 1 year ago

smpol commented 1 year ago

Hello I have a problem, well through the Facebook for Woocommerce plugin I cannot add or update products on the site. After disabling the plugin, I can already add products or update them normally. WordPress logs show the entry: PHP Warning array_filter() expects parameter 2 to be a valid callback, no array or string given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/AJAX.php on line 199 I tried to uninstall and reinstall plugin but I still have this problem. How to fix that? I used the newest vesrion.

rawdreeg commented 1 year ago

Hi @smpol. We need some additional information in order to debug this.

Can you please include logs, details about your WordPress environment (from WooCommerce Status Report), and any other relevant information about your site?

Frankmagan commented 1 year ago

Exactly the same thing happens to me

smpol commented 1 year ago

Hi @smpol. We need some additional information in order to debug this.

Can you please include logs, details about your WordPress environment (from WooCommerce Status Report), and any other relevant information about your site?

Okay here is a logs from Woocommerce:


### WordPress Environment ###

WordPress address (URL):
Site address (URL):
WC Version: 7.7.2
REST API Version: ✔ 7.7.2
WC Blocks Version: ✔ 10.0.6
Action Scheduler Version: ✔ 3.6.0
Log Directory Writable: ✔
WP Version: 6.2.2
WP Multisite: –
WP Memory Limit: 1 000 MB
WP Debug Mode: ✔
WP Cron: ✔
Language: pl_PL
External object cache: –

### Server Environment ###

Server Info: LiteSpeed
PHP Version: 7.4.33
PHP Post Max Size: 500 MB
PHP Time Limit: 300
PHP Max Input Vars: 100000
cURL Version: 7.87.0
OpenSSL/1.1.1p

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

### Database ###

WC Database Version: 7.7.2
WC Database Prefix: wp_
Całkowity rozmiar bazy danych: 86.83MB
Rozmiar bazy danych: 75.37MB
Rozmiar indeksu bazy danych: 11.46MB
wp_woocommerce_sessions: Dane: 0.05MB + Indeks: 0.02MB + Silnik InnoDB
wp_woocommerce_api_keys: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_woocommerce_attribute_taxonomies: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_woocommerce_downloadable_product_permissions: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_woocommerce_order_items: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_woocommerce_order_itemmeta: Dane: 0.16MB + Indeks: 0.14MB + Silnik InnoDB
wp_woocommerce_tax_rates: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_woocommerce_tax_rate_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_woocommerce_shipping_zones: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_woocommerce_shipping_zone_locations: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_woocommerce_shipping_zone_methods: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_woocommerce_payment_tokens: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_woocommerce_payment_tokenmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_woocommerce_log: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_actionscheduler_actions: Dane: 1.05MB + Indeks: 0.36MB + Silnik InnoDB
wp_actionscheduler_claims: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_actionscheduler_groups: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_actionscheduler_logs: Dane: 0.20MB + Indeks: 0.17MB + Silnik InnoDB
wp_aioseo_cache: Dane: 0.08MB + Indeks: 0.03MB + Silnik InnoDB
wp_aioseo_notifications: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_aioseo_posts: Dane: 0.09MB + Indeks: 0.02MB + Silnik InnoDB
wp_cli_cookie_scan: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_cli_cookie_scan_categories: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_cli_cookie_scan_cookies: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_cli_cookie_scan_url: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_cli_scripts: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_commentmeta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_comments: Dane: 0.13MB + Indeks: 0.09MB + Silnik InnoDB
wp_eum_logs: Dane: 9.52MB + Indeks: 0.00MB + Silnik InnoDB
wp_gdpr_cc_options: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_gla_attribute_mapping_rules: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_gla_budget_recommendations: Dane: 0.22MB + Indeks: 0.14MB + Silnik InnoDB
wp_gla_merchant_issues: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_gla_shipping_rates: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_gla_shipping_times: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_jetpack_waf_blocklog: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_links: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_custom_fields: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_dynamic_segment_filters: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_feature_flags: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_forms: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_mailpoet_log: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_mailpoet_mapping_to_external_entities: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_newsletters: Dane: 0.03MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_newsletter_links: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_mailpoet_newsletter_option: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_newsletter_option_fields: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_newsletter_posts: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_newsletter_segment: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_newsletter_templates: Dane: 2.52MB + Indeks: 0.00MB + Silnik InnoDB
wp_mailpoet_scheduled_tasks: Dane: 0.06MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_scheduled_task_subscribers: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_segments: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_sending_queues: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_settings: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_statistics_bounces: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_mailpoet_statistics_clicks: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_mailpoet_statistics_forms: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_statistics_newsletters: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_statistics_opens: Dane: 0.02MB + Indeks: 0.08MB + Silnik InnoDB
wp_mailpoet_statistics_unsubscribes: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_mailpoet_statistics_woocommerce_purchases: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_mailpoet_stats_notifications: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_subscribers: Dane: 0.02MB + Indeks: 0.13MB + Silnik InnoDB
wp_mailpoet_subscriber_custom_field: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_subscriber_ips: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_subscriber_segment: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_subscriber_tag: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_mailpoet_tags: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_user_agents: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_mailpoet_user_flags: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_options: Dane: 5.30MB + Indeks: 0.19MB + Silnik InnoDB
wp_parcelpanel_courier: Dane: 0.27MB + Indeks: 0.00MB + Silnik InnoDB
wp_parcelpanel_location: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_parcelpanel_tracking: Dane: 0.19MB + Indeks: 0.05MB + Silnik InnoDB
wp_parcelpanel_tracking_items: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_postmeta: Dane: 5.52MB + Indeks: 3.66MB + Silnik InnoDB
wp_posts: Dane: 2.33MB + Indeks: 0.31MB + Silnik InnoDB
wp_revslider_css: Dane: 0.13MB + Indeks: 0.02MB + Silnik InnoDB
wp_revslider_css_bkp: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_revslider_layer_animations: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_revslider_layer_animations_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_revslider_navigations: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_revslider_navigations_bkp: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_revslider_sliders: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_revslider_sliders_bkp: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_revslider_slides: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_revslider_slides_bkp: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_revslider_static_slides: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_revslider_static_slides_bkp: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_seraph_accel_queue: Dane: 0.05MB + Indeks: 0.06MB + Silnik InnoDB
wp_shopmagic_automation_outcome: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_shopmagic_automation_outcome_logs: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_shopmagic_cart: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_shopmagic_guest: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_shopmagic_guest_meta: Dane: 0.08MB + Indeks: 0.02MB + Silnik InnoDB
wp_shopmagic_marketing_lists: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_shopmagic_optin_email: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_shopmagic_tracked_emails: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_shopmagic_tracked_emails_clicks: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_termmeta: Dane: 1.52MB + Indeks: 1.83MB + Silnik InnoDB
wp_terms: Dane: 0.05MB + Indeks: 0.03MB + Silnik InnoDB
wp_term_relationships: Dane: 0.09MB + Indeks: 0.06MB + Silnik InnoDB
wp_term_taxonomy: Dane: 0.05MB + Indeks: 0.03MB + Silnik InnoDB
wp_usermeta: Dane: 0.17MB + Indeks: 0.09MB + Silnik InnoDB
wp_users: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_wc_admin_notes: Dane: 0.05MB + Indeks: 0.00MB + Silnik InnoDB
wp_wc_admin_note_actions: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wc_category_lookup: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wc_customer_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_wc_download_log: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_wc_order_coupon_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_wc_order_product_lookup: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_wc_order_stats: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_wc_order_tax_lookup: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_wc_product_attributes_lookup: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wc_product_download_directories: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wc_product_meta_lookup: Dane: 0.06MB + Indeks: 0.09MB + Silnik InnoDB
wp_wc_rate_limits: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wc_reserved_stock: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wc_tax_rate_classes: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wc_webhooks: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wfblockediplog: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wfblocks7: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_wfconfig: Dane: 0.47MB + Indeks: 0.00MB + Silnik InnoDB
wp_wfcrawlers: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wffilechanges: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wffilemods: Dane: 21.55MB + Indeks: 0.00MB + Silnik InnoDB
wp_wfhits: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_wfhoover: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wfissues: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_wfknownfilelist: Dane: 10.52MB + Indeks: 0.00MB + Silnik InnoDB
wp_wflivetraffichuman: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wflocs: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wflogins: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_wfls_2fa_secrets: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_wfls_settings: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wfnotifications: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wfpendingissues: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_wfreversecache: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_wfsnipcache: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_wfstatus: Dane: 0.14MB + Indeks: 0.09MB + Silnik InnoDB
wp_wftrafficrates: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_woocommerce_p24_data: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_woocommerce_p24_order_map: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_woocommerce_p24_subscription: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_wpml_mails: Dane: 8.52MB + Indeks: 0.00MB + Silnik InnoDB
wp_wpvivid_options: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_yoast_indexable: Dane: 1.09MB + Indeks: 0.13MB + Silnik InnoDB
wp_yoast_indexable_hierarchy: Dane: 0.05MB + Indeks: 0.05MB + Silnik InnoDB
wp_yoast_migrations: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_yoast_primary_term: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_yoast_prominent_words: Dane: 0.02MB + Indeks: 0.05MB + Silnik InnoDB
wp_yoast_seo_links: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbscrm_api_keys: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_admlog: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_aka: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_zbs_companies: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_zbs_contacts: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_zbs_customfields: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_zbs_dbmigration_meta: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_dbmigration_posts: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_zbs_events: Dane: 0.02MB + Indeks: 0.06MB + Silnik InnoDB
wp_zbs_event_reminders: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_externalsources: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_zbs_forms: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_invoices: Dane: 0.02MB + Indeks: 0.08MB + Silnik InnoDB
wp_zbs_lineitems: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_logs: Dane: 0.02MB + Indeks: 0.02MB + Silnik InnoDB
wp_zbs_meta: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_notifications: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_object_links: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_quotes: Dane: 0.02MB + Indeks: 0.08MB + Silnik InnoDB
wp_zbs_quotes_templates: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_security_log: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_segments: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_segments_conditions: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_settings: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_sys_cronmanagerlogs: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_sys_email: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_sys_email_hist: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_tags: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_tags_links: Dane: 0.02MB + Indeks: 0.03MB + Silnik InnoDB
wp_zbs_tax_table: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_temphash: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_tracking: Dane: 0.02MB + Indeks: 0.00MB + Silnik InnoDB
wp_zbs_transactions: Dane: 0.02MB + Indeks: 0.14MB + Silnik InnoDB

### Post Type Counts ###

attachment: 931
cookielawinfo: 6
jb_store_css: 7
jp_img_sitemap: 1
jp_sitemap: 1
jp_sitemap_master: 1
mailpoet_page: 1
nav_menu_item: 12
page: 10
post: 1
product: 211
product_variation: 34
revision: 118
shop_coupon: 1
shop_order: 107
shopmagic_automation: 1
wp_global_styles: 1

### Security ###

Secure connection (HTTPS): ✔
Hide errors from visitors: ❌Komunikaty o błędach nie powinny być widoczne dla użytkowników.

### Active Plugins (27) ###

WPML SEO: przez OnTheGoSystems – 2.0.2
Cloudflare: przez Cloudflare
Inc. – 4.12.0

Facebook for WooCommerce: przez Facebook – 3.0.24
Furgonetka.pl: przez Furgonetka.pl – 1.2.4
Zgodności ciasteczek z RODO: przez Moove Agency – 4.12.3
Google Listings and Ads: przez WooCommerce – 2.4.9
Site Kit od Google: przez Google – 1.102.0
Health Check & Troubleshooting: przez Społeczność WordPress.org – 1.6.0
HookMeUp – Unlock and use strategic spots in any WooCommerce Theme: przez Get Bowtied – 1.8
Jetpack Boost: przez Automattic - Jetpack Site Speed team – 1.9.1
Jetpack Protect: przez Automattic - Jetpack Security team – 1.4.0
Jetpack: przez Automattic – 12.2
WPBakery Page Builder: przez Michael M - WPBakery.com – 6.7.0
Omnibus: przez Marcin Pietrzak – 2.3.4
Parcel Panel Order Tracking for WooCommerce: przez Parcel Panel – 3.0.11
Product Blocks for WooCommerce: przez GetBowtied – 1.6
WooCommerce Przelewy24 Payment Gateway: przez Przelewy24 Sp. z o.o. – 1.0.6
ShopMagic dla WooCommerce: przez WP Desk – 3.0.14
Easy Updates Manager: przez Easy Updates Manager Team – 9.0.16
The Hanger Extender: przez GetBowtied – 1.7.3
UpdraftPlus - Kopia/przywracanie: przez UpdraftPlus.Com
DavidAnderson – 1.23.4

WooSwatches - Woocommerce Color or Image Variation Swatches: przez WooMatrix – 3.3.11
WooCommerce: przez Automattic – 7.7.2
Yoast SEO: przez Zespół Yoast – 20.8
WP Debugging: przez Andy Fragen – 2.11.22
WP Mail Logging: przez WP Mail Logging Team – 1.11.1
Yoast SEO: WooCommerce: przez Zespół Yoast – 14.8

### Inactive Plugins (1) ###

Disable Sales for WooCommerce: przez Michal Trykoszko – 1.0.8

### Must Use Plugins (2) ###

Health Check Troubleshooting Mode: przez  – 1.9.0
WordPress automation by Installatron: przez  –

### Settings ###

API Enabled: –
Force SSL: –
Currency: PLN (zł)
Currency Position: right_space
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: –
HPOS feature screen enabled: –
HPOS feature enabled: –
Order datastore: WC_Order_Data_Store_CPT
HPOS data sync enabled: –

### WC Pages ###

Strona sklepu: #12 - /sklep/
Koszyk: #13 - /koszyk/
Zamówienie: #14 - /zamowienie/
Moje konto: #15 - /moje-konto/
Regulamin: #26 - /regulamin/

### Theme ###

Name: The Hanger
Version: 1.7.2
Author URL: https://www.getbowtied.com/
Child Theme: ❌ – Jeśli modyfikujesz WooCommerce lub motyw nadrzędny
którego nie jesteś autorem
polecamy używanie motywu potomnego. Zobacz: Jak tworzyć motywy potomne

WooCommerce Support: ✔

### Templates ###

Overrides: the-hanger/woocommerce/archive-product.php
the-hanger/woocommerce/content-product.php
the-hanger/woocommerce/content-single-product.php
the-hanger/woocommerce/loop/add-to-cart.php
the-hanger/woocommerce/single-product/tabs/tabs.php
the-hanger/woocommerce/single-product.php

### Admin ###

Enabled Features: activity-panels
analytics
coupons
customer-effort-score-tracks
import-products-task
experimental-fashion-sample-products
shipping-smart-defaults
shipping-setting-tour
homescreen
marketing
mobile-app-banner
navigation
onboarding
onboarding-tasks
remote-inbox-notifications
remote-free-extensions
payment-gateway-suggestions
shipping-label-banner
subscriptions
store-alerts
transient-notices
woo-mobile-welcome
wc-pay-promotion
wc-pay-welcome-page

Disabled Features: product-block-editor
minified-js
new-product-management-experience
product-variation-management
settings

Daily Cron: ✔ Next scheduled: 2023-06-11 19:04:02 +02:00
Options: ✔
Notes: 44
Onboarding: completed

### Action Scheduler ###

Complete: 625
Oldest: 2023-05-11 21:01:38 +0200
Newest: 2023-06-11 19:33:57 +0200

Failed: 95
Oldest: 2022-12-31 21:39:38 +0100
Newest: 2023-06-11 16:47:04 +0200

Pending: 5
Oldest: 2023-06-12 05:00:00 +0200
Newest: 2023-07-01 15:21:56 +0200

### Status report information ###

Generated at: 2023-06-11 20:05:18 +02:00
rawdreeg commented 1 year ago

Thanks @smpol ,

I was able to reproduce the PHP warning notice:

PHP Warning array_filter() expects parameter 2 to be a valid callback, no array or string given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/AJAX.php on line 199

but even with the warning, I can save a product with no issues.

I created a PR to fix the issue:

https://github.com/woocommerce/facebook-for-woocommerce/pull/2556

In /public_html/wp-content/plugins/facebook-for-woocommerce/includes/AJAX.php on line 199

Replace

$product_tags = array_filter( $product_tags, null );

with

$product_tags = array_filter( $product_tags );

Can you try to make this change on your staging site and confirm this fixes the issue? Otherwise, there could be another problem that will need to be addressed.

smpol commented 1 year ago

$product_tags = array_filter( $product_tags, null );

Thanks @smpol ,

I was able to reproduce the PHP warning notice:

PHP Warning array_filter() expects parameter 2 to be a valid callback, no array or string given in /public_html/wp-content/plugins/facebook-for-woocommerce/includes/AJAX.php on line 199

but even with the warning, I can save a product with no issues.

I created a PR to fix the issue:

2556

In /public_html/wp-content/plugins/facebook-for-woocommerce/includes/AJAX.php on line 199

Replace

$product_tags = array_filter( $product_tags, null );

with

$product_tags = array_filter( $product_tags );

Can you try to make this change on your staging site and confirm this fixes the issue? Otherwise, there could be another problem that will need to be addressed.

Yes! That fix my problem and now editing products work! Thank you very much for help

rawdreeg commented 1 year ago

The fix will be available on our next release.

ecgan commented 1 year ago

The fix for this issue has been released in version https://github.com/woocommerce/facebook-for-woocommerce/releases/tag/3.0.25.