There are following possibilities when you cann’t open wp-admin
1.There should be some file missing
2.Some function deny to login in themes files
3.Some plugin may also create issue
Solution:-
1.Replace all files from new WordPress except wp-content and wp-config file
1. Rename your theme folder in wp-content
2. Rename Plugins folder in wp-content
Hope this will work for you
thanks
Rohit
Related Posts:
- “Maximum function nesting level of ‘100’ reached” after adding a new filter
- apache cpu over 70% on localhost
- Fatal error: Call to undefined method WP_Error::get_item_quantity()
- Fatal Error relating to sessions.php
- wp_ob_end_flush_all and wp_suspend_cache_addition()
- fatal error call to undefined function get_header in index.php on line 1
- Getting error when using wp_insert_post()
- Fatal Errors on pluggable.php
- Syntax error in a shortcode function
- Fatal errors to undefined function in theme 404.php file [closed]
- PHP Helper Class to create shortcodes
- php – Plugin/theme relative PATH/URI
- Error while loading wordpress site “Fatal error: Uncaught Error: Call to undefined function twentytwentyone_the_html_classes() in /home
- Connecting to upstream failed
- Apply function.php filter only if url not has /amp/
- Fatal error: wp-settings.php on line 199
- How to route root path / to /xyz in nginx?
- Reduce Stock Based on Custom Variation Field Rather than Attribute (Working Script)
- I can’t load my images from a js file using wp_localize_script
- Right path for renaming a file in uploads folder
- Fatal Error cannot log into wordpress and website disappeared
- pages disable after wordpress update
- Importing demo data in Multisite
- WordPress error on my website
- Changed URl in General Settings now WordPress site doesnt work
- WordPress won’t display errors at all
- WP white screen of death after duping a site that works fine on same server
- Path for contact form file
- Catchable fatal error in appcloud free theme by Tokokoo
- Front-end major break after upgrade PHP 8.0 [closed]
- kali php problem [closed]
- Divi – add title to mobile menu button
- WordPress critical error after trying to update to 6.2 – Fatal error: Allowed memory size of 268435456 bytes exhausted
- Error message not appearing in error email or in the error log
- Why PHP Parse unmachet after update to PHP8?
- PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in Stack trace:\n#0 [internal function]: img_caption_shortcode()
- Is there a way to get a path to the theme directory without the server name?
- Adding custom input for data attribute in insert media modal
- WordPress PHP version requirements
- Removing Default Gutenberg Blocks, But Keeping Reusable Block Functionality?
- Uninstalling a plugin: delete all options with specific prefix
- How to get the list of WooCommerce product image of a certain category from database?
- How to override an unpluggable parent theme function?
- Display a text message if the shortcode is not found?
- Can i check if user is doing any ajax request?
- WordPress customizer: load controls in a custom div
- How to use wp_localize_script in a WordPress page other than functions.php?
- Check if widget has content
- Passing PHP Variables to JS using Localize Script
- Is it unsafe to put php in the /wp-content/uploads directory?
- How to Populate the list of custom post type categories
- Exclude pages with certain template from wp_list_pages
- Is Auto Post recognition a WordPress feature? How to turn it off?
- List authors with posts in a category
- Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Understanding WordPress child theme custom JS loading
- Problem with ACF shortcode with Repeater Field in WordPress? [closed]
- Why is PHP Cookie via plugin only set when logged in as Admin and not regular users? and other questions
- Generating a random number on every post and saving it in database
- Dynamically add styles to WP TinyMCE editor
- How to make a variable available for the duration of the page request
- Include a specific post to the query_posts and remove it if it is already in the returned list
- When would you use $_post instead of $post?
- the_author() not working outside the loop
- Autogenerate shortcodes from an array of strings
- Remove annoying WP Adminbar CSS
- API response to be stored locally
- Warning: Use of undefined constant HTTP_USER_AGENT – assumed ‘HTTP_USER_AGENT’ (this will throw an Error in a future version of PHP)
- How to convert objects into arrays
- Removing unneccessary p-tags (Not every p)
- Integrate WordPress in Yii
- wp_kses and magic quotes
- Customize Plugin
- Huge debug.log because of “undefined offset in media.php”
- display month in french in wordpress/php?
- Retrieving Author ID in wp-admin area
- Custom Theme, Custom shortcode not working
- Part of title duplicating but not sure how to remove from code – help?
- Create a hierarchical taxonomy list in WordPress
- Randomly Assign an Image’s Alt Text Based on Data From Post
- Adding custom directory and PHP files in wordpress
- Best practice for migration friendly images in posts/pages?
- How can I Add a variable PHP in the Menu Nav
- Pull the content out of a page
- mysql query from wordpress page using custom table
- Adding an Avatar to the Top Nav Bar
- How to add seperate classes to no-search-result and found-search-result pages on wordrpess search – is_search()
- Edit incorrect password message WordPress
- wp search-replace on database returns PHP fatal error: Array and string offset access syntax with curly braces is no longer supported
- Best way to add more options to Gutenberg “More Rich” text controls drop down
- Connect WordPress with SharePoint [closed]
- A non-numeric value encountered in /wp-includes/functions.php on line 68
- XAMPP-VM Mac OS Mojave wordpress debugging using XDebug
- How to get original custom taxonomy slug after the slug has been rewritten?
- WordPress Persistent connection rule does not work for “posts”
- Ajax load more button for comments wordpress
- WordPress & Fastcgi proper setup?
- Options API get_option() and update_option() Not Correctly Updating or Returning
- Unique icons next to each WordPress menu item
- Update user profile information from functions.php