• cdkrall

    (@cdkrall)


    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?)

Viewing 11 replies - 1 through 11 (of 11 total)
  • Moderator James Huff

    (@macmanx)

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

    Thread Starter cdkrall

    (@cdkrall)

    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.

    Moderator James Huff

    (@macmanx)

    Look here: https://www.ads-software.com/support/3/10032
    It seems like you just have to make a successful post, any successful post, just a successful post. Good luck.

    Thread Starter cdkrall

    (@cdkrall)

    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

    Thread Starter cdkrall

    (@cdkrall)

    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.

    moshu

    (@moshu)

    Just a reminder – said by the dev:
    https://www.ads-software.com/support/6/13208#post-82506

    Moderator James Huff

    (@macmanx)

    For the “Warning: Cannot modify header information – headers already sent” problem: https://faq.wordpress.net/view.php?p=7

    Thread Starter cdkrall

    (@cdkrall)

    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…&^)

    moshu

    (@moshu)

    I might sound like a broken record but when using alpha it is always good to read the first 2 posts from here
    https://www.ads-software.com/support/3/12916

    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 ?

    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 ??

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Line 93 error after upgrading’ is closed to new replies.