• PHP Warning:  array_map(): Expected parameter 2 to be an array, bool given in /wp-content/plugins/woocommerce/includes/abstracts/abstract-wc-product.php on line 1216

    Hey guys,

    everytime my cronjob run, I get a mail with that message. Does anybody know how to fix that? Would be highly appreciated!

    I do use a third party plugin to create products. Might that be a culprit?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi there @hahnes,

    Thank you for reaching out.

    This is quite a unique error, but I’ll be happy to help you troubleshoot this further. As this seems to be related to your cron job, could you please share further details on how your site is set up. You’ll need to share your system status report, which you can find via WooCommerce > Status > Get system report > Copy for support.

    Once we have a better understanding of your environment, we’ll be able to suggest further troubleshooting steps.

    Cheers!

    Thread Starter wordpressnetwork

    (@hahnes)

    Sure thing. Thanks for your support!

    WordPress Environment<br><br>WC Version: 9.3.3<br>Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.<br>Action Scheduler Version: ? 3.8.1<br>Log Directory Writable: ?<br>WP Version: 6.6.2<br>WP Multisite: –<br>WP Memory Limit: 2 GB<br>WP Debug Mode: –<br>WP Cron: –<br>Language: de_DE<br>External object cache: ? Server Environment<br><br>Server Info: LiteSpeed<br>PHP Version: 7.4.33<br>PHP Post Max Size: 8 MB<br>PHP Time Limit: 3000<br>PHP Max Input Vars: 1000<br>cURL Version: 7.87.0<br>OpenSSL/1.1.1w<br><br>SUHOSIN Installed: –<br>MySQL Version: 5.5.5-10.11.9-MariaDB-cll-lve<br>Max Upload Size: 2 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<br><br>WC Database Version: 9.3.3<br>WC Database Prefix: d_<br>Total Database Size: 803.19MB<br>Database Data Size: 471.44MB<br>Database Index Size: 331.75MB<br>d_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>d_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>d_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_aal_products: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_aal_request_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_aal_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_actionscheduler_actions: Data: 33.08MB + Index: 34.20MB + Engine InnoDB<br>d_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_actionscheduler_logs: Data: 25.08MB + Index: 17.03MB + Engine InnoDB<br>d_alm: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_atkp_lists: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_atkp_products: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_atkp_queues: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_atkp_queues_entries: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_cky_banners: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>d_cky_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_cky_cookie_categories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_cmplz_cookiebanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_cmplz_cookies: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_cmplz_dnsmpd: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_cmplz_services: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_commentmeta: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>d_comments: Data: 0.02MB + Index: 0.13MB + Engine InnoDB<br>d_dfrcs_compsets: Data: 8.02MB + Index: 0.02MB + Engine InnoDB<br>d_dfrps_temp_product_data: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_litespeed_img_optming: Data: 0.06MB + Index: 0.08MB + Engine InnoDB<br>d_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_litespeed_url_file: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>d_mclean_refs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_mclean_scan: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_options: Data: 10.02MB + Index: 0.42MB + Engine InnoDB<br>d_plugin_jci_pro_templates: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>d_postmeta: Data: 191.17MB + Index: 201.11MB + Engine InnoDB<br>d_posts: Data: 152.41MB + Index: 14.14MB + Engine InnoDB<br>d_seopress_content_analysis: Data: 5.39MB + Index: 0.02MB + Engine InnoDB<br>d_seopress_seo_issues: Data: 2.45MB + Index: 0.45MB + Engine InnoDB<br>d_seopress_significant_keywords: Data: 21.55MB + Index: 22.36MB + Engine InnoDB<br>d_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_termmeta: Data: 0.13MB + Index: 0.39MB + Engine InnoDB<br>d_terms: Data: 0.08MB + Index: 0.09MB + Engine InnoDB<br>d_term_relationships: Data: 5.08MB + Index: 4.13MB + Engine InnoDB<br>d_term_taxonomy: Data: 0.13MB + Index: 0.16MB + Engine InnoDB<br>d_to_buffer_log: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>d_usermeta: Data: 0.05MB + Index: 0.06MB + Engine InnoDB<br>d_users: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>d_vi_wbe_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB<br>d_wc_admin_note_actions: Data: 0.06MB + Index: 0.02MB + Engine InnoDB<br>d_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>d_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>d_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>d_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>d_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>d_wc_product_attributes_lookup: Data: 4.09MB + Index: 3.13MB + Engine InnoDB<br>d_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wc_product_meta_lookup: Data: 4.52MB + Index: 12.30MB + Engine InnoDB<br>d_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wpf_filters: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_wpf_meta_data: Data: 6.52MB + Index: 13.58MB + Engine InnoDB<br>d_wpf_meta_keys: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wpf_meta_values: Data: 0.02MB + Index: 6.34MB + Engine InnoDB<br>d_wpf_meta_values_bk: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wpf_modules: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wpf_modules_type: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_wpf_usage_stat: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>d_wt_iew_action_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>d_wt_iew_mapping_template: Data: 0.02MB + Index: 0.00MB + Engine InnoDB Post Type Counts<br><br>aal_button: 7<br>acf-field: 1<br>acf-field-group: 1<br>amazon_auto_links: 3<br>attachment: 21960<br>cinza_slider: 4<br>custom_css: 3<br>datafeedr-productset: 584<br>gp_elements: 27<br>mc4wp-form: 1<br>nav_menu_item: 164<br>page: 30<br>post: 9<br>product: 22305<br>revision: 1780<br>wp_block: 1<br>wp_global_styles: 1<br>wp_navigation: 1<br>wp_show_posts: 5 Security<br><br>Secure connection (HTTPS): ?<br>Hide errors from visitors: ? Active Plugins (37)<br><br>Secure Custom Fields: by www.remarpro.com – 6.3.10.2<br>Custom Buttons for WooCommerce: by Puri.io – 1.2.3<br>Change Empty Trash Time: by Carlos Martínez Romero – 1.0.4<br>Cinza Slider: by Cinza Web Design – 1.3.0<br>Complianz | GDPR/CCPA Cookie Consent: by Really Simple Plugins – 7.1.4<br>CookieYes | GDPR Cookie Consent: by CookieYes – 3.2.7<br>Datafeedr Product Import Anti Cache (sh): by –<br>Datafeedr API: by datafeedr.com – 1.3.20<br>Datafeedr Comparison Sets: by datafeedr.com – 0.9.71<br>Datafeedr Product Sets: by datafeedr.com – 1.3.23<br>Datafeedr WooCommerce Importer: by datafeedr.com – 1.3.10<br>Disable Bloat for WordPress & WooCommerce: by Disable Bloat – 3.4.9<br>Duplicate Page: by mndpsingh287 – 4.5.4<br>DX Delete Attached Media: by nofearinc – 2.0.6<br>GenerateBlocks: by Tom Usborne – 1.9.1<br>Cron Setup and Monitor - Get URL Cron: by Bernhard Kux – 1.5.3<br>GP Premium: by Tom Usborne – 2.5.0<br>OMGF: by Daan from Daan.dev – 5.9.1<br>Image Regenerate & Select Crop: by Iulia Cazan – 8.0.3<br>Index WP MySQL For Speed: by Oliver Jones<br>Rick James – 1.5.2<br><br>JSON Content Importer Pro: by Bernhard Kux – 3.8.6<br>LiteSpeed Cache: by LiteSpeed Technologies – 6.5.2<br>WooCommerce Load More Products: by BeRocket – 1.2.1<br>Maintenance: by WebFactory Ltd – 4.15<br>NinjaFirewall (WP Edition): by The Ninja Technologies Network – 4.7<br>Product Import Export for WooCommerce: by WebToffee – 2.4.8<br>Resize Image After Upload: by ShortPixel – 1.8.6<br>WooCommerce External Product New Tab: by Stuart Duff – 1.0.5<br>Product Filter by WBW: by woobewoo – 2.7.3<br>WooCommerce: by Automattic – 9.3.3<br>SEOPress PRO: by The SEO Guys at SEOPress – 8.3<br>SEOPress: by The SEO Guys at SEOPress – 8.3.1 Inactive Plugins (4)<br><br>Auto Prune Posts: by Ramon Fincken – 3.0.0<br>Duplicator: by Duplicator – 1.5.11.1<br>PublishPress Future: by PublishPress – 4.1.0<br>WP to Buffer: by WP Zinc – 3.9.3 Dropin Plugins ()<br><br>advanced-cache.php: advanced-cache.php<br>object-cache.php: LiteSpeed Cache - Object Cache (Drop-in) Must Use Plugins (3)<br><br>Index WP MySQL For Speed Upgrade Filter for mu-plugins.: by – 1.4.11<br>NinjaFirewall WP (mu-plugin): by The Ninja Technologies Network – 1.0<br>WordPress automation by Web-Application Manager: by – Settings<br><br>Legacy API Enabled: –<br>Force SSL: –<br>Currency: EUR (€)<br>Currency Position: right_space<br>Thousand Separator: .<br>Decimal Separator: ,<br>Number of Decimals: 2<br>Taxonomies: Product Types: external (external)<br>grouped (grouped)<br>simple (simple)<br>variable (variable)<br><br>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)<br><br>Connected to WooCommerce.com: –<br>Enforce Approved Product Download Directories: ?<br>HPOS feature enabled: ?<br>Order datastore: Automattic\WooCommerce\Internal\DataStores\Orders\OrdersTableDataStore<br>HPOS data sync enabled: – Logging<br><br>Enabled: ?<br>Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2<br>Retention period: 30 days<br>Level threshold: –<br>Log directory size: 22 KB WC Pages<br><br>Shop base: #8 - /shop/<br>Cart: #98427 - /warenkorb/ - Contains the woocommerce/cart block<br>Checkout: #98428 - /kasse/ - Contains the woocommerce/checkout block<br>My account: #11 - /mein-konto/<br>Terms and conditions: ? Page not set Theme<br><br>Name: GeneratePress Child<br>Version: 0.1<br>Author URL: https://tomusborne.com<br>Child Theme: ?<br>Parent Theme Name: GeneratePress<br>Parent Theme Version: 3.5.1<br>Parent Theme Author URL: https://tomusborne.com<br>WooCommerce Support: ? Templates<br><br>Overrides: – Admin<br><br>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>pattern-toolkit-full-composability<br>product-custom-fields<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<br>printful<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<br>launch-your-store<br><br>Disabled Features: experimental-blocks<br>minified-js<br>product-pre-publish-modal<br>settings<br>async-product-editor-category-field<br>product-editor-template-system<br>blueprint<br>reactify-classic-payments-settings<br><br>Daily Cron: ? Next scheduled: 2024-11-13 16:31:40 +02:00<br>Options: ?<br>Notes: 71<br>Onboarding: skipped Action Scheduler<br><br>Complete: 98,956<br>Oldest: 2024-10-12 16:40:05 +0000<br>Newest: 2024-11-12 16:30:03 +0000<br><br>Failed: 580<br>Oldest: 2023-02-15 18:05:09 +0000<br>Newest: 2024-11-12 13:51:47 +0000<br><br>Pending: 1<br>Oldest: 2024-11-13 09:00:05 +0000<br>Newest: 2024-11-13 09:00:05 +0000 Status report information<br><br>Generated at: 2024-11-12 18:37:44 +02:00<br>

    Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello wordpressnetwork,

    Thank you for your reply.

    I reviewed the report and noticed you have PHP version 7.4.33.
    I recommend upgrading your PHP to at least 8.1 for better performance and compatibility.

    Having said that, the issue doesn’t need to be caused by the PHP version.
    The issue could not be caused by some other plugin incorrectly calling a WooCommerce function.

    I noticed you have 37 active plugins.
    I suggest you perform a conflict test to determine the cause of the error.

    Looking forward to your response. ??

    Thread Starter wordpressnetwork

    (@hahnes)

    Hello Zubair,

    thanks for your advice. I will update the PHP version and then cycle through all plugins if the problem still persists.

    Thanks a lot!

    Plugin Support Beauty of Code (woo-hc)

    (@beautyofcode)

    Hey @hahnes ,

    Sounds like a plan! Please let us know how this goes, we’re happy to dig into this more if the conflict test makes no difference.??

    Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.