• Resolved Serkan Emir

    (@serkanemir)


    The error occurred when I was in WooCommerce trying to look at reports from 2017. I cannot view previous years’ reports. Can you help please?

    Log:

    CRITICAL Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /www/xxx/public/wp-includes/class-wp-hook.php:308 Stack trace: #0 /www/xxx/public/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(”, NULL) #1 /www/xxx/public/wp-includes/plugin.php(565): WP_Hook->do_action(NULL) #2 /www/xxx/public/wp-cron.php(191): do_action_ref_array(‘wp_privacy_dele…’, NULL) #3 {main} thrown in /www/xxx/public/wp-includes/class-wp-hook.php on line 308

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hi @serkanemir

    Could you please share a copy of your site’s System Status Report so that we can better understand your site’s current environment? You can find this by navigating to WooCommerce → Status → select Get system report and then Download for support. This will download a TXT file that has the contents of the SSR to share with us.

    On the other hand, I recommend ensuring that you have the latest version of your plugins and theme.

    Thread Starter Serkan Emir

    (@serkanemir)

    Hi @aguinaldodarla,

    System Report;

    ` WordPress Environment
    
    WordPress address (URL): https://certblaster.com<br>Site address (URL): https://certblaster.com<br>WC Version: 8.3.1<br>REST API Version: ✔ 8.3.1<br>WC Blocks Version: ✔ 11.4.9<br>Action Scheduler Version: ✔ 3.7.0<br>Log Directory Writable: ✔<br>WP Version: 6.4.1<br>WP Multisite: –<br>WP Memory Limit: 256 MB<br>WP Debug Mode: ✔<br>WP Cron: –<br>Language: en_US<br>External object cache: – Server Environment
    
    Server Info: nginx/1.24.0<br>PHP Version: 8.0.30<br>PHP Post Max Size: 128 MB<br>PHP Time Limit: 300<br>PHP Max Input Vars: 10000<br>cURL Version: 7.68.0<br>OpenSSL/1.1.1f
    
    SUHOSIN Installed: –<br>MySQL Version: 10.11.5-MariaDB-1:10.11.5+maria~ubu2004<br>Max Upload Size: 128 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
    
    WC Database Version: 8.3.1<br>WC Database Prefix: wp_<br>Total Database Size: 1087.46MB<br>Database Data Size: 897.65MB<br>Database Index Size: 189.81MB<br>wp_woocommerce_sessions: Data: 1.52MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_order_items: Data: 2.52MB + Index: 0.45MB + Engine InnoDB<br>wp_woocommerce_order_itemmeta: Data: 114.56MB + Index: 8.03MB + Engine InnoDB<br>wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_actions: Data: 0.34MB + Index: 0.44MB + Engine InnoDB<br>wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_actionscheduler_logs: Data: 0.27MB + Index: 0.19MB + Engine InnoDB<br>wp_ce_certificate_keys: Data: 2.52MB + Index: 2.52MB + Engine InnoDB<br>wp_commentmeta: Data: 0.27MB + Index: 0.19MB + Engine InnoDB<br>wp_comments: Data: 11.52MB + Index: 10.09MB + Engine InnoDB<br>wp_defender_audit_log: Data: 5.52MB + Index: 0.00MB + Engine InnoDB<br>wp_defender_email_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_defender_lockout: Data: 6.52MB + Index: 0.00MB + Engine InnoDB<br>wp_defender_lockout_log: Data: 5.52MB + Index: 0.00MB + Engine InnoDB<br>wp_defender_scan: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_defender_scan_item: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_duplicator_pro_entities: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_duplicator_pro_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_et_social_stats: Data: 0.22MB + Index: 0.00MB + Engine InnoDB<br>wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_e_notes: Data: 0.02MB + Index: 0.17MB + Engine InnoDB<br>wp_e_notes_users_relations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB<br>wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_mailchimp_jobs: Data: 148.70MB + Index: 0.00MB + Engine InnoDB<br>wp_moove_activity_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_options: Data: 10.22MB + Index: 0.19MB + Engine InnoDB<br>wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_hash: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_images: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_imports: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_postmeta: Data: 369.59MB + Index: 50.16MB + Engine InnoDB<br>wp_posts: Data: 102.33MB + Index: 5.00MB + Engine InnoDB<br>wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_rank_math_analytics_adsense: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rank_math_analytics_ga: Data: 2.52MB + Index: 3.52MB + Engine InnoDB<br>wp_rank_math_analytics_gsc: Data: 55.59MB + Index: 81.38MB + Engine InnoDB<br>wp_rank_math_analytics_inspections: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_rank_math_analytics_keyword_manager: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_rank_math_analytics_objects: Data: 0.17MB + Index: 0.06MB + Engine InnoDB<br>wp_rank_math_internal_links: Data: 2.02MB + Index: 0.20MB + Engine InnoDB<br>wp_rank_math_internal_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_rank_math_redirections: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wp_rank_math_redirections_cache: Data: 0.05MB + Index: 0.02MB + Engine InnoDB<br>wp_responsive_menu: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_shareasale_wc_tracker_datafeeds: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_shareasale_wc_tracker_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_shortpixel_folders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_shortpixel_meta: Data: 0.06MB + Index: 0.03MB + Engine InnoDB<br>wp_shortpixel_postmeta: Data: 3.52MB + Index: 1.28MB + Engine InnoDB<br>wp_shortpixel_queue: Data: 2.09MB + Index: 0.13MB + Engine InnoDB<br>wp_smush_dir_images: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_snippets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_term_relationships: Data: 0.08MB + Index: 0.05MB + Engine InnoDB<br>wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_toolset_associations: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_toolset_connected_elements: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_toolset_post_guid_id: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_toolset_relationships: Data: 0.02MB + Index: 0.08MB + Engine InnoDB<br>wp_toolset_type_sets: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_usermeta: Data: 13.52MB + Index: 17.03MB + Engine InnoDB<br>wp_users: Data: 1.52MB + Index: 0.53MB + Engine InnoDB<br>wp_wc_admin_notes: Data: 0.11MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_admin_note_actions: Data: 0.08MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_customer_lookup: Data: 0.23MB + Index: 0.16MB + Engine InnoDB<br>wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_orders: Data: 0.02MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_orders_meta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_addresses: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wc_order_coupon_lookup: Data: 0.09MB + Index: 0.11MB + Engine InnoDB<br>wp_wc_order_operational_data: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_order_product_lookup: Data: 0.28MB + Index: 0.25MB + Engine InnoDB<br>wp_wc_order_stats: Data: 0.27MB + Index: 0.20MB + Engine InnoDB<br>wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB<br>wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfblockediplog: Data: 0.13MB + Index: 0.00MB + Engine InnoDB<br>wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfconfig: Data: 3.52MB + Index: 0.00MB + Engine InnoDB<br>wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wffilemods: Data: 9.52MB + Index: 0.00MB + Engine InnoDB<br>wp_wfhits: Data: 1.52MB + Index: 0.22MB + Engine InnoDB<br>wp_wfhoover: Data: 2.52MB + Index: 0.27MB + Engine InnoDB<br>wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wfknownfilelist: Data: 6.52MB + Index: 0.00MB + Engine InnoDB<br>wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wflogins: Data: 0.36MB + Index: 0.13MB + Engine InnoDB<br>wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_wfls_role_counts: Data: 0.00MB + Index: 0.00MB + Engine MEMORY<br>wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfnotifications: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB<br>wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfsecurityevents: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB<br>wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB<br>wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wfwaffailures: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_debug_events: Data: 0.05MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpmm_subscribers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_wpr_rocket_cache: Data: 0.27MB + Index: 1.14MB + Engine InnoDB<br>wp_wpr_rucss_used_css: Data: 0.02MB + Index: 0.09MB + Engine InnoDB<br>wp_xyz_ips_short_code: Data: 0.02MB + Index: 0.00MB + Engine InnoDB<br>wp_yoast_indexable: Data: 2.52MB + Index: 0.81MB + Engine InnoDB<br>wp_yoast_indexable_hierarchy: Data: 0.13MB + Index: 0.19MB + Engine InnoDB<br>wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_yoast_primary_term: Data: 0.05MB + Index: 0.03MB + Engine InnoDB<br>wp_yoast_seo_links: Data: 2.52MB + Index: 2.03MB + Engine InnoDB<br>wp_yoast_seo_meta: Data: 0.08MB + Index: 0.00MB + Engine InnoDB<br>wp_zerospam_blocked_ips: Data: 0.02MB + Index: 0.02MB + Engine InnoDB<br>wp_zerospam_log: Data: 1.52MB + Index: 0.09MB + Engine InnoDB Post Type Counts
    
    acf: 2<br>acf-field: 6<br>acf-field-group: 3<br>attachment: 1407<br>cerification: 5<br>custom_css: 1<br>elementor_library: 21<br>elementor_snippet: 2<br>is_search_form: 1<br>nav_menu_item: 304<br>newss: 10<br>oembed_cache: 47<br>page: 408<br>post: 270<br>product: 42<br>questions: 8<br>revision: 5172<br>rmp_menu: 1<br>shop_coupon: 17<br>shop_order: 11671<br>shop_order_refund: 115<br>web-story: 9<br>wpcf7_contact_form: 3<br>wpcode: 2<br>wp_navigation: 1<br>wp_template: 2 Security
    
    Secure connection (HTTPS): ✔<br>Hide errors from visitors: ❌Error messages should not be shown to visitors. Active Plugins (33)
    
    Pixel Manager for WooCommerce: by SweetCode – 1.34.0<br>Advanced Custom Fields: Repeater Field: by Elliot Condon – 2.1.0<br>Direct checkout, WooCommerce Single page checkout , WooCommerce One page checkout: by PI Websolution – 2.1.73.4<br>Advanced Custom Fields: by WP Engine – 6.2.4<br>Akismet Anti-spam: Spam Protection: by Automattic - Anti-spam Team – 5.3<br>All 404 Redirect to Homepage: by wp-buy – 4.3<br>Certificate Blaster: by Junaid Zafar – 1.0<br>Classic Editor: by WordPress Contributors – 1.6.3<br>Cloudflare: by Cloudflare<br>Inc. – 4.12.2
    
    Contact Form 7: by Takayuki Miyoshi – 5.8.4<br>Elementor Pro: by Elementor.com – 3.17.1<br>Elementor: by Elementor.com – 3.17.3<br>Essential Addons for Elementor: by WPDeveloper – 5.9<br>HandL UTM Grabber: by Haktan Suren – 2.7.26<br>Insert PHP Code Snippet: by xyzscripts.com – 1.3.4<br>Klaviyo: by Klaviyo<br>Inc. – 3.3.3
    
    Mailchimp for WooCommerce: by Mailchimp – 3.3<br>Make Column Clickable Elementor: by Fernando Acosta – 1.4.0<br>PayPal for WooCommerce: by Angell EYE – 2.5.1<br>Really Simple SSL: by Really Simple Plugins – 7.2.0<br>Rank Math SEO PRO: by Rank Math – 3.0.44<br>Rank Math SEO: by Rank Math – 1.0.207<br>ShareASale WooCommerce Tracker: by ShareASale.com<br>Inc. – 1.5.4
    
    ShortPixel Image Optimizer: by ShortPixel - Convert WebP/AVIF & Optimize Images – 5.5.2<br>Simple Sitemap: by David Gwyer – 3.5.10<br>siteurl: by rits –<br>Tracking Code Manager: by Data443 – 2.0.16<br>Product Customer List for WooCommerce: by Kokomo – 3.1.6<br>Web Stories: by Google – 1.35.0<br>Advanced Order Export For WooCommerce: by AlgolPlus – 3.4.4<br>WooCommerce Google Analytics Integration: by WooCommerce – 1.8.10<br>WooCommerce: by Automattic – 8.3.1<br>WP Mail SMTP: by WP Mail SMTP – 3.10.0 Inactive Plugins (6)
    
    Export Users Data to CSV for MS Excel: by Penzin Konstantin – 1.0.0<br>Wordfence Security: by Wordfence – 7.11.0<br>WP File Manager: by mndpsingh287 – 7.2.1<br>WP Rocket: by WP Media – 3.15.2<br>Yoast Duplicate Post: by Enrico Battocchi & Team Yoast – 4.5<br>Yoast SEO: by Team Yoast – 21.6 Must Use Plugins (1)
    
    Kinsta Must-use Plugins: by Kinsta Team – 3.0.1 Settings
    
    API Enabled: ✔<br>Force SSL: ✔<br>Currency: USD ($)<br>Currency Position: left<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)
    
    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)
    
    Connected to WooCommerce.com: ✔<br>Enforce Approved Product Download Directories: –<br>HPOS feature screen enabled: –<br>HPOS feature enabled: –<br>Order datastore: WC_Order_Data_Store_CPT<br>HPOS data sync enabled: – WC Pages
    
    Shop base: #850 - /shop/<br>Cart: #851 - /cart/<br>Checkout: ❌ Page does not contain the [woocommerce_checkout] shortcode or the woocommerce/checkout block.<br>My account: ❌ Page does not contain the [woocommerce_my_account] shortcode.<br>Terms and conditions: ❌ Page not set Theme
    
    Name: CartBlast<br>Version: 1.2<br>Author URL: http://wordpress.org/<br>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<br>WooCommerce Support: ✔ Templates
    
    Overrides: cart/woocommerce/archive-product.php<br>cart/woocommerce/cart/cart-empty.php<br>cart/woocommerce/cart/cart-item-data.php<br>cart/woocommerce/cart/cart-shipping.php<br>cart/woocommerce/cart/cart-totals.php<br>cart/woocommerce/cart/cart.php<br>cart/woocommerce/cart/cross-sells.php<br>cart/woocommerce/cart/mini-cart.php<br>cart/woocommerce/cart/shipping-calculator.php<br>cart/woocommerce/checkout/cart-errors.php<br>cart/woocommerce/checkout/form-billing.php<br>cart/woocommerce/checkout/form-checkout.php<br>cart/woocommerce/checkout/form-coupon.php<br>cart/woocommerce/checkout/form-login.php<br>cart/woocommerce/checkout/form-pay.php<br>cart/woocommerce/checkout/form-shipping.php<br>cart/woocommerce/checkout/payment-method.php<br>cart/woocommerce/checkout/payment.php<br>cart/woocommerce/checkout/review-order.php<br>cart/woocommerce/checkout/thankyou.php<br>cart/woocommerce/content-product.php<br>cart/woocommerce/content-single-product.php<br>cart/woocommerce/content-widget-product.php<br>cart/woocommerce/emails/admin-new-order.php<br>cart/woocommerce/emails/customer-completed-order.php<br>cart/woocommerce/emails/customer-invoice.php<br>cart/woocommerce/emails/customer-new-account.php<br>cart/woocommerce/emails/customer-note.php<br>cart/woocommerce/emails/customer-processing-order.php<br>cart/woocommerce/emails/customer-reset-password.php<br>cart/woocommerce/emails/email-addresses.php<br>cart/woocommerce/emails/email-footer.php<br>cart/woocommerce/emails/email-header.php<br>cart/woocommerce/emails/email-order-items.php<br>cart/woocommerce/emails/plain/admin-new-order.php<br>cart/woocommerce/emails/plain/customer-completed-order.php<br>cart/woocommerce/emails/plain/customer-invoice.php<br>cart/woocommerce/emails/plain/customer-new-account.php<br>cart/woocommerce/emails/plain/customer-note.php<br>cart/woocommerce/emails/plain/customer-processing-order.php<br>cart/woocommerce/emails/plain/customer-reset-password.php<br>cart/woocommerce/emails/plain/email-addresses.php<br>cart/woocommerce/emails/plain/email-order-items.php<br>cart/woocommerce/global/breadcrumb.php<br>cart/woocommerce/global/form-login.php<br>cart/woocommerce/global/quantity-input.php<br>cart/woocommerce/global/sidebar.php<br>cart/woocommerce/global/wrapper-end.php<br>cart/woocommerce/global/wrapper-start.php<br>cart/woocommerce/loop/add-to-cart.php<br>cart/woocommerce/loop/loop-end.php<br>cart/woocommerce/loop/loop-start.php<br>cart/woocommerce/loop/no-products-found.php<br>cart/woocommerce/loop/orderby.php<br>cart/woocommerce/loop/pagination.php<br>cart/woocommerce/loop/price.php<br>cart/woocommerce/loop/rating.php<br>cart/woocommerce/loop/result-count.php<br>cart/woocommerce/loop/sale-flash.php<br>cart/woocommerce/notices/error.php<br>cart/woocommerce/notices/notice.php<br>cart/woocommerce/notices/success.php<br>cart/woocommerce/order/form-tracking.php<br>cart/woocommerce/order/order-details.php<br>cart/woocommerce/order/tracking.php<br>cart/woocommerce/single-product/add-to-cart/external.php<br>cart/woocommerce/single-product/add-to-cart/grouped.php<br>cart/woocommerce/single-product/add-to-cart/simple.php<br>cart/woocommerce/single-product/add-to-cart/variable.php<br>cart/woocommerce/single-product/meta.php<br>cart/woocommerce/single-product/price.php<br>cart/woocommerce/single-product/product-attributes.php<br>cart/woocommerce/single-product/product-image.php<br>cart/woocommerce/single-product/product-thumbnails.php<br>cart/woocommerce/single-product/rating.php<br>cart/woocommerce/single-product/related.php<br>cart/woocommerce/single-product/review.php<br>cart/woocommerce/single-product/sale-flash.php<br>cart/woocommerce/single-product/share.php<br>cart/woocommerce/single-product/short-description.php<br>cart/woocommerce/single-product/tabs/additional-information.php<br>cart/woocommerce/single-product/tabs/description.php<br>cart/woocommerce/single-product/tabs/tabs.php<br>cart/woocommerce/single-product/title.php<br>cart/woocommerce/single-product/up-sells.php<br>cart/woocommerce/single-product-reviews.php<br>cart/woocommerce/single-product.php<br>cart/woocommerce/content-product_cat.php<br>cart/woocommerce/taxonomy-product_cat.php<br>cart/woocommerce/taxonomy-product_tag.php Admin
    
    Enabled Features: activity-panels<br>analytics<br>product-block-editor<br>coupons<br>core-profiler<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>product-variation-management<br>remote-inbox-notifications<br>remote-free-extensions<br>payment-gateway-suggestions<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
    
    Disabled Features: customize-store<br>minified-js<br>new-product-management-experience<br>product-virtual-downloadable<br>product-external-affiliate<br>settings<br>async-product-editor-category-field
    
    Daily Cron: ✔ Next scheduled: 2023-11-04 23:33:17 -06:00<br>Options: ✔<br>Notes: 182<br>Onboarding: completed Action Scheduler
    
    Canceled: 1<br>Oldest: 2023-12-02 15:50:19 +0000<br>Newest: 2023-12-02 15:50:19 +0000
    
    Complete: 339<br>Oldest: 2023-11-04 08:49:06 +0000<br>Newest: 2023-12-03 10:29:12 +0000
    
    Failed: 721<br>Oldest: 2023-10-09 08:07:56 +0000<br>Newest: 2023-09-12 05:04:32 +0000
    
    Pending: 3<br>Oldest: 2023-12-03 15:50:08 +0000<br>Newest: 2023-12-05 15:50:08 +0000 Status report information
    
    Generated at: 2023-12-03 05:18:00 -06:00<br>`
    Plugin Support Shameem – a11n

    (@shameemreza)

    Hi @serkanemir

    The error message you’ve provided indicates that there’s an issue with the count() function in your WordPress files. This function is expecting an array or countable object, but it’s receiving a null value instead.

    This could be due to a conflict with a plugin or theme, or it may be a bug in WooCommerce itself. Here are a few steps you can take to troubleshoot this issue:

    1. Update all your plugins, themes, and WordPress to the latest versions. This can often resolve the issue if it’s due to outdated code.
    2. Deactivate all your plugins except WooCommerce to see if the issue persists. If it doesn’t, reactivate your plugins one by one to identify the one causing the conflict.
    3. Switch to a default WordPress theme like Storefront to see if the issue is theme-related.
    4. Although your system status reports looks normal, but upgrading your PHP to 8.1.29 version will be great.

    If none of these steps resolve the issue, please get back to us with more information so we can continue to assist you. We’d need to know the exact steps you’re taking when the error occurs, and any changes you’ve made to your site recently.

    Let us know how that goes. Looking forward to helping you.

    Thread Starter Serkan Emir

    (@serkanemir)

    Hi @shameemreza,

    We changed the server, moved the site from Digitalocean to Kinsta. However, now all plugins and functions are compatible and working properly. Except for the Woo reports…

    We tried the first 3 steps but nothing changed. I cannot try step 4, because there is PHP 8.0 on the server and there are no settings to upgrade it.

    Thanks

    Plugin Support Shameem – a11n

    (@shameemreza)

    Hello @serkanemir

    Since you have already updated all plugins, themes, and WordPress to the latest versions and tested for plugin and theme conflicts, the next step would be debugging your site.

    To do this, you can enable WordPress’ debug mode. This can help to identify any specific errors that may be causing the issue with WooCommerce reports. Here’s how: https://wordpress.org/documentation/article/debugging-in-wordpress/

    If any errors are present, they will now display on your site. Please note down any error messages and provide them to us for further investigation.

    We recommend PHP 8.1.29 for the best performance but don’t worry, WooCommerce should still work perfectly fine with PHP 8.0. So, it’s unlikely that the PHP version is causing this issue.

    By the way, have you reached out to the Kinsta support team about this? They might have some insights since this error doesn’t seem related to WooCommerce’s core but to WordPress.

    Let us know how it goes with the debugging. Looking forward to helping you.

    Thread Starter Serkan Emir

    (@serkanemir)

    Hi @shameemreza,

    Kinsta support team’s response and error logs here.

    Saif

    (@babylon1999)

    Hello @serkanemir,

    Kinsta support team’s response and error logs here.

    The team is already addressing this issue. You can find the full bug report here: https://github.com/woocommerce/woocommerce/issues/36761

    From what I understand, this occurs only when the total_shipping is an empty string (it should be 0 if the order has no shipping fee).

    There’s a fix in progress, but unfortunately, we don’t have an estimated release date yet. I suggest subscribing to the report from the sidebar to receive updates.

    Cheers!

    Thread Starter Serkan Emir

    (@serkanemir)

    Hi @babylon1999,

    Thank you for your support!

    Saif

    (@babylon1999)

    You’re very welcome!

    I’ll mark the thread as solved after my reply, please feel free to create a new one if you have any other questions. :‎)

    Cheers!

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘The error occurred when I was in WooCommerce trying to look at reports from 2017’ is closed to new replies.