• Resolved lexlagoon

    (@lexlagoon)


    Hi

    Have done fresh install of 4.8.1 on a Windows host (1and1).

    With debug showing, I always get this error…

    Undefined index: a:1:{s:3:”ssl”;b:0;} in E:\kunden\homepages\14\d650565413\www\wordpress\wp-includes\class-requests.php on line 213

    I am also unable to click on the ‘Add new Theme’ button without it crashing with an unexpected and undefined error.

    I can however do get new themes by Importing them from the dashboard.

    Thanks guys.

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

    (@macmanx)

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.

    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    If that makes no difference, try manually resetting your plugins (no Dashboard access required). If that resolves the issue, reactivate each one individually until you find the cause.

    If that does not resolve the issue, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), navigate to /wp-content/themes/ and rename the directory of your currently active theme. This will force the default theme to activate and hopefully rule-out a theme-specific issue (theme functions can interfere like plugins).

    Thread Starter lexlagoon

    (@lexlagoon)

    Thanks very much James

    I have tried what you suggested (with the upgrade – 4.8.2) with no improvement, I’m afraid.

    The main thing that’s bugging me and I guess is related to the undefined index problem is that if I go to themes and then click on ‘Add new theme’ then I get the following (very unhelpful error)…

    An unexpected error occurred. Something may be wrong with ww.wp.xz.cn or this server’s configuration.

    Moderator James Huff

    (@macmanx)

    The two are likely unrelated, or at the very least the “Undefined index” error would be the cause since errors output in a cascade.

    Resetting your plugins and theme as described above made no difference?

    Thread Starter lexlagoon

    (@lexlagoon)

    Thanks James.

    No, resetting plugins and themes made no difference.

    I’ve managed to upload the theme that I want in zip format and that seems to be working so I will try to ignore the undefined index problem and see how it goes.

    Hello, mine is version 4.3.13 and keeps returning the following message:

    Notice: Undefined index: url in /websites/ha/haiderengineering.com.au/wp-content/themes/enhenyero/header.php on line 74

    I wetn to line 74, but could not find the problem. This is the “whole code” for that problem. Line 74 is the one where the “if” starts. How can I fix this?

    <div class=”col-sm-4 col-md-4″>
    <div class=”navbar-header”>
    <?php
    if( IsNullOrEmptyString( $ert_option[‘opt_site_logo’][‘url’] ) && $ert_option[‘opt_logo_select’] == ‘2’ ):
    ?>
    ” class=”navbar-brand image-logo”>” alt=””/>
    <?php
    else:
    ?>
    “><?php echo get_bloginfo(‘title’); ?>
    <?php
    endif;
    ?>
    </div>
    </div>

    Thanks on advance.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Undefined index error’ is closed to new replies.