http://yoast.com/custom-wordpress-database-error-pages/
You can make your own Database Error page by adding a db-error.php to your wp-content folder (/wp-content/db-error.php). You can find a good example of such a page in the link above. Don’t forget adding header("HTTP/1.0 500 Internal Server Error");
in that file so it get a proper header message.
Related Posts:
- Is there a plugin that will override the “Error establishing a database connection” message? [closed]
- after wordpress update to 3.5+ i get many errors in plugin wpdb::prepare()
- WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version [closed]
- A plugin is giving me “You do not have sufficient permissions to access this page.” error
- Is it bad practice to create own table for a plugin?
- Loading external page template and enqueue script from plugin causes 403 forbidden error
- What are these entries in the database? Looks similar to JSON
- How to properly insert data into custom table via plugin
- How does WordPress handle MySQL row lock errors?
- How to empty wordpress custom post Database table
- insert data in database table from plugin with WP3.1
- $wpdb->get_results leaking memory
- Is it a bad practice to go directly to the mysql database while developing a plugin?
- Plugins error (Use roles and capabilities instead) on latest version, multisite
- WordPress error – PHP Fatal error: Uncaught Error: Call to undefined function register_block_type_from_metadata()
- Create custom column in post table in wordpress
- Custom database table for plugin not creating on activation
- “Are you sure you want to do this?” when deactivating all plugins in WordPress 4.3.1 [closed]
- How should I handle errors within a plugin?
- Should I global $wpdb outside of any of my plugin’s functions scope?
- How to edit/delete single row items in a table on my own menu page
- Seaweed Plugin not working
- All plugins deactivated due to error
- greatest() function returns undefined property
- Error in the wp-config.php file: PHP Fatal error: Uncaught Error: Unknown named parameter (PHP 8.0)
- Error handling a plugin with exceptions
- Unable to create new database table upon plugin activation using dbDelta
- Post-terms-order PHP errors after update
- Plugin Options Not Saving to Database in WP 4.5
- Doubt using $wpbd->get_col for a single column
- Access WordPress database outside of WordPress
- WordPress Settings Lost After Site Migration
- Help With MySQL to WPDB Query Conversion
- How to remove traces from widget during uninstallation
- import posts with dutch/special letters
- AFNetworking incorrectly interpreted WP_Error
- Unable to get WP_DEBUG, WP_DEBUG_DISPLAY, WP_DEBUG_LOG to work
- “Master” WordPress Multisite – Database Sync
- Better ads plugin has 500.000 entries in wp_postmeta
- Getting a “Warning: call_user_func_array()” error whenever I install/update a plugin
- How to create multiple database tables on plugin activation?
- Does deleting a Plugin via the WordPress admin ‘completely’ remove the code?
- What’s causing this error? “Warning: Invalid argument”
- help with my wordpress website
- WordPress error: Options page Setting_ not found in the allowed options list
- WP-nivo-slider Producing Error “Cannot modify header information – headers already sent by …”
- Best/Correct way to add an option to a category
- After updating the WordPress getting a syntax error in the console
- Why does this code snippet create a critical error on my site? [closed]
- DB Query not working in Plugin
- Where do plugin variables live in the db?
- Plugin upgrade failing during unzip
- Function Error after WP Upgrade to 3.9.1
- Plugin: connect to external database without showing password
- Storing Form data in a different database
- Trying to get property of non-object wordpress error message
- How to get Facebook comment plugin in blog? [closed]
- More than one WordPress site using the same database – how to disable plugin for one site?
- 404 errors when updating options in admin dashboard
- Error when adding extensions to wordpress version 5.9 with a DIVI install
- How to get specific column data conditionally in database in WordPress?
- Replace old theme that understand old css (vcex_icon_box css_animation)
- Open_basedir errors – But setting basedir to none redults in 502 Bad Gateway
- What database state changes happen after a post is manually “updated” with no changes?
- Can i stream data to a custom_post_type?
- There has been a critical error on this website
- How do I add a medium to the WordPress database with my own plugin?
- I want to schedule email (date, time is in database->table) wp_schedule_event() not working
- How to Fix WordPress multisite woocommerce 403 file error
- $wpdb->insert not working inside save_post tag
- Get Shortcode output to database for static post_content
- Installation failed: 504 – Gateway Timeout
- Store GravityForm data in phpmyadmin (mysql)
- My wp database has been hacked
- How to update a database entry with a wordpress plugin?
- Woocommerce functions in custom class, avoid errors
- Accessing data from Google Cloud Datastore in WordPress site
- White blank screen while adding or editing pages in wordpress
- How can I store user preferences in WordPress and retreive them later?
- How do I create a state of “don’t assign anything to variable” if WP_Error throws an error?
- Database error when user logs in
- Plugin debugging with errors in activation routine
- one admin for 2 wordpress websites
- Need help for creating custom table on wordpress
- Plugin installation error in wordpress
- Create user assessment and use results in sql query
- WordPress custom posttype meta values doesnot save
- Insert data in custom table during new post creation
- Plugin won’t activate, fatal error (widget class not found)
- Managing database tables in WordPress multisite
- Plug-in (Slickr Flickr) works on local machine, but not server
- How to submit the custom form data in database in WordPress without plugin?
- Duplicator live to wamp https to http
- Theme causing SSL break on chrome
- Is it possible to recover Deleted users?
- User register hook can’t access form request
- Very slow page loads
- WordPress error Fatal error: Uncaught TypeError: Argument 3 passed to Automattic :get_setting_for_feature() [closed]
- Form with response button after on table after submission
- Can’t save formdata in DB