• I have a strange issue. I created two new administrators for clients recently and when they sign in, they get a white screen with

    Sorry you are not allowed to access this page.

    However, if you look at the addressbar, they are at https://harveylakeland.com/wp-admin.php. So if I delete the admin.php, they get the page with the black toolbar across the top and can get into the site in a convoluted way of clicking Edit page, and then they see that page for editing and can see the rest of the dashboard.
    I’ve deactivated every plugin, and that didn’t help, and I’ve had this issue before with a different theme, so I know that it isn’t the theme.
    I am an admin and I am fine, and the old administrators we removed were able to get in, it is only newly created admins. Anyone heard of this?
    Wordpress is up to date, plugins up to date.
    Theme is DIVI (but I had this issue with a Builder- iThemes Theme before)

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • It can be a whitespace problem in your theme’s functions.php file, check for empty newlines before or after the php tags at the beginning and end of the file.

    If you’re sure it’s not a plugin or theme causing this, then you could also try re-uploading all your WordPress core files.

    Do this by downloading the latest stable version of WordPress as a ZIP file, then replacing all the files and folders in your WordPress directory, except the wp-content folder.

    When loading your site after this, you’ll be prompted to enter your database credentials for the wp-config file as if you were installing WordPress for the first time. This is just to populate the wp-config file so your data can be accessed. The site should work again on the frontend like it did before. Now try logging into /wp-admin and see if the admin panel works.

    Thread Starter germars

    (@germars)

    Thank you Swayam for replying. I replaced all of the core files and I was really hopeful, but alas, that didn’t help. I have a functions.php in my child theme and my base theme and I’m not sure where a whitespace would be or which file would be more important to look at.

    I did turn off all of my plugins yesterday and then tried to sign in and got the same issue.

    Can I show you the functions.php files from both themes (child and main) and you can see if there is any white spaces? Have you heard of this before?

    yeah sure, you can provide both the files and i can check for you. Alternatively, if this doesnt resolves your issue, you need to hire some developer to do this job for you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘new admins don’t see dashboard’ is closed to new replies.