Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Warning: vsprintf() [function.vsprintf]: Too few arguments #568

Closed
anonymous-matomo-user opened this issue Feb 26, 2009 · 1 comment
Closed
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.

Comments

@anonymous-matomo-user
Copy link

Since an svn update this morning (to revision 919) I’m seeing the following warning shown everywhere.

```
Warning: vsprintf() [function.vsprintf]: Too few arguments in /mnt/local/home/blogbound/piwik.blogbound.com/core/Translate.php on line 148

Backtrace —>#0 Piwik_ErrorHandler(2, vsprintf() [function.vsprintf]: Too few arguments, /mnt/local/home/blogbound/piwik.blogbound.com/core/Translate.php, 148, Array ([index] => CoreHome_LocalizedDateFormat,[args] => Array ())) called at [(null):0]

  1. vsprintf(%A %d %B %Y, Array ()) called at [/mnt/local/home/blogbound/piwik.blogbound.com/core/Translate.php:148]
  1. Piwik_Translate(CoreHome_LocalizedDateFormat) called at [/mnt/local/home/blogbound/piwik.blogbound.com/core/Controller.php:218]
  1. Piwik_Controller→setGeneralVariablesView(Piwik_View Object ([] => CoreHome/templates/index.tpl,[] => Piwik_Smarty Object ([template_dir] => Array (0 => plugins,1 => themes/default,2 => themes),[compile_dir] => tmp/templates_c,[config_dir] => configs,[plugins_dir] => Array (0 => libs/Smarty/plugins,1 => core/SmartyPlugins),[debugging] => 1,[error_reporting] => 6143,[debug_tpl] => ,[debugging_ctrl] => NONE,[compile_check] => 1,[force_compile] => ,[caching] => 0,[cache_dir] => tmp/cache,[cache_lifetime] => 3600,[cache_modified_check] => ,[php_handling] => 0,[security] => ,[secure_dir] => Array (),[security_settings] => Array ([PHP_HANDLING] => ,[IF_FUNCS] => Array (0 => array,1 => list,2 => isset,3 => empty,4 => count,5 => sizeof,6 => in_array,7 => is_array,8 => true,9 => false,10 => null),[INCLUDE_ANY] => ,[PHP_TAGS] => ,[MODIFIER_FUNCS] => Array (0 => count),[ALLOW_CONSTANTS] => ),[trusted_dir] => Array (),[left_delimiter] => {,[right_delimiter] => },[request_vars_order] => EGPCS,[request_use_auto_globals] => 1,[compile_id] => ,[use_sub_dirs] => ,[default_modifiers] => Array (),[default_resource_type] => file,[cache_handler_func] => ,[autoload_filters] => Array (),[config_overwrite] => 1,[config_booleanize] => 1,[config_read_hidden] => ,[config_fix_newlines] => 1,[default_template_handler_func] => ,[compiler_file] => Smarty_Compiler.class.php,[compiler_class] => Smarty_Compiler,[config_class] => Config_File,tpl_vars] => Array ([SCRIPT_NAME] => /index.php,[piwikUrl] => http://piwik.blogbound.com/),smarty_vars] => ,sections] => Array (),foreach] => Array (),tag_stack] => Array (),conf_obj] => ,config] => Array (0 => Array ([vars] => Array (),[files] => Array ())),smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f,version] => 2.6.22,inclusion_depth] => 0,compile_id] => ,smarty_debug_id] => SMARTY_DEBUG,smarty_debug_info] => Array (),cache_info] => Array (),[_fileperms] => 420,[dirperms] => 505,[regobjects] => Array (),[plugins] => Array ([modifier] => Array (),[function] => Array (),[block] => Array (),[compiler] => Array (),[prefilter] => Array (),[postfilter] => Array (),[outputfilter] => Array ([trimwhitespace] => Array (0 => smartyoutputfiltertrimwhitespace,1 => ,2 => ,3 => 1,4 => 1)),[resource] => Array (),[insert] => Array ()),[cacheserials] => Array (),[cacheinclude] => ,[cacheincluding] => ),[] => Array ())) called at [/mnt/local/home/blogbound/piwik.blogbound.com/plugins/CoreHome/Controller.php:39]
  1. Piwik_CoreHome_Controller→setGeneralVariablesView(Piwik_View Object ([] => CoreHome/templates/index.tpl,[] => Piwik_Smarty Object ([template_dir] => Array (0 => plugins,1 => themes/default,2 => themes),[compile_dir] => tmp/templates_c,[config_dir] => configs,[plugins_dir] => Array (0 => libs/Smarty/plugins,1 => core/SmartyPlugins),[debugging] => 1,[error_reporting] => 6143,[debug_tpl] => ,[debugging_ctrl] => NONE,[compile_check] => 1,[force_compile] => ,[caching] => 0,[cache_dir] => tmp/cache,[cache_lifetime] => 3600,[cache_modified_check] => ,[php_handling] => 0,[security] => ,[secure_dir] => Array (),[security_settings] => Array ([PHP_HANDLING] => ,[IF_FUNCS] => Array (0 => array,1 => list,2 => isset,3 => empty,4 => count,5 => sizeof,6 => in_array,7 => is_array,8 => true,9 => false,10 => null),[INCLUDE_ANY] => ,[PHP_TAGS] => ,[MODIFIER_FUNCS] => Array (0 => count),[ALLOW_CONSTANTS] => ),[trusted_dir] => Array (),[left_delimiter] => {,[right_delimiter] => },[request_vars_order] => EGPCS,[request_use_auto_globals] => 1,[compile_id] => ,[use_sub_dirs] => ,[default_modifiers] => Array (),[default_resource_type] => file,[cache_handler_func] => ,[autoload_filters] => Array (),[config_overwrite] => 1,[config_booleanize] => 1,[config_read_hidden] => ,[config_fix_newlines] => 1,[default_template_handler_func] => ,[compiler_file] => Smarty_Compiler.class.php,[compiler_class] => Smarty_Compiler,[config_class] => Config_File,tpl_vars] => Array ([SCRIPT_NAME] => /index.php,[piwikUrl] => http://piwik.blogbound.com/),smarty_vars] => ,sections] => Array (),foreach] => Array (),tag_stack] => Array (),conf_obj] => ,config] => Array (0 => Array ([vars] => Array (),[files] => Array ())),smarty_md5] => f8d698aea36fcbead2b9d5359ffca76f,version] => 2.6.22,inclusion_depth] => 0,compile_id] => ,smarty_debug_id] => SMARTY_DEBUG,smarty_debug_info] => Array (),cache_info] => Array (),[_fileperms] => 420,[dirperms] => 505,[regobjects] => Array (),[plugins] => Array ([modifier] => Array (),[function] => Array (),[block] => Array (),[compiler] => Array (),[prefilter] => Array (),[postfilter] => Array (),[outputfilter] => Array ([trimwhitespace] => Array (0 => smartyoutputfiltertrimwhitespace,1 => ,2 => ,3 => 1,4 => 1)),[resource] => Array (),[insert] => Array ()),[cacheserials] => Array (),[cacheinclude] => ,[cacheincluding] => ),[] => Array ())) called at [/mnt/local/home/blogbound/piwik.blogbound.com/plugins/CoreHome/Controller.php:57]
  1. Piwik_CoreHome_Controller→getDefaultIndexView() called at [/mnt/local/home/blogbound/piwik.blogbound.com/plugins/CoreHome/Controller.php:64]
  1. Piwik_CoreHome_Controller→index() called at [(null):0]
  1. call_user_func_array(Array (0 => Piwik_CoreHome_Controller Object ([] => CoreHome,[] => 2009-02-25,[] => Piwik_Date Object ([] => 1235548800)),1 => index), Array ()) called at [/mnt/local/home/blogbound/piwik.blogbound.com/core/FrontController.php:147]
  1. Piwik_FrontController→dispatch() called at [/mnt/local/home/blogbound/piwik.blogbound.com/index.php:50]

```

@robocoder
Copy link
Contributor

should be fixed in 920

thanks. please svn up

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. Critical Indicates the severity of an issue is very critical and the issue has a very high priority.
Projects
None yet
Development

No branches or pull requests

2 participants