ElkArte Community

Elk Development => Bug Reports => Exterminated Bugs => Topic started by: emanuele on January 05, 2015, 02:26:01 pm

Title: Error in the log
Post by: emanuele on January 05, 2015, 02:26:01 pm
Code: [Select]
 Guest
 Today at 09:16:10 am
 Type of error: General 2: sprintf(): Too few arguments
http://www.elkarte.net/community/index.php?board=4.0
File: /.../themes/default/MessageIndex.template.php
 Line: 208
Title: Re: Error in the log
Post by: emanuele on January 05, 2015, 03:45:30 pm
Another pair:
Code: [Select]
TE
 Today at 09:33:17 pm
 Type of error: Undefined 8: Undefined index: name
http://www.elkarte.net/community/index.php?action=admin;area=packageservers;sa=browse;server=3
File: /.../themes/default/PackageServers.template.php
 Line: 210

and:
Code: [Select]
TE
 Today at 09:33:17 pm
 Type of error: Undefined 8: Undefined index: description
http://www.elkarte.net/community/index.php?action=admin;area=packageservers;sa=browse;server=3
File: /.../sources/admin/PackageServers.controller.php
 Line: 320
Title: Re: Error in the log
Post by: TE on January 05, 2015, 04:12:02 pm
ups, should add a description to the XML   :D  It's probably not the Elk but the PackmanServer which is causing those errors
Title: Re: Error in the log
Post by: emanuele on February 03, 2015, 04:20:21 pm
Can't reproduce again the first error (it was probably a missing string).

About the other undefined, I'd prefer to have Elk not not spit out errors even if the provided "stuff" is not the expected one, so the array should be initialized and later filled.
I'll track it, but it may be something for 1.1. :P

https://github.com/elkarte/Elkarte/issues/1957