WordPress.org

Ready to get started?Download WordPress

Forums

White Screen and Warning: array_keys: theme (12 posts)

  1. MLobel
    Member
    Posted 3 years ago #

    It all began when I attempted to relocate site from localhost (Wamp) to Netowrk Solutions. I followed the codex guide to the tee for relocating. Changed all directories. Network Solutions support said that from their end it should be working...yet if I go to site url I get the dreaded white screen and when I finally gained access again to WP dashboard a new error message popped up:

    Warning: array_keys() [function.array-keys]: The first argument should be an array in /data/19/1/68/156/1883156/user/2047296/htdocs/wp-includes/theme.php on line 513

    Not sure what to do from here! Can't find a fix on forum or documentation. Any help would be wonderfully appreciated!

    Additional Info: I'm using Headway themes.

    Thank you!!!

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Could be an error in your theme. Try switching to the default theme by renaming your current theme's folder in wp-content/themes using FTP or whatever file management application your host provides. That should get you back into your remote site.

    Then try setting error logging and debug on in your local install.

  3. MLobel
    Member
    Posted 3 years ago #

    Ok, done but now I get the following error:
    Fatal error: Call to undefined function get_header() in /data/19/1/68/156/1883156/user/2047296/htdocs/index.php on line 10

    When I go to URL and my headway theme is no longer on my dashboard as an option. So confused. Thought it was a headway issue but now with headway not even on dashboard my site is still down.

  4. esmi
    Forum Moderator
    Posted 3 years ago #

    Do you have a twenyten folder in your wp-content/themes folder?

  5. MLobel
    Member
    Posted 3 years ago #

    yes, all twentyten items show up in my file manager through network solutions and that is the only theme avialable on dashboard and is currently set as theme in my dashboard.
    Thank you so much for helping me!!!!

  6. esmi
    Forum Moderator
    Posted 3 years ago #

    Try re-uploading all files & folders - except the wp-content folder - from a fresh download of WordPress. Then re-upload a fresh copy of the Twenty Ten theme (you'll find it within the wp-content/themes folder of the downloaded WP archive).

  7. MLobel
    Member
    Posted 3 years ago #

    Should I remove the existing files mentioned from my file mmanager before or after I take this action?

  8. esmi
    Forum Moderator
    Posted 3 years ago #

    Just over-write the files.

  9. MLobel
    Member
    Posted 3 years ago #

    Ok I did it. More errors occured (dashboard failed, etc). So, I deleted the entire database from Net Sol and reuploaded from backup I created. Followed all steps per codex (again) to change url. Dashboard worked instantly this time and all url's are correct on dashboard and database. My headway theme is still not showing in Manage themes in dashboard. I can't "view" any posts, and when I enter site URL in browser I get the following error:

    Fatal error: Call to undefined function get_header() in /data/19/1/68/156/1883156/user/2047296/htdocs/index.php on line 10

    It seems that even the default twentyten theme doesn't load site. Thanks you in advance for your help!

  10. esmi
    Forum Moderator
    Posted 3 years ago #

    Did the install work before you imported the local database sql?

  11. grantgriffiths
    Member
    Posted 3 years ago #

    Have you thought about going to the Headway forums where we could actually help you on this?

  12. rafeeg
    Member
    Posted 3 years ago #

    Good topic...

Topic Closed

This topic has been closed to new replies.

About this Topic