WordPress.org

Forums

Line 93 error after upgrading (12 posts)

  1. cdkrall
    Member
    Posted 10 years ago #

    I have an early 1.3 Alpha installed and working. It has several issues (can't logout, some plugins work, some don't), so I thought I'd try a new version via CVS.
    When I do get a new version I get a line 93 error message atop of the header, after making the wp-config.php file and then attempting to load my site.
    This happened a while back, I put my backup back in place, which "works", and thought I'd try again later.
    I get the same issue whether updating my current install or starting from new.
    Have similar issues if I try to use Mingus.
    Am I totally hosed? Should I export, and install from scratch, and then reimport (and, is this possible?)

  2. Please quote the exact error and provide a URL to your site.

  3. cdkrall
    Member
    Posted 10 years ago #

    I apologise for not having the exact message before. Here it is...
    Warning: Invalid argument supplied for foreach() in /home/krall/www/wordpress/wp-settings.php on line 93
    site is at krall.org
    Thanks for any help.
    I did try to chase down line 93 in BBEdit, but could not suss out what was needed.

  4. Look here: http://wordpress.org/support/3/10032
    It seems like you just have to make a successful post, any successful post, just a successful post. Good luck.

  5. cdkrall
    Member
    Posted 10 years ago #

    Forgot to add this: Attempting to log in gets me this code on an otherwise blank page...
    Warning: Invalid argument supplied for foreach() in /home/krall/www/wordpress/wp-settings.php on line 93
    Warning: Cannot modify header information - headers already sent by (output started at /home/krall/www/wordpress/wp-settings.php:93) in /home/krall/www/wordpress/wp-login.php on line 42
    Warning: Cannot modify header information - headers already sent by (output started at /home/krall/www/wordpress/wp-settings.php:93) in /home/krall/www/wordpress/wp-login.php on line 43
    Warning: Cannot modify header information - headers already sent by (output started at /home/krall/www/wordpress/wp-settings.php:93) in /home/krall/www/wordpress/wp-login.php on line 44
    Warning: Cannot modify header information - headers already sent by (output started at /home/krall/www/wordpress/wp-settings.php:93) in /home/krall/www/wordpress/wp-login.php on line 45
    Warning: Cannot modify header information - headers already sent by (output started at /home/krall/www/wordpress/wp-settings.php:93) in /home/krall/www/wordpress/wp-login.php on line 176

  6. cdkrall
    Member
    Posted 10 years ago #

    Looking at wp-settings.php on line 93 I get the following...
    foreach ($current_plugins as $plugin) {
    I tried replacing the stock plugins folder with my old one, no change.
    Tried replacing the wp-settings.php file and got a fatal error 1703.

  7. moshu
    Member
    Posted 10 years ago #

    Just a reminder - said by the dev:
    http://wordpress.org/support/6/13208#post-82506

  8. For the "Warning: Cannot modify header information - headers already sent" problem: http://faq.wordpress.net/view.php?p=7

  9. cdkrall
    Member
    Posted 10 years ago #

    Sorry I'm so thick. Takes me a while to think of what to try next.
    Just before I read your post I deactivated all the plugins manually, then was able to at least upgrade and get things working properly.
    The plugins don't work when activated in the new version, but no more php errors.
    Probably need new plugins by now...&^)
    I still cannot logout. When I try it takes me to the Write page, setting me up for a new post.
    I'm assuming my database might be a bit boggered, checked when I went back to the old version and was using a 1.3 pre-alpha, so probably need to go edit something in there.
    Any idea what array might be at issue if I can't log out?
    Again, thank you all for your help. I'll be less impatient with both myself and WP next time...&^)

  10. moshu
    Member
    Posted 10 years ago #

    I might sound like a broken record but when using alpha it is always good to read the first 2 posts from here
    http://wordpress.org/support/3/12916

  11. Mark (podz)
    Support Maven
    Posted 10 years ago #

    A couple of checks:
    - when you change versions, are you first deleting all the old files from the server ? Relying on the correct overwriting by the ftp client will cause errors.
    - are you running upgrade.php at each change ?
    - are you clearing your cache and cookies also ?

  12. Sorin
    Member
    Posted 10 years ago #

    how about a check in the main page
    If version_field from db < version from the source then redirect to upgrade php. Simple to implement and resolve a lot of support requests :)

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.