Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
PHP Notice, Undefined index
Avatar
Debra Reed
Member
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 12:12 pm

I have read here on the forums that PHP notices are nothing to worry about.  So I guess this is just FYI.  However, we are trying to track down some other persistent issues in WP (posted in another thread here regarding Simple: Press mysql_ping() warnings and other random WP 404/500 errors), so just covering my bases in case there is something here I need to know about these notices. 

I have been getting lots of these notices since I installed SP in November 2013:PHP Notice:  Undefined index: 36
PHP Notice:  Undefined index: sfkeywords
PHP Notice:  Undefined index: topicname

Current version is 3.8.1.

Thanks.

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 29, 2014 - 12:33 pm

Correct - these are harmless and just a nuisance; As we find them we correct them although often it is just data that has not yet been defined and once defined they just disappear.

I will address the other post though on a few minutes.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 29, 2014 - 8:52 pm

and I believe the ones you reference have already been addressed in next version... cant tell for sure without file and line #, but believe they are handled...

Avatar
Debra Reed
Member
Free Members
sp_UserOfflineSmall Offline
Jan 30, 2014 - 1:30 pm

Thanks for your replies.  Just FYI, what I posted was the entire text of the notice.  Should there have been a file/line# referenced?

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 30, 2014 - 3:14 pm

Yes there should but that might be out fault actually. Any you find like that should also appear in the SP error log with more detail. We have corrected that in the next update.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Adam Stockton
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2014 - 1:32 pm

Mr Papa said
and I believe the ones you reference have already been addressed in next version... cant tell for sure without file and line #, but believe they are handled...

I am also getting this error message everytime a page of my website is accessed:

[31-Jan-2014 18:30:28 UTC] PHP Notice:  Undefined index: editor

I have tracked it down to be the file uploader plugin for simple press, but do not know how to fix it.  Let me know if you can and thanks!

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Jan 31, 2014 - 3:29 pm

Now that one is a real puzzle as (a) we have never seen that before and (b) I don't really see how SP can function without the editor value being set...

Can you open up your personal profile - post options - editor and see what you have set - and - if nothing - select one.

andy-signature.png
YELLOW
SWORDFISH
Avatar
Adam Stockton
Member
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2014 - 3:54 pm

Not sure exactly what you mean.  I opened up my personal profile and set the editor as text editor "plain textarea" .. not sure if that's what you meant.  So I have installed a couple other plugins and now I am getting many more errors in my error log.  Here is a sample:

 

[31-Jan-2014 20:48:24 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:24 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:26 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:26 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:27 UTC] PHP Notice: Undefined index: sfpmremove
[31-Jan-2014 20:48:46 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:46 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:49 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:49 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:48:49 UTC] PHP Notice: Undefined index: sfpmremove
[31-Jan-2014 20:49:00 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:00 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:04 UTC] PHP Notice: Undefined index: sfpmremove
[31-Jan-2014 20:49:05 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:05 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:06 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:06 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:09 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:09 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:10 UTC] PHP Notice: Undefined index: sfpmremove
[31-Jan-2014 20:49:36 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:36 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:39 UTC] PHP Notice: Undefined index: sfpmremove
[31-Jan-2014 20:49:41 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:41 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:45 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:45 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:46 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:46 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:57 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:57 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:59 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:49:59 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:00 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:00 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:02 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:02 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:23 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:23 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:30 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:30 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:34 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:34 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:35 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:35 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:46 UTC] PHP Notice: Undefined index: sfpmremove
[31-Jan-2014 20:50:59 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:50:59 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 13:51:00 America/Phoenix] PHP Notice: Undefined property: spUser::$location
[31-Jan-2014 20:51:12 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:12 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 13:51:13 America/Phoenix] PHP Notice: Undefined property: spUser::$pmemail
[31-Jan-2014 20:51:22 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:22 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:25 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:25 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:26 UTC] PHP Notice: Undefined index: sfpmremove
[31-Jan-2014 20:51:27 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:27 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 13:51:28 America/Phoenix] PHP Notice: Undefined property: spUser::$pmemail
[31-Jan-2014 20:51:34 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:34 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:34 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:34 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:43 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:51:43 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:52:21 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:52:21 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:52:24 UTC] PHP Notice: Undefined index: editor
[31-Jan-2014 20:52:24 UTC] PHP Notice: Undefined index: editor

Avatar
Mr Papa
Simi Valley, CA
SP Master
Free Members
sp_UserOfflineSmall Offline
Jan 31, 2014 - 8:49 pm

those are harmless notices... and they get fixed up as they are reported... unfortunately, this is the php error log and no line #s and files reported...

that is exactly what Andy asked you to do... go to your profile and make sure an editor was selected...

can you go to forum - toolbox - error log and see if the editor notice is listed with more info?

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625