Skip to main content
Error in the log Started by emanuele · · Read 1594 times 0 Members and 1 Guest are viewing this topic. previous topic - next topic

Error in the log

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
Bugs creator.
Features destroyer.
Template killer.

Re: Error in the log

Reply #1

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
Bugs creator.
Features destroyer.
Template killer.

Re: Error in the log

Reply #2

ups, should add a description to the XML   :D  It's probably not the Elk but the PackmanServer which is causing those errors
Thorsten "TE" Eurich
------------------------

Re: Error in the log

Reply #3

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
Bugs creator.
Features destroyer.
Template killer.