Title: Database Error And PHP Fatal Error
Last modified: June 13, 2021

---

# Database Error And PHP Fatal Error

 *  Resolved [mgboerni](https://wordpress.org/support/users/mgboerni/)
 * (@mgboerni)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-php-fatal-error/)
 * Hi there,,
    on one of our WC Shops we have an DB and PHP problem since a view
   days.
 * The memory still running out of stack.
    I still try to deactivate all plugins
   and change to an standard Theme. But the Problems are still the same… I delete
   all Cache Plugins.
 * Maybe some one can help me to find an solution for this Problem.
    Thanks
 * Here is the two entry’s from the DEBUG Log
 *     ```
       [13-Jun-2021 11:20:51 UTC] PHP Fatal error:  Allowed memory size of 536870912 bytes exhausted (tried to allocate 6082424 bytes) in /www/htdocs/w01b260d/klangraum-staig.de/wp-includes/wp-db.php on line 2056
       [13-Jun-2021 11:20:51 UTC] WordPress-Datenbank-Fehler Commands out of sync; you can't run this command now für Abfrage SELECT option_value FROM j4ggc_options WHERE option_name = 'woocommerce_cart_page_id' LIMIT 1 von WP_Fatal_Error_Handler->handle, WP_Fatal_Error_Handler->display_error_template, WP_Fatal_Error_Handler->display_default_error_template, wp_die, _default_wp_die_handler, wp_robots, apply_filters('wp_robots'), WP_Hook->apply_filters, wc_page_no_robots, wc_get_page_id, get_option
       ```
   
 * WP informations:
 *     ```
       ### wp-core ###
   
       version: 5.7.2
       site_language: de_DE
       user_language: de_DE
       timezone: Europe/Berlin
       permalink: /%postname%/
       https_status: true
       multisite: false
       user_registration: 1
       blog_public: 1
       default_comment_status: open
       environment_type: production
       user_count: 39
       dotorg_communication: true
   
       ### wp-paths-sizes ###
   
       wordpress_path: /www/htdocs/w01b260d/klangraum-staig.de
       wordpress_size: 52,78 MB (55344651 bytes)
       uploads_path: /www/htdocs/w01b260d/klangraum-staig.de/wp-content/uploads
       uploads_size: 161,70 MB (169550782 bytes)
       themes_path: /www/htdocs/w01b260d/klangraum-staig.de/wp-content/themes
       themes_size: 20,47 MB (21461929 bytes)
       plugins_path: /www/htdocs/w01b260d/klangraum-staig.de/wp-content/plugins
       plugins_size: 185,60 MB (194616476 bytes)
       database_size: 1,96 GB (2103261018 bytes)
       total_size: 2,37 GB (2544234856 bytes)
   
       ### wp-active-theme ###
   
       name: Betheme Child (betheme-child)
       version: 1.6.2
       author: Muffin group
       author_website: https://muffingroup.com
       parent_theme: Betheme (betheme)
       theme_features: core-block-patterns, editor-style, automatic-feed-links, custom-logo, editor-styles, post-formats, post-thumbnails, title-tag, menus, woocommerce, wc-product-gallery-lightbox, wc-product-gallery-slider, widgets
       theme_path: /www/htdocs/w01b260d/klangraum-staig.de/wp-content/themes/betheme-child
       auto_update: Deaktiviert
   
       ### wp-parent-theme ###
   
       name: Betheme (betheme)
       version: 23.0.3
       author: Muffin group
       author_website: https://muffingroup.com/
       theme_path: /www/htdocs/w01b260d/klangraum-staig.de/wp-content/themes/betheme
       auto_update: Deaktiviert
   
       ### wp-themes-inactive (2) ###
   
       Twenty Twenty: version: 1.7, author: WordPress-Team, Automatische Aktualisierungen deaktiviert
       Twenty Twenty-One: version: 1.3, author: WordPress-Team, Automatische Aktualisierungen deaktiviert
   
       ### wp-mu-plugins (1) ###
   
       Health Check Troubleshooting Mode: author: (undefined), version: 1.7.2
   
       ### wp-plugins-active (23) ###
   
       ARForms Form Builder: version: 1.3, author: Repute InfoSystems, Automatische Aktualisierungen deaktiviert
       Cookiebot | GDPR/CCPA Compliant Cookie Consent and Control: version: 3.10.1, author: Cybot A/S, Automatische Aktualisierungen aktiviert
       Events Calendar for FooEvents: version: 1.6.19, author: FooEvents, Automatische Aktualisierungen aktiviert
       FooEvents Custom Attendee Fields: version: 1.5.12, author: FooEvents, Automatische Aktualisierungen deaktiviert
       FooEvents Express Check-in: version: 1.5.7, author: FooEvents, Automatische Aktualisierungen deaktiviert
       FooEvents for WooCommerce: version: 1.12.36, author: FooEvents, Automatische Aktualisierungen deaktiviert
       FooEvents Multi-Day: version: 1.4.9, author: FooEvents, Automatische Aktualisierungen deaktiviert
       FooEvents PDF Tickets: version: 1.8.12, author: FooEvents, Automatische Aktualisierungen deaktiviert
       FooEvents Seating: version: 1.4.10, author: FooEvents, Automatische Aktualisierungen deaktiviert
       Germanized for WooCommerce: version: 3.4.8, author: vendidero, Automatische Aktualisierungen aktiviert
       Google XML Sitemaps: version: 4.1.1, author: Auctollo, Automatische Aktualisierungen aktiviert
       Health Check & Troubleshooting: version: 1.4.5, author: The WordPress.org community, Automatische Aktualisierungen deaktiviert
       Newsletter: version: 7.1.9, author: Stefano Lissa & The Newsletter Team, Automatische Aktualisierungen aktiviert
       paydirekt: version: 1.0.27, author: Logata Digital Solutions GmbH, Automatische Aktualisierungen deaktiviert
       Post SMTP: version: 2.0.23, author: Yehuda Hassine, Automatische Aktualisierungen aktiviert
       Progressive WordPress (PWA): version: 2.1.13, author: Nico Martin, Automatische Aktualisierungen aktiviert
       Slider Revolution: version: 6.4.11, author: ThemePunch, Automatische Aktualisierungen deaktiviert
       UpdraftPlus - Backup/Restore: version: 1.16.56, author: UpdraftPlus.Com, DavidAnderson, Automatische Aktualisierungen aktiviert
       WooCommerce: version: 5.4.1, author: Automattic, Automatische Aktualisierungen deaktiviert
       WooCommerce PayPal Payments: version: 1.3.2, author: WooCommerce, Automatische Aktualisierungen deaktiviert
       WPBakery Page Builder: version: 6.6.0, author: Michael M - WPBakery.com, Automatische Aktualisierungen aktiviert
       Yoast Duplicate Post: version: 4.1.2, author: Enrico Battocchi & Team Yoast, Automatische Aktualisierungen aktiviert
       Yoast SEO: version: 16.4, author: Team Yoast, Automatische Aktualisierungen aktiviert
   
       ### wp-plugins-inactive (2) ###
   
       Force Regenerate Thumbnails: version: 2.0.6, author: Pedro Elsner, Automatische Aktualisierungen aktiviert
       PayPal PLUS for WooCommerce: version: 2.2.1, author: Inpsyde GmbH, Automatische Aktualisierungen deaktiviert
   
       ### wp-media ###
   
       image_editor: WP_Image_Editor_Imagick
       imagick_module_version: 1690
       imagemagick_version: ImageMagick 6.9.10-23 Q16 x86_64 20190101 https://imagemagick.org
       file_uploads: File uploads is turned off
       post_max_size: 200M
       upload_max_filesize: 200M
       max_effective_size: 200 MB
       max_file_uploads: 20
       imagick_limits: 
       	imagick::RESOURCETYPE_AREA: 31 GB
       	imagick::RESOURCETYPE_DISK: 1.84467440737E+19
       	imagick::RESOURCETYPE_FILE: 786432
       	imagick::RESOURCETYPE_MAP: 31 GB
       	imagick::RESOURCETYPE_MEMORY: 16 GB
       	imagick::RESOURCETYPE_THREAD: 8
       gd_version: 2.2.5
       ghostscript_version: 9.50
   
       ### wp-server ###
   
       server_architecture: Linux 5.4.0-74-generic x86_64
       httpd_software: Apache
       php_version: 7.4.19 64bit
       php_sapi: fpm-fcgi
       max_input_variables: 10000
       time_limit: 300
       memory_limit: 1024M
       max_input_time: 300
       upload_max_filesize: 200M
       php_post_max_size: 200M
       curl_version: 7.68.0 OpenSSL/1.1.1f
       suhosin: false
       imagick_availability: true
       pretty_permalinks: true
       htaccess_extra_rules: true
   
       ### wp-database ###
   
       extension: mysqli
       server_version: 10.5.10-MariaDB-1:10.5.10+maria~focal-log
       client_version: mysqlnd 7.4.19
   
       ### wp-constants ###
   
       WP_HOME: undefined
       WP_SITEURL: undefined
       WP_CONTENT_DIR: /www/htdocs/w01b260d/klangraum-staig.de/wp-content
       WP_PLUGIN_DIR: /www/htdocs/w01b260d/klangraum-staig.de/wp-content/plugins
       WP_MEMORY_LIMIT: 40M
       WP_MAX_MEMORY_LIMIT: 1024M
       WP_DEBUG: true
       WP_DEBUG_DISPLAY: false
       WP_DEBUG_LOG: true
       SCRIPT_DEBUG: false
       WP_CACHE: false
       CONCATENATE_SCRIPTS: undefined
       COMPRESS_SCRIPTS: undefined
       COMPRESS_CSS: undefined
       WP_LOCAL_DEV: undefined
       DB_CHARSET: utf8
       DB_COLLATE: undefined
   
       ### wp-filesystem ###
   
       wordpress: writable
       wp-content: writable
       uploads: writable
       plugins: writable
       themes: writable
       mu-plugins: writable
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdatabase-error-and-php-fatal-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Dion](https://wordpress.org/support/users/diondesigns/)
 * (@diondesigns)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-php-fatal-error/#post-14550948)
 * You should post this in the WooCommerce support area because their plugin is 
   the cause of your issue.
 *  Thread Starter [mgboerni](https://wordpress.org/support/users/mgboerni/)
 * (@mgboerni)
 * [4 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-php-fatal-error/#post-14551138)
 * thanks i Set it to the WooCommerce forum

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

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [mgboerni](https://wordpress.org/support/users/mgboerni/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/database-error-and-php-fatal-error/#post-14551138)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
