Title: PHP Fatal Error
Last modified: November 22, 2022

---

# PHP Fatal Error

 *  Resolved [edat](https://wordpress.org/support/users/edat/)
 * (@edat)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-333/)
 * Hi Guys
 * Running version 5.03 with PHP8.0 and getting this error.
 * `PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type
   array, null given in /wp-content/plugins/woocommerce-payments/includes/admin/
   class-wc-payments-admin.php:558`
 * Line 558 reads
 * `array_merge( $script_asset['dependencies'], [ 'jquery-tiptip' ] ),`
 * Where $script_asset is
 *     ```
       $script_asset_path = WCPAY_ABSPATH . 'dist/index.asset.php';
       $script_asset      = file_exists( $script_asset_path ) ? require_once $script_asset_path : [ 'dependencies' => [] ];
       ```
   
 * Obviously the require_once is not being returned as an array.
 * I made the following update that has fixed the error I was seeing, but I’m not
   100% sure it is correct, I was hoping some one would look at my change and check
   it for me, refer below.
 * `$script_asset = file_exists( $script_asset_path ) ? [ 'dependencies' => [require_once
   $script_asset_path] ] : [ 'dependencies' => [] ];`
    -  This topic was modified 3 years, 5 months ago by [edat](https://wordpress.org/support/users/edat/).
    -  This topic was modified 3 years, 5 months ago by [edat](https://wordpress.org/support/users/edat/).
    -  This topic was modified 3 years, 5 months ago by [edat](https://wordpress.org/support/users/edat/).

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

 *  [Saif](https://wordpress.org/support/users/babylon1999/)
 * (@babylon1999)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16231383)
 * Hello [@edat](https://wordpress.org/support/users/edat/),
 * I run the same version of the plugin with PHP 8 but can’t see the fatal error.
   Could you please share a copy of your site’s System Status so we can try mimicking
   your site’s set-up?
 * You can find it via WooCommerce > Status. Select “Get system report” and then“
   Copy for support”.  Once you’ve done that, paste it here in your response.
 * Look forward to hearing back from you.
 *  Plugin Support [Gabriel – a11n](https://wordpress.org/support/users/gabrielfuentes/)
 * (@gabrielfuentes)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16276249)
 * Hi there! 👋
 * It has been a while since we heard from you, so I’m marking this as resolved –
   we’ll be here when you’re ready.
 * Cheers.
 *  Thread Starter [edat](https://wordpress.org/support/users/edat/)
 * (@edat)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16284865)
 * Here is a report you were after. I had to go back and reapply my changes after
   doing a plugin update.
 *     ```
       ### WordPress Environment ###
   
       WordPress address (URL): https://www.website.com
       Site address (URL): https://www.website.com
       WC Version: 7.1.1
       REST API Version: ✔ 7.1.1
       WC Blocks Version: ✔ 9.1.0
       Action Scheduler Version: ✔ 3.5.2
       Log Directory Writable: ✔
       WP Version: 6.1.1
       WP Multisite: –
       WP Memory Limit: 256 MB
       WP Debug Mode: –
       WP Cron: ✔
       Language: en_AU
       External object cache: ✔
   
       ### Server Environment ###
   
       Server Info: nginx/1.22.1
       PHP Version: 8.0.26
       PHP Post Max Size: 256 MB
       PHP Time Limit: 300
       PHP Max Input Vars: 5000
       cURL Version: 7.81.0
       OpenSSL/3.0.2
   
       SUHOSIN Installed: –
       MySQL Version: 8.0.31-0ubuntu0.22.04.1
       Max Upload Size: 256 MB
       Default Timezone is UTC: ✔
       fsockopen/cURL: ✔
       SoapClient: ✔
       DOMDocument: ✔
       GZip: ✔
       Multibyte String: ✔
       Remote Post: ✔
       Remote Get: ✔
   
       ### Database ###
   
       WC Database Version: 7.1.1
       WC Database Prefix: wp_
       Total Database Size: 287.07MB
       Database Data Size: 220.03MB
       Database Index Size: 67.04MB
       wp_woocommerce_sessions: Data: 7.02MB + Index: 0.17MB + Engine InnoDB
       wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_woocommerce_order_items: Data: 0.15MB + Index: 0.09MB + Engine MyISAM
       wp_woocommerce_order_itemmeta: Data: 1.12MB + Index: 0.85MB + Engine MyISAM
       wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_ac_abandoned_cart_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ac_email_templates_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ac_guest_abandoned_cart_history_lite: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
       wp_ac_sent_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_actionscheduler_actions: Data: 10.02MB + Index: 11.00MB + Engine InnoDB
       wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_actionscheduler_logs: Data: 6.02MB + Index: 5.03MB + Engine InnoDB
       wp_aioseo_cache: Data: 1.52MB + Index: 0.03MB + Engine InnoDB
       wp_aioseo_notifications: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
       wp_aioseo_posts: Data: 3.52MB + Index: 0.14MB + Engine InnoDB
       wp_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_failed_logins: Data: 0.34MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_login_lockdown: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_comments: Data: 0.83MB + Index: 0.26MB + Engine MyISAM
       wp_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_mailchimp_jobs: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
       wp_mclean_refs: Data: 0.41MB + Index: 0.00MB + Engine InnoDB
       wp_mclean_scan: Data: 1.52MB + Index: 0.16MB + Engine InnoDB
       wp_mystickymenu_contact_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nextend2_image_storage: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_section_storage: Data: 0.06MB + Index: 0.01MB + Engine MyISAM
       wp_nextend2_smartslider3_generators: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_smartslider3_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_smartslider3_sliders_xref: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_smartslider3_slides: Data: 0.07MB + Index: 0.01MB + Engine MyISAM
       wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_upgrades: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
       wp_options: Data: 3.17MB + Index: 0.09MB + Engine MyISAM
       wp_postmeta: Data: 60.32MB + Index: 8.27MB + Engine MyISAM
       wp_posts: Data: 13.90MB + Index: 4.06MB + Engine MyISAM
       wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_css_bkp: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_sliders: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_sliders_bkp: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_slides: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_slides_bkp: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_front_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_login: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_login_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_paypal_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_paypal_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_sent_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_sessions: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
       wp_rm_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_submission_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_task_exe_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_shortpixel_postmeta: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
       wp_swift_performance_image_optimizer: Data: 14.52MB + Index: 5.52MB + Engine InnoDB
       wp_swift_performance_warmup: Data: 0.45MB + Index: 0.75MB + Engine InnoDB
       wp_term_relationships: Data: 0.75MB + Index: 1.42MB + Engine MyISAM
       wp_term_taxonomy: Data: 0.06MB + Index: 0.05MB + Engine MyISAM
       wp_termmeta: Data: 0.10MB + Index: 0.08MB + Engine MyISAM
       wp_terms: Data: 0.04MB + Index: 0.11MB + Engine MyISAM
       wp_tf_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_usermeta: Data: 10.64MB + Index: 7.64MB + Engine MyISAM
       wp_users: Data: 1.08MB + Index: 1.09MB + Engine MyISAM
       wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
       wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
       wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_customer_lookup: Data: 1.52MB + Index: 0.69MB + Engine InnoDB
       wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_order_product_lookup: Data: 0.23MB + Index: 0.27MB + Engine InnoDB
       wp_wc_order_stats: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
       wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_product_meta_lookup: Data: 1.52MB + Index: 1.13MB + Engine InnoDB
       wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wfblockediplog: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
       wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wfconfig: Data: 2.33MB + Index: 0.00MB + Engine InnoDB
       wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wffilemods: Data: 18.55MB + Index: 0.00MB + Engine InnoDB
       wp_wfhits: Data: 1.02MB + Index: 0.23MB + Engine InnoDB
       wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wfissues: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
       wp_wfknownfilelist: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
       wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wflogins: Data: 0.44MB + Index: 0.16MB + Engine InnoDB
       wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wfnotifications: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
       wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
       wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpml_mails: Data: 13.52MB + Index: 0.00MB + Engine InnoDB
       wp_wt_sc_coupon_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_yoast_indexable: Data: 20.56MB + Index: 14.09MB + Engine InnoDB
       wp_yoast_indexable_hierarchy: Data: 1.52MB + Index: 2.05MB + Engine InnoDB
       wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_yoast_seo_links: Data: 0.23MB + Index: 0.07MB + Engine MyISAM
       wp_yoast_seo_meta: Data: 0.36MB + Index: 0.38MB + Engine MyISAM
   
       ### Post Type Counts ###
   
       attachment: 33579
       br_suggestion: 3
       custom_css: 2
       gtw_custom_fields: 3
       gtw_rules: 3
       nav_menu_item: 263
       oembed_cache: 65
       omapi: 1
       page: 66
       post: 7
       product: 4213
       product_variation: 764
       revision: 60
       rmp_menu: 1
       shop_coupon: 6
       shop_order: 688
       shop_order_refund: 12
       vc4_templates: 4
       wpcf7_contact_form: 7
   
       ### Security ###
   
       Secure connection (HTTPS): ✔
       Hide errors from visitors: ✔
   
       ### Active Plugins (51) ###
   
       ManageWP - Worker: by GoDaddy – 4.9.15
       Admin Custom Login: by Weblizar – 3.4.6
       Afterpay Gateway for WooCommerce: by Afterpay – 3.5.1
       Builder WooCommerce: by Themify – 2.1.0
       Products Suggestions for WooCommerce: by BeRocket – 3.5.7.6
       Cloudflare: by Cloudflare
       Inc. – 4.11.0
   
       Cocco CORE: by Mikado Themes – 1.7.1
       Contact Form 7: by Takayuki Miyoshi – 5.7
       Contact Widgets: by GoDaddy – 1.7.0
       WooCommerce Continue Shopping: by HappyKite – 1.4.4
       Disable Comments: by WPDeveloper – 2.4.2
       Duplicate Page: by mndpsingh287 – 4.4.9
       GTM4WP: by Thomas Geiger – 1.16.2
       Enable Media Replace: by ShortPixel – 4.0.1
       Envato Market: by Envato – 2.0.7
       File Manager Advanced: by modalweb – 5.0.1
       Flexible Checkout Fields: by WP Desk – 3.5.4
       Fluid Checkout for WooCommerce - Lite: by Fluid Checkout – 2.2.0
       Gift Wrapper for WooCommerce: by FantasticPlugins – 3.8
       Site Kit by Google: by Google – 1.89.0
       Gutenberg: by Gutenberg Editor Team – 14.7.1
       Header Footer Code Manager: by 99robots – 1.1.31
       WPBakery Page Builder: by Michael M - WPBakery.com – 6.10.0
       Login Logout Register Menu: by Vinod Dalvi – 2.0
       Mailchimp for WooCommerce: by Mailchimp – 2.7.6
       Maintenance: by WebFactory Ltd – 4.07
       Media Cleaner: by Jordy Meow – 6.5.1
       Max Mega Menu: by megamenu.com – 3.0
       Ninja Forms: by Saturday Drive – 3.6.14
       OptinMonster: by OptinMonster Popup Builder Team – 2.11.1
       PixelYourSite: by PixelYourSite – 9.2.2
       Product Catalog Feed by PixelYourSite: by PixelYourSite – 2.0.1
       Slider Revolution: by ThemePunch – 6.5.20
       Smart Slider 3: by Nextend – 3.5.1.12
       SpinupWP: by SpinupWP – 1.5.1
       Themify Builder: by Themify – 7.0.0
       WooCommerce Product Table Lite: by WC Product Table – 2.6.1
       CTX Feed: by WebAppick – 4.5.13
       WooCommerce Blocks: by Automattic – 9.1.0
       Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.13.0
       WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
       WooCommerce Google Analytics Integration: by WooCommerce – 1.5.17
       WooCommerce Payments: by Automattic – 5.1.2
       WooCommerce: by Automattic – 7.1.1
       Wordfence Security: by Wordfence – 7.8.0
       Yoast SEO: by Team Yoast – 19.12
       Wow Icons: by Wow-Company. – 2.0.1
       WP Mail Logging: by Wysija – 1.10.4
       WP Mail SMTP: by WPForms – 3.6.1
       WP Rollback: by GiveWP.com – 1.7.2
       Smart Coupons For WooCommerce Coupons: by WebToffee – 1.4.3
   
       ### Inactive Plugins (7) ###
   
       Cocco Instagram Feed: by Mikado Themes – 2.0.2
       Cocco Twitter Feed: by Mikado Themes – 1.0.4
       Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.11.0
       TrustPulse API: by  – 1.0.7
       WC Pickup Store: by Keylor Mendoza A. – 1.8.4
       WooCommerce Back In Stock Notifications: by WooCommerce – 1.3.1
       WooCommerce PayPal Payments: by WooCommerce – 2.0.0
   
       ### Dropin Plugins (1) ###
   
       object-cache.php: SpinupWP Redis Object Cache Drop-In
   
       ### Must Use Plugins (2) ###
   
       ManageWP - Worker Loader: by GoDaddy – 1.0.0
       SpinupWP Debug Log Path: by SpinupWP – 1.0
   
       ### Settings ###
   
       API Enabled: ✔
       Force SSL: –
       Currency: AUD ($)
       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: #5 - /shop/
       Cart: #6 - /cart/
       Checkout: #7 - /checkout/
       My account: ❌ Page does not contain the [woocommerce_my_account] shortcode.
       Terms and conditions: #62130 - /refunds-return-policy/
   
       ### Theme ###
   
       Name: Cocco Child
       Version: 1.10
       Author URL: http://themeforest.net/user/mikado-themes
       Child Theme: ✔
       Parent Theme Name: Cocco
       Parent Theme Version: 1.10
       Parent Theme Author URL: http://themeforest.net/user/mikado-themes
       WooCommerce Support: ✔
   
       ### Templates ###
   
       Archive Template: Your theme has a woocommerce.php file. You will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
       Overrides: cocco/woocommerce/content-product.php
       cocco/woocommerce/global/quantity-input.php
       cocco/woocommerce/product-searchform.php version 3.3.0 is out of date. The core version is 7.0.1
   
       Outdated Templates: ❌
   
   
       						Learn how to update
   
       ### Admin ###
   
       Enabled Features: activity-panels
       analytics
       coupons
       customer-effort-score-tracks
       experimental-products-task
       experimental-import-products-task
       experimental-fashion-sample-products
       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-12-14 04:01:50 +10:00
       Options: ✔
       Notes: 80
       Onboarding: completed
   
       ### WooCommerce Payments ###
   
       Version: 5.1.2
       Connected to WPCOM: Yes
       Blog ID: 205578964
       Account ID: acct_1KqVye2EuybTvrPO
   
       ### Action Scheduler ###
   
       Canceled: 19
       Oldest: 2022-11-15 09:13:54 +1000
       Newest: 2022-12-12 09:30:40 +1000
   
       Complete: 22,370
       Oldest: 2022-11-12 22:09:02 +1000
       Newest: 2022-12-13 21:39:44 +1000
   
       Failed: 17
       Oldest: 2022-10-31 23:45:44 +1000
       Newest: 2022-12-13 20:02:24 +1000
   
       Pending: 2
       Oldest: 2022-12-13 21:54:44 +1000
       Newest: 2022-12-13 23:39:02 +1000
   
       ### Status report information ###
   
       Generated at: 2022-12-13 21:54:45 +10:00
       ```
   
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 5 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16292795)
 * Hello,
 * To clarify, can you switch your theme to [Storefront](https://www.woocommerce.com/storefront/),
   then disable all plugins except WooCommerce and WooCommerce payments? Does the
   issue persist after that?
 * To switch back you can use the Meks Quick Plugin Disabler which is a plugin you
   can install to remember what plugins you currently have active so it’s easy to
   switch them back on. Link: [https://wordpress.org/plugins/meks-quick-plugin-disabler/](https://wordpress.org/plugins/meks-quick-plugin-disabler/)
 * Let us know how this goes for you.
 *  Thread Starter [edat](https://wordpress.org/support/users/edat/)
 * (@edat)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16317169)
 * I should have been a little more clearer in my original post. The error occurs
   when I’m in the backend and navigate to Appearance => Menus. Anything to do with
   trying edit or add a menu was triggering the error.
 * I should also note that the error was still happening in v5.20 and I needed to
   apply my patch to fix the issue again.
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16320487)
 * Hello,
 * I understand your point, may I ask can you update WooCommerce to its latest version?
   You can update it under _WP-Admin > plugins > installed plugins > WooCommerce
   > update_. And then update the database as well, under _WooCommerce > status 
   > tools > update database_. Once updated, is the issue still present?
 * You can create a back-up before making any change. Let us know how that goes 
   for you.
 *  Thread Starter [edat](https://wordpress.org/support/users/edat/)
 * (@edat)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16320557)
 * [@ihereira](https://wordpress.org/support/users/ihereira/) We are already running
   the following…
 * Woocommerce v7.2.2
 * WooCommerce database v7.2.2
 *     ```wp-block-code
       `
       ### WordPress Environment ###
   
       WordPress address (URL): https://www.website.com
       Site address (URL): https://www.website.com
       WC Version: 7.2.2
       REST API Version: ✔</img> 7.2.2
       WC Blocks Version: ✔</img> 9.2.0
       Action Scheduler Version: ✔</img> 3.5.2
       Log Directory Writable: ✔</img>
       WP Version: 6.1.1
       WP Multisite: –
       WP Memory Limit: 256 MB
       WP Debug Mode: –
       WP Cron: ✔</img>
       Language: en_AU
       External object cache: ✔</img>
   
       ### Server Environment ###
   
       Server Info: nginx/1.22.1
       PHP Version: 8.0.26
       PHP Post Max Size: 256 MB
       PHP Time Limit: 300
       PHP Max Input Vars: 5000
       cURL Version: 7.81.0
       OpenSSL/3.0.2
   
       SUHOSIN Installed: –
       MySQL Version: 8.0.31-0ubuntu0.22.04.1
       Max Upload Size: 256 MB
       Default Timezone is UTC: ✔</img>
       fsockopen/cURL: ✔</img>
       SoapClient: ✔</img>
       DOMDocument: ✔</img>
       GZip: ✔</img>
       Multibyte String: ✔</img>
       Remote Post: ✔</img>
       Remote Get: ✔</img>
   
       ### Database ###
   
       WC Database Version: 7.2.2
       WC Database Prefix: wp_
       Total Database Size: 348.17MB
       Database Data Size: 255.77MB
       Database Index Size: 92.40MB
       wp_woocommerce_sessions: Data: 9.02MB + Index: 0.17MB + Engine InnoDB
       wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_woocommerce_order_items: Data: 0.16MB + Index: 0.09MB + Engine MyISAM
       wp_woocommerce_order_itemmeta: Data: 1.17MB + Index: 0.87MB + Engine MyISAM
       wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_ac_abandoned_cart_history_lite: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
       wp_ac_email_templates_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_ac_guest_abandoned_cart_history_lite: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
       wp_ac_sent_history_lite: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_actionscheduler_actions: Data: 25.05MB + Index: 28.48MB + Engine InnoDB
       wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_actionscheduler_logs: Data: 16.05MB + Index: 12.03MB + Engine InnoDB
       wp_aioseo_cache: Data: 1.52MB + Index: 0.03MB + Engine InnoDB
       wp_aioseo_notifications: Data: 0.05MB + Index: 0.06MB + Engine InnoDB
       wp_aioseo_posts: Data: 3.52MB + Index: 0.14MB + Engine InnoDB
       wp_aiowps_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_failed_logins: Data: 0.34MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_global_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_login_activity: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_login_lockdown: Data: 5.52MB + Index: 0.00MB + Engine InnoDB
       wp_aiowps_permanent_block: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
       wp_comments: Data: 0.86MB + Index: 0.27MB + Engine MyISAM
       wp_hfcm_scripts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_mailchimp_jobs: Data: 0.20MB + Index: 0.00MB + Engine InnoDB
       wp_mclean_refs: Data: 0.41MB + Index: 0.00MB + Engine InnoDB
       wp_mclean_scan: Data: 1.52MB + Index: 0.16MB + Engine InnoDB
       wp_mystickymenu_contact_lists: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nextend2_image_storage: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_section_storage: Data: 0.06MB + Index: 0.01MB + Engine MyISAM
       wp_nextend2_smartslider3_generators: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_smartslider3_sliders: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_smartslider3_sliders_xref: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_nextend2_smartslider3_slides: Data: 0.07MB + Index: 0.01MB + Engine MyISAM
       wp_nf3_action_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_actions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_chunks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_nf3_field_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_form_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_object_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_objects: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_relationships: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_nf3_upgrades: Data: 0.02MB + Index: 0.00MB + Engine MyISAM
       wp_options: Data: 3.20MB + Index: 0.13MB + Engine MyISAM
       wp_postmeta: Data: 60.76MB + Index: 8.43MB + Engine MyISAM
       wp_posts: Data: 16.76MB + Index: 4.24MB + Engine MyISAM
       wp_revslider_css: Data: 0.13MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_css_bkp: Data: 0.13MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_sliders: Data: 0.11MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_sliders_bkp: Data: 0.17MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_slides: Data: 1.52MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_slides_bkp: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
       wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_forms: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_front_users: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_login: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_login_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_notes: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_paypal_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_paypal_logs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_rules: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_sent_mails: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_sessions: Data: 0.03MB + Index: 0.00MB + Engine InnoDB
       wp_rm_stats: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_submission_fields: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_submissions: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_task_exe_log: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_rm_tasks: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_shortpixel_folders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_shortpixel_meta: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_shortpixel_postmeta: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
       wp_swift_performance_image_optimizer: Data: 14.52MB + Index: 5.52MB + Engine InnoDB
       wp_swift_performance_warmup: Data: 0.45MB + Index: 0.75MB + Engine InnoDB
       wp_term_relationships: Data: 0.79MB + Index: 1.57MB + Engine MyISAM
       wp_term_taxonomy: Data: 0.07MB + Index: 0.05MB + Engine MyISAM
       wp_termmeta: Data: 0.10MB + Index: 0.08MB + Engine MyISAM
       wp_terms: Data: 0.05MB + Index: 0.12MB + Engine MyISAM
       wp_tf_storage: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_usermeta: Data: 10.80MB + Index: 7.80MB + Engine MyISAM
       wp_users: Data: 1.09MB + Index: 1.18MB + Engine MyISAM
       wp_wc_admin_note_actions: Data: 0.05MB + Index: 0.02MB + Engine InnoDB
       wp_wc_admin_notes: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
       wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_customer_lookup: Data: 1.52MB + Index: 0.73MB + Engine InnoDB
       wp_wc_download_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_order_product_lookup: Data: 0.23MB + Index: 0.27MB + Engine InnoDB
       wp_wc_order_stats: Data: 0.09MB + Index: 0.08MB + Engine InnoDB
       wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_product_meta_lookup: Data: 1.52MB + Index: 1.19MB + Engine InnoDB
       wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
       wp_wfblockediplog: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
       wp_wfblocks7: Data: 0.05MB + Index: 0.05MB + Engine InnoDB
       wp_wfconfig: Data: 2.33MB + Index: 0.00MB + Engine InnoDB
       wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wffilemods: Data: 19.55MB + Index: 0.00MB + Engine InnoDB
       wp_wfhits: Data: 1.02MB + Index: 0.22MB + Engine InnoDB
       wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_wfknownfilelist: Data: 8.52MB + Index: 0.00MB + Engine InnoDB
       wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wflogins: Data: 0.44MB + Index: 0.16MB + Engine InnoDB
       wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wfnotifications: Data: 0.09MB + Index: 0.00MB + Engine InnoDB
       wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
       wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
       wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
       wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_wpml_mails: Data: 17.52MB + Index: 0.00MB + Engine InnoDB
       wp_wt_sc_coupon_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
       wp_yoast_indexable: Data: 20.56MB + Index: 14.09MB + Engine InnoDB
       wp_yoast_indexable_hierarchy: Data: 1.52MB + Index: 2.02MB + Engine InnoDB
       wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
       wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
       wp_yoast_seo_links: Data: 0.24MB + Index: 0.07MB + Engine MyISAM
       wp_yoast_seo_meta: Data: 0.36MB + Index: 0.38MB + Engine MyISAM
   
       ### Post Type Counts ###
   
       attachment: 33642
       br_suggestion: 3
       custom_css: 2
       customize_changeset: 14
       gtw_custom_fields: 3
       gtw_rules: 3
       nav_menu_item: 268
       oembed_cache: 66
       omapi: 1
       page: 65
       post: 5
       product: 4264
       product_variation: 783
       revision: 78
       rmp_menu: 1
       shop_coupon: 6
       shop_order: 705
       shop_order_refund: 12
       vc4_templates: 4
       wpcf7_contact_form: 7
   
       ### Security ###
   
       Secure connection (HTTPS): ✔</img>
       Hide errors from visitors: ✔</img>
   
       ### Active Plugins (53) ###
   
       ManageWP - Worker: by GoDaddy – 4.9.15
       Admin Custom Login: by Weblizar – 3.4.6
       Afterpay Gateway for WooCommerce: by Afterpay – 3.5.2
       Builder WooCommerce: by Themify – 3.0.1
       Products Suggestions for WooCommerce: by BeRocket – 3.5.7.7
       Cloudflare: by Cloudflare
       Inc. – 4.11.0
   
       Cocco CORE: by Mikado Themes – 1.7.1
       Contact Form 7: by Takayuki Miyoshi – 5.7.1
       Contact Widgets: by GoDaddy – 1.7.0
       WooCommerce Continue Shopping: by HappyKite – 1.4.4
       Disable Comments: by WPDeveloper – 2.4.2
       Duplicate Page: by mndpsingh287 – 4.5
       GTM4WP: by Thomas Geiger – 1.16.2
       Enable Media Replace: by ShortPixel – 4.0.1
       Envato Market: by Envato – 2.0.7
       File Manager Advanced: by modalweb – 5.0.1
       Flexible Checkout Fields: by WP Desk – 3.5.4
       Fluid Checkout for WooCommerce - Lite: by Fluid Checkout – 2.2.0
       Gift Wrapper for WooCommerce: by FantasticPlugins – 3.8
       Site Kit by Google: by Google – 1.90.1
       Gutenberg: by Gutenberg Editor Team – 14.8.1
       Header Footer Code Manager: by 99robots – 1.1.32
       WPBakery Page Builder: by Michael M - WPBakery.com – 6.10.0
       Kadence WooCommerce Email Designer: by Kadence WP – 1.5.7
       Login Logout Register Menu: by Vinod Dalvi – 2.0
       Mailchimp for WooCommerce: by Mailchimp – 2.7.6
       Maintenance: by WebFactory Ltd – 4.07
       Media Cleaner: by Jordy Meow – 6.5.2
       Max Mega Menu: by megamenu.com – 3.0
       Ninja Forms: by Saturday Drive – 3.6.14
       OptinMonster: by OptinMonster Popup Builder Team – 2.11.1
       PixelYourSite: by PixelYourSite – 9.2.2
       Product Catalog Feed by PixelYourSite: by PixelYourSite – 2.0.1
       Slider Revolution: by ThemePunch – 6.5.20
       Smart Slider 3: by Nextend – 3.5.1.12
       SpinupWP: by SpinupWP – 1.5.1
       Themify Builder: by Themify – 7.0.1
       Themify Updater: by Themify – 1.4.2
       WooCommerce Product Table Lite: by WC Product Table – 2.6.1
       CTX Feed: by WebAppick – 4.5.15
       WooCommerce Blocks: by Automattic – 9.2.0
       Abandoned Cart Lite for WooCommerce: by Tyche Softwares – 5.13.0
       WooCommerce PayPal Checkout Gateway: by WooCommerce – 2.1.3
       WooCommerce Google Analytics Integration: by WooCommerce – 1.5.18
       WooCommerce Payments: by Automattic – 5.2.0
       WooCommerce: by Automattic – 7.2.2
       Wordfence Security: by Wordfence – 7.8.2
       Yoast SEO: by Team Yoast – 19.13
       Wow Icons: by Wow-Company. – 2.0.1
       WP Mail Logging: by SendLayer – 1.10.5
       WP Mail SMTP: by WPForms – 3.7.0
       WP Rollback: by GiveWP.com – 1.7.2
       Smart Coupons For WooCommerce Coupons: by WebToffee – 1.4.3
   
       ### Inactive Plugins (7) ###
   
       Cocco Instagram Feed: by Mikado Themes – 2.0.2
       Cocco Twitter Feed: by Mikado Themes – 1.0.4
       Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.11.0
       TrustPulse API: by  – 1.0.7
       WC Pickup Store: by Keylor Mendoza A. – 1.8.4
       WooCommerce Back In Stock Notifications: by WooCommerce – 1.3.1
       WooCommerce PayPal Payments: by WooCommerce – 2.0.1
   
       ### Dropin Plugins (1) ###
   
       object-cache.php: SpinupWP Redis Object Cache Drop-In
   
       ### Must Use Plugins (2) ###
   
       ManageWP - Worker Loader: by GoDaddy – 1.0.0
       SpinupWP Debug Log Path: by SpinupWP – 1.0
   
       ### Settings ###
   
       API Enabled: ✔</img>
       Force SSL: –
       Currency: AUD ($)
       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: –
       Order datastore: WC_Order_Data_Store_CPT
   
       ### WC Pages ###
   
       Shop base: #5 - /shop/
       Cart: #6 - /cart/
       Checkout: #7 - /checkout/
       My account: ❌</img> Page does not contain the [woocommerce_my_account] shortcode.
       Terms and conditions: #62130 - /refunds-return-policy/
   
       ### Theme ###
   
       Name: Cocco Child
       Version: 1.10
       Author URL: http://themeforest.net/user/mikado-themes
       Child Theme: ✔</img>
       Parent Theme Name: Cocco
       Parent Theme Version: 1.10
       Parent Theme Author URL: http://themeforest.net/user/mikado-themes
       WooCommerce Support: ✔</img>
   
       ### Templates ###
   
       Archive Template: Your theme has a woocommerce.php file. You will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
       Overrides: cocco/woocommerce/content-product.php
       cocco/woocommerce/global/quantity-input.php version 4.0.0 is out of date. The core version is 7.2.1
       cocco/woocommerce/product-searchform.php version 3.3.0 is out of date. The core version is 7.0.1
   
       Outdated Templates: ❌</img>
   
   
       						Learn how to update
   
       ### Admin ###
   
       Enabled Features: activity-panels
       analytics
       coupons
       customer-effort-score-tracks
       experimental-products-task
       experimental-import-products-task
       experimental-fashion-sample-products
       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: ✔</img> Next scheduled: 2022-12-27 04:01:50 +10:00
       Options: ✔</img>
       Notes: 80
       Onboarding: completed
   
       ### WooCommerce Payments ###
   
       Version: 5.2.0
       Connected to WPCOM: Yes
       Blog ID: 205578964
       Account ID: acct_1KqVye2EuybTvrPO
   
       ### Action Scheduler ###
   
       Canceled: 17
       Oldest: 2022-11-26 22:11:48 +1000
       Newest: 2022-12-23 17:07:17 +1000
   
       Complete: 83,898
       Oldest: 2022-11-25 22:44:03 +1000
       Newest: 2022-12-26 22:39:03 +1000
   
       Failed: 19
       Oldest: 2022-10-31 23:45:44 +1000
       Newest: 2022-12-23 07:37:24 +1000
   
       Pending: 3
       Oldest: 2022-12-26 22:39:04 +1000
       Newest: 2022-12-26 23:43:57 +1000
   
   
       ### Status report information ###
   
       Generated at: 2022-12-26 22:39:06 +10:00
       `
       ```
   
 *  [Igor H](https://wordpress.org/support/users/ihereira/)
 * (@ihereira)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16321319)
 * Hello,
 * `Archive Template: Your theme has a woocommerce.php file. You will not be able
   to override the woocommerce/archive-product.php custom template since woocommerce.
   php has priority over archive-product.php. This is intended to prevent display
   issues.<br>Overrides: cocco/woocommerce/content-product.php<br>cocco/woocommerce/
   global/quantity-input.php version 4.0.0 is out of date. The core version is 7.2.1
   <br>cocco/woocommerce/product-searchform.php version 3.3.0 is out of date. The
   core version is 7.0.1`
 * You can try this: Temporarily switch your theme to [Storefront](https://www.woocommerce.com/storefront/),
   and disable all plugins except WooCommerce and WooCommerce payments. Check again
   to see if the issue persists.
 * Let us if that worked for you.
 *  Thread Starter [edat](https://wordpress.org/support/users/edat/)
 * (@edat)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16332100)
 * [@ihereira](https://wordpress.org/support/users/ihereira/) More information…..
   
   Here is a sanitized stack trace after I turned all the plugins off except the
   following.WoocommerceWoocommerce PaymentsMax Mega Menu ([https://en-au.wordpress.org/plugins/megamenu/](https://en-au.wordpress.org/plugins/megamenu/))
   When I turned Max Mega Menu plugin on I then get the php Fatal Error, so there
   seems to be sort of conflict between these two plugins.
 *     ```wp-block-code
       [31-Dec-2022 10:34:52 UTC] PHP Fatal error: Uncaught TypeError: array_merge(): Argument #1 must be of type array, null given in /sites/dev.website.com.au/files/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php:564
   
       Stack trace:
   
       #0 /sites/dev.website.com.au/files/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php(564): array_merge()
   
       #1 /sites/dev.website.com.au/files/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php(638): WC_Payments_Admin->register_payments_scripts()
   
       #2 /sites/dev.website.com.au/files/wp-includes/class-wp-hook.php(308): WC_Payments_Admin->enqueue_payments_scripts()
   
       #3 /sites/dev.website.com.au/files/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
   
       #4 /sites/dev.website.com.au/files/wp-includes/plugin.php(517): WP_Hook->do_action()
   
       #5 /sites/dev.website.com.au/files/wp-content/plugins/megamenu/megamenu.php(169): do_action()
   
       #6 /sites/dev.website.com.au/files/wp-includes/class-wp-hook.php(308): Mega_Menu->admin_enqueue_scripts()
   
       #7 /sites/dev.website.com.au/files/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters()
   
       #8 /sites/dev.website.com.au/files/wp-includes/plugin.php(517): WP_Hook->do_action()
   
       #9 /sites/dev.website.com.au/files/wp-admin/admin-header.php(118): do_action()
   
       #10 /sites/dev.website.com.au/files/wp-admin/nav-menus.php(675): require_once('...')
   
       #11 {main}
   
       thrown in /sites/dev.website.com.au/files/wp-content/plugins/woocommerce-payments/includes/admin/class-wc-payments-admin.php on line 564+
       ```
   
 * Could you guys please install Max Mega Menu and see if you can see where the 
   conflict is coming from. I need your plugin to work with Max Mega Menu.
   Thanks
    -  This reply was modified 3 years, 4 months ago by [edat](https://wordpress.org/support/users/edat/).
 *  Thread Starter [edat](https://wordpress.org/support/users/edat/)
 * (@edat)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16332125)
 * If I use Storefront theme I can use the two plugins together and don’t get the
   error.
 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16333481)
 * Hi [@edat](https://wordpress.org/support/users/edat/)
 * If I understand you correctly, after disabling the [Max Mega Menu](https://wordpress.org/plugins/megamenu/)
   plugin, you are not receiving the error anymore, right?
 * If so, since this is a third-party plugin which we don’t provide support for (
   please see our [Support Policy](https://woocommerce.com/support-policy/) here),
   it would be best reaching out to the plugin’s developers for further assistance
   here.
 * [https://wordpress.org/support/plugin/megamenu/](https://wordpress.org/support/plugin/megamenu/)
 * All the best and hopefully, the issue will be fixed soon.
 * Thanks!
 *  Thread Starter [edat](https://wordpress.org/support/users/edat/)
 * (@edat)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16336681)
 * [@xue28](https://wordpress.org/support/users/xue28/) I’ve approached Mex Mega
   Menu and they point out it an issue with your plugin.
   Refer to this post in GitHub
   [https://github.com/Automattic/woocommerce-payments/issues/5137](https://github.com/Automattic/woocommerce-payments/issues/5137)
   Could you please expedite this fix.
 *  [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * (@xue28)
 * [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16337096)
 * Hi [@edat](https://wordpress.org/support/users/edat/)
 * Thanks for confirming that this was an [open bug](https://github.com/Automattic/woocommerce-payments/issues/5137)
   with the Max Mega Menu plugin.
 * I have added this post as a comment to the thread. I suggest subscribing to the
   thread to keep posted for updates.
 * Thanks!

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

The topic ‘PHP Fatal Error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-payments/assets/icon-256x256.png?rev=3234740)
 * [WooPayments: Integrated WooCommerce Payments](https://wordpress.org/plugins/woocommerce-payments/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-payments/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-payments/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-payments/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-payments/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-payments/reviews/)

 * 13 replies
 * 5 participants
 * Last reply from: [xue28 (woo-hc)](https://wordpress.org/support/users/xue28/)
 * Last activity: [3 years, 4 months ago](https://wordpress.org/support/topic/php-fatal-error-333/#post-16337096)
 * Status: resolved