• Hi

    I am getting an error which is not allowing me to access all the parts of my dashboard. The website is my own. http://www.servicegiant.co.uk

    The error that is appearing is:

    Notice: Undefined index: page in C:\HostingSpaces\Hayder\servicegiant.co.uk\wwwroot\wp-content\themes\giant\functions.php on line 152 Notice: Undefined index: page in C:\HostingSpaces\Hayder\servicegiant.co.uk\wwwroot\wp-content\themes\giant\functions.php on line 262 Notice: Undefined index: page in C:\HostingSpaces\Hayder\servicegiant.co.uk\wwwroot\wp-content\themes\giant\functions.php on line 370 Notice: get_theme_data is deprecated since version 3.4! Use wp_get_theme() instead. in C:\HostingSpaces\Hayder\servicegiant.co.uk\wwwroot\wp-includes\functions.php on line 3201

    I have just updated the theme and other updates, also updated to the latest wordpress. The problem still has not been resolved.

    I need help please!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hay,

    Those are PHP errors, the first three are because the code on line x of functions.php is trying to access iterate over an empty array, basically the theme developer hasn’t checked to see if their empty before trying to used them.

    There “Notices” which basically means there is an error here but its not important enough to break the script form functioning, your seeing the messages as you’ve i’ve set WP_DEBUG to true in your wp-config.php or your default php error reporting level it too high in your apache or php.ini config of your server.
    http://php.net/manual/en/function.error-reporting.php

    Your also seeing the final message for the same reason, also from your theme.

    However it’s been added by wordpress, to tell you (the developer) that your theme is trying to uses an out of date function, thats been replaced and at some point in the future will be dropped for wordpress completely which will spectacular break your site if you don’t fix/update your code before it happens.

    All of this points to the fact that you theme is out of date, you should try to see if you can get a updated version from the developer, it looks like a commercial theme so you should contact the place you purchased the theme from to see if theirs an update or if they can provide one.

    Tim Nash

    (@tnash)

    Spam hunter

    Normally the level of warnings you get are set by your host, if you are running a production site, you can ask for these notices to be switched off and errors to be recorded to an error log. This will stop the immediate issue, however the last error is indicating your theme “giant” is using a function which has been deprecated and might be removed in future versions of WordPress.

    It’s worth contacting the theme owner as all the errors do relate to that theme, at the same time as asking your host to switch errors of for you,

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

The topic ‘Error: Undefined index: page in’ is closed to new replies.