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