Cannot access /Wp-Admin
-
Hi All,
Apologies as this question seems to be posted countless times. However I have gone through just about every conversation and tried every piece of advice mentioned and I still haven’t solved the problem.
I suddenly don’t seem to be able to access my /wp-admin page no matter which method I try to reach it and I think it may be since I updated to 3.2.1.
One of the things I have tried since is to edit the wp-config folder code to show define(‘WP_DEBUG’, true); and the following message was displayed:
Notice: Undefined index: action in /home/sites/experiencedaygiftideas.com/public_html/wp-content/themes/shopperpress/functions/custom-options.php on line 323
Fatal error: Cannot redeclare wp_write_stats() (previously declared in /home/sites/experiencedaygiftideas.com/public_html/wp-load.php:61) in /home/sites/experiencedaygiftideas.com/public_html/wp-load.php on line 61
I believe line 323 in custom-options says:
global $pagenow; if ( $pagenow == "wp-login.php" && $_GET['action'] != 'logout' && !isset($_GET['key']) ) { add_action('init', 'cp_login_init', 98);
[Code moderated: please ensure that your code is enclosed in backticks (`) or use the code button.]
and line 61 in wp-load says:
[Code moderated as per the Forum Rules. Please use the pastebin]
Can somebody please tell me if the above looks wrong? Unfortunately I’m not technical enough to understand.
Thanks.
- The topic ‘Cannot access /Wp-Admin’ is closed to new replies.