In phpmyadmin search :
SELECT *
FROM wp_options
WHERE option_name="template"
OR option_name="stylesheet"
OR option_name="current_theme";
then :
UPDATE wp_options SET option_value="yourthemename" WHERE option_name="template";
UPDATE wp_options SET option_value="yourthemename" WHERE option_name="stylesheet";
UPDATE wp_options SET option_value="yourthemename" WHERE option_name="current_theme";
or if you want to go back to default (presuming some default exists)
SET option_value="default" WHERE option_name="template";
UPDATE wp_options SET option_value="default" WHERE option_name="stylesheet";
UPDATE wp_options SET option_value="default" WHERE option_name="current_theme";
note :
- template – the “Theme Name” as defined in style.css
- stylesheet – the actual name of your theme folder
- current_theme -the actual name of your theme folder
Related Posts:
- A SINGLE Post Giving an “Under Maintenance” Message
- Unable to locate WordPress Content directory (wp-content)
- Update wordpress fail – There has been a critical error on your website
- Error Logs to Diagnose Error 500 in LAMP
- How to get a Custom 500 Error Page to show?
- How to show the error causing the ‘There has been a critical error on your website’?
- Nginx 404, 500 errors and WordPress
- update user information
- After upgrading Debian Buster to Bullseye, WordPress sites no longer updating
- How to Fix “Are You Sure You Want to Do This”, while uploading my theme?
- 500 error for all pages and post after move localhost to server
- Unable to locate WordPress content directory
- WP Core Update Issue
- Weird Cron Error
- Seeing “error” as text on white when accessing admin
- Internal 500 error: Activating rootio theme and deploying with capistrano
- Error updating WordPress, does not ask for FTP password, just error
- Console errors after WordPress Update 6.1
- Unable to log in: “Cannot serve directory www/wordpress/wp-includes/ No matching DirectoryIndex”
- My websit dosent worke http errors 500
- Critical error after updating my wordpress
- How to disable the fatal error (WSOD) protection?
- Could not create directory /wp-content/upgrade/
- Getting the warning: Missing argument 2 for manage_posts_custom_column()?
- What log files does a WordPress installation write to?
- HTTPS leads to Sorry, you are not allowed to access this page
- How to use WP_Error $data argument?
- Is it possible to disable caching of an option when using w3 total cache?
- Showing error “Function create_function() is deprecated”
- error_log over 70GB. How to stop this? [closed]
- Getting headers already sent error from plugin
- “Notice: Undefined index:” error when adding new content?
- Object of class WP_Error could not be converted to string
- New WordPress Error Message – Not seen this before
- How to handle core code throwing notice on valid input?
- Getting Warnings & Notices from Fresh WordPress 3.1.2 install
- What do these “Failed to import” errors mean and how do I fix it?
- How to use add_settings_error in register_setting callback
- Application passwords not working on localhost?
- WordPress home page doesn’t work, but other pages do. How to rectify?
- Only on 404 page, get notice: trying to get property of non-object on nonce
- In big trouble – Allowed memory size of 268435456 bytes exhausted
- failed to open stream: No such file or directory
- Error! 401.shtml file not found, what’s the problem?
- Strange glyphs code error
- Sorry, you are not allowed to access this page dashboard
- Custom slider throwing an error
- err_connection_closed after 20 minutes when loggedin in backend
- Can I check which users ran which updates?
- Homepage Not Found Error [closed]
- 4.2.2 stuck in an db upgrade loop with “Call to undefined method wpdb::get_col_length()”
- Cannot redeclare maybe_create_table()
- Fatal error: Allowed memory size of 146800640 bytes exhausted (tried to allocate 57 bytes) in public_html/wp-includes/rewrite.php on line 1561
- Display all WP Errors together during form validation
- Updating posts exceeds maximum execution time
- “Cannot modify header information” means I can’t use wp_redirect
- Front end empty (i.e. nothing displays); Back end looks fine; What are possible causes?
- Website Warning: call_user_func_array() expects parameter 1 to be a valid callback, class ‘Wppr_Public’ does not have a method ‘amp_support’
- How can I use wordpress functionality outside of WP framework
- Errors in Add Image Popup, Media Library Tab: “in_array() expects parameter 2 to be array, null given in wp-includes/query.php”
- hypanis.ru wordpress vulnerabilty [closed]
- Child Theme Fatal Error [closed]
- Jetpack could not contact wordpress [closed]
- Dummy data error
- Problem after updating plugins
- W3 Total Cache “Preview mode could not be disabled” [closed]
- Resolving a 500 Error with GoDaddy Hosting? [closed]
- Failed to import “File name”: Invalid post type jetpack-portfolio
- Error call_user_func_array() After Installing Plugin
- Error 500 when installing WordPress
- Why I get a blank screen when trying to make wordpress post/pages edits?
- Unable to edit with Elementor
- Warning: call_user_func_array()
- Getting Download failed. cURL error 28: Connection timed out after 10001 milliseconds
- “File not found.” appears often while navigating wp-admin
- There has been a critical error on your website
- WordPress Error blank page In section website
- Posts, pages and some images are deleted sometimes
- Call to undefined function wordpress listing_categories
- how do i fix these errors my debug log gave me?
- Fatal error: Call to undefined function wp_add_privacy_policy_content() in /wp-admin/includes/misc.php on line 1822
- The TypeError: this.each when wp.media.open() after using popper.js for bootstrap 4
- Unable to customize themes in wordpress after migrating to https from http
- Can too-large images cause Error Establishing a Database Connection
- Overcome illegal characters [duplicate]
- How to find which plugin crashes
- bypassing permission error for a plugin’s page
- Website Loading Very Slow, Each Time Different File Takes Very Long To Load
- Fatal error: Allowed memory size of bytes exhausted (tried to allocate 36 bytes)
- Logging out gives 404 error
- Any idea on how to fix this error when forcing SSL on a certain page?
- White background, black text – the simplest on earth : “error”!
- Twenty Eleven theme-options error
- warnings & errors after MAMP to live (hosteurope)
- I’m getting Call to undefined function wp_parse_list() out of the blue
- undefined index [closed]
- Language of errors in WordPress admin
- WordPress is not sending the 2nd email in the same request
- Fatal error: Uncaught Error: trim(): Argument #1 ($string) at \wp-includes\class-wp-query.php
- How do I turn off WordPress errors and just have regular old php errors?