Support Forum

iPad Undefined Index Error

MW Michael Wilding
Michael Wilding
Member

We’re getting this error when viewing sites with simple-press installed on an iPad:

Notice: Undefined index: active in wp-content/plugins/simple-press/sp-startup/site/sp-site-support-functions.php on line 484

This only seems to happen on iPads, it works on desktops and mobiles. Any suggestions?

We’re running version 5.5.8.

Thanks

5 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Can you just explain please what you mean by ‘works’? This is just a notice – it doesn’t break anything or make things stop working…?

and meanwhile I will take a look at the code as well of course.

MW Michael Wilding
Michael Wilding
Member

On an iPad the entire site with simple-press on doesn’t display, it shows this error. You can see it at members.raceadvisor.co.uk on an iPad. On any other device we don’t get this issue, the entire site and forum works as normal.

YS Yellow Swordfish
Yellow Swordfish
Member

Well a couple of things first…

It is not an error it is a notice. It is an important distinction as notices are non-destructive. Next – and most importantly – you should NEVER allow your website to display these messages – it is a bad idea as it can make path information public and sometimes other data as well. We strongly recommend you talk to your host and ask them to correct your error reporting status to not display on screen.

as to this notice – go to the forum admin > Themes > Mobile Tablet Theme. If you want tablets to use the same theme as desktops then ensure the ‘enable’ option is not selected. Enabled or not then DO update the small form at the top.

If you have it enabled make sure you update it and select the appropriate theme below and also update that. That should clear the notice. And it should also display the forum on the tablet device.

MW Michael Wilding
Michael Wilding
Member

Perfect,thank you for your support. I will get our hosting to remove those messages.