Title: Random problem
Last modified: October 19, 2023

---

# Random problem

 *  Resolved [fabiomaticus](https://wordpress.org/support/users/fabiomaticus/)
 * (@fabiomaticus)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/random-problem-2/)
 * For no apparent reason, it occasionally happens that my site shows the white 
   screen with the phrase “A critical error has occurred…….”
 * I checked the woocommerce log and it’s written there:
 * 2023-10-19T18:08:57+00:00 CRITICAL Uncaught TypeError: array_keys(): Argument#
   1 ($array) must be of type array, null given in /home/babisashop/public_html/
   wp-content/plugins/woocommerce/includes/class-wc-install.php:850 Stack trace:#
   0 /home/babisashop/public_html/wp-content/plugins/woocommerce/includes/class-
   wc-install.php(850): array_keys() #1 /home/babisashop/public_html/wp-content/
   plugins/woocommerce/includes/class-wc-install.php(430): WC_Install::create_options()#
   2 /home/babisashop/public_html/wp-content/plugins/woocommerce/includes/class-
   wc-install.php(303): WC_Install::install() #3 /home/babisashop/public_html/wp-
   includes/class-wp-hook.php(310): WC_Install::check_version() #4 /home/babisashop/
   public_html/wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters() #5 /
   home/babisashop/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()#
   6 /home/babisashop/public_html/wp-settings.php(632): do_action() #7 /home/babisashop/
   public_html/wp-config.php(99): require_once(‘…’) #8 /home/babisashop/public_html/
   wp-load.php(50): require_once(‘…’) #9 /home/babisashop/public_html/wp-admin/admin.
   php(34): require_once(‘…’) #10 {main} thrown in /home/babisashop/public_html/
   wp-content/plugins/woocommerce/includes/class-wc-install.php alla riga 850
 * 
   I deactivated all the plugins except woocommerce and used the default theme,
   and while browsing the site, after a while this log appears again. How can I 
   intervene? What does this log mean?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Frandom-problem-2%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * (@shameemreza)
 * [2 years, 7 months ago](https://wordpress.org/support/topic/random-problem-2/#post-17150110)
 * Hello [@fabiomaticus](https://wordpress.org/support/users/fabiomaticus/)
 * The error message you’re receiving suggests that a function in WooCommerce is
   expecting an array of data but is receiving a null value instead. This is causing
   a critical error and the white screen you’re seeing.
 * This issue is usually related to a conflict with a theme or plugin or potentially
   a problem with the database. Since you’ve already deactivated all other plugins
   and switched to the default theme, we can rule out a theme or plugin conflict.
 * The next step would be to check your database. You may use a plugin like [WP-DBManager](https://wordpress.org/plugins/wp-dbmanager/)
   to check and repair your database. Or you can go to **WooCommerce > Statu > Tools
   > Update database** and perform database update.
 * If the issue persists, you might need to reinstall WooCommerce. Please make sure
   to backup your website before doing so to avoid any data loss.
 * Additionally, can you please share a copy of the **System Status Report**? You’ll
   find it at the top of the page under **WooCommerce → Status**. Select **Get System
   Report** and then **Download for Support**.
 * You could copy and paste your reply or share it via [https://pastebin.com/](https://pastebin.com/)
   and send the link here. This will help us investigate further and provide you
   with a more accurate solution.
 * Let us know how that goes. Looking forward to helping you.

Viewing 1 replies (of 1 total)

The topic ‘Random problem’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Shameem – a11n](https://wordpress.org/support/users/shameemreza/)
 * Last activity: [2 years, 7 months ago](https://wordpress.org/support/topic/random-problem-2/#post-17150110)
 * Status: resolved