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
- How to use multiple query with same meta key
- How to use WordPress (PHP) functions in AngularJS partials files?
- How to create a custom config file and get data using inline JS in a wordpress page
- How to Remove a Filter from the Admin List Table?
- Remove commas from WooCommerce checkout addresses fields
- Getting the dropdown menu to redirect to different pages?
- enqueue multiple Google fonts with multiple weights and styles (italic)
- How to display user nickname (not display name) in PHP template?
- Extract subdomain and relative address from a url
- Custom Template 404 for specific custom post type
- Accessing site’s root from themes folder
- Passing PHP Function Arguments from CLI vs URL
- tracking number field in Woocommerce order [closed]
- Count top level menu items
- How to complete two other input fields, completed the first
- Why ajax doesn’t work on certain wordpress hooks and reload the page instead?
- Remove the first 5 characters of the_title and orderby that
- How to add a do_action on refreshing of WP customizer?
- Replacing mysql_escape_string in a custom plugin when moving to PHP7
- WordPress displaying content from sub pages
- jQuery code not working when included in functions.php
- Widgets in the loop if active
- Fatal error: Call to undefined function register_new_user()
- Remove the More Link
- How to display SQL query that ran in WC_Order_Query?
- Using admin-post.php for admin form but it directs me to admin-post.php white screen
- How to display meta_value array?
- What should I write in the post action of this front end post form?
- How to split AJAX response into two divs
- Deleting expired session tokens in WordPress
- How to set variables with AJAX request to use in another function in WordPress
- Creating a brand attribute as a variable
- Illegal string offset in PHP function in via Theme Customizer
- How to hide the file name of 404.php in URL?
- when hooking to pre_user_query my wordpress crashes when using very simple commands?
- Loop for recently (updated_post_meta) posts?
- I am having errors with checkout on wordpress
- Display articles with a different template in the home page | Solved |
- How to use Multi SQL Database in WordPress?
- Help me understand how Search function works using dynamic_sidebar()
- How to display post meta bellow every posts
- Sudden Upload HTTP errors, PHP uploads and memory limits are already to high to my taste. Anything else?
- form submission reverts to index.php template
- Hide a specific category title from displaying on site
- i want add conditional for add category in wordpress
- Return to the beginning of the results of a for loop
- Thumbnail wouldn’t scale to size properly
- Scheduling a post using publish date from a custom field. Resulting post is set as published in the future instead of scheduled
- PHP script to redirect traffic based on website accessed
- How to remove title tag with this filter
- How to handle the structure of page/taxonomy/post without making wordpress get confused with the url
- Add two or multiple functions in WordPress Post or Page
- Can’t put a hyperlink on Featured Post’s Image
- special characters not supporting in wordpress
- Custom user roles doesn’t apply changes
- How to get the first letter from custom field?
- A Space being added to url generated by custom plugin
- Why this plugin is not working?
- get_post_meta is always empty when I use wp_mail
- How to execute add_action() function from custom plugin to Crontrol plugin or do_action()?
- Incomplete term slugs output from a foreach loop with get_the_terms
- Custom Shortcode with Dynamic Button
- Too many if’s and else if’s ?? – Must be better way [closed]
- REST API custom endpoints for metaboxes
- generate excerpt from the part of big text dump that contains keyword
- How to sort search result by post_title, then by post_content
- Custom Admin Menu Report for Specific User ID