Support Forum

Multiple Undefined Index & Property Notices after host migration

OJ Omar Jordan
Omar Jordan
Member

Hi,

I am receiving this Notice repeatedly at the top of my Forum page:

Notice: Undefined index: group in /problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/sp-startup/forum/sp-forum-framework.php on line 99

 

And I receiving the following Notice repeatedly in the actual Forum:

Notice: Undefined index: in /problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/sp-api/sp-api-auths.php on line 29

 

And also these Notices in one specific Topic:

Notice: Undefined property: stdClass::$post_tip in/problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1016

Notice: Undefined property: stdClass::$user_id in/problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1027

Notice: Undefined property: stdClass::$display_name in/problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1027

Notice: Undefined property: stdClass::$guest_name in/problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1028

Notice: Undefined property: stdClass::$post_permalink in/problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1031

Notice: Undefined property: stdClass::$topic_name in/problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1032

Notice: Undefined property: stdClass::$post_date in/problem-with-post-edit-buttonome/insacr5/public_html/wp-content/plugins/simple-press/forum/content/sp-group-view-functions.php on line 1033

 

These Notices occurred after moving the Forum to another hosts.

Does anyone have an idea what may be causing this?

3 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

First off, while I will double check, I believe all of these notices have been cleared in the next update.

Secondly – these are notices and not errors as such. It is really php being a little pedantic. But they are an annoyance which is why we clean them up when we encounter them.

Having said that they should NOT appear on the live site. This is a product of the way your new host has the php error reporting set up and thry are quite wrong to set it this way as it goes against all advice. You need to ask your host to stop the screen display of notices and warnings.

 

OJ Omar Jordan
Omar Jordan
Member

Is this something I could fix by editing the php.ini file?

UPDATE: I was able to figure it out. Thank you for your input. It was very helpful.

 

Omar

MP Mr Papa
Mr Papa
Member

glad to help…  and those notices should be fixed up…