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

Undefined variable when using update function #655

Closed
samimussbach opened this issue Apr 14, 2009 · 1 comment
Closed

Undefined variable when using update function #655

samimussbach opened this issue Apr 14, 2009 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@samimussbach
Copy link

When I try to update via /piwik/index.php?module=CoreUpdater&action=newVersionAvailable I get following Notice:

```

Notice: Undefined variable: newVersion in /Library/WebServer/Documents/WebServer/Documents/piwik/plugins/CoreUpdater/Controller.php on line 25

Backtrace —>

  1. Piwik_ErrorHandler(8, Undefined variable: newVersion, /Library/WebServer/Documents/WebServer/Documents/piwik/plugins/CoreUpdater/Controller.php, 25, Array ([view] => Piwik_View Object ([] => CoreUpdater/templates/update_new_version_available.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] => /WebServer/Documents/piwik/index.php,[piwikUrl] => http://localhost/WebServer/Documents/piwik/,[piwik_version] => 0.2.32),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 [/Library/WebServer/Documents/WebServer/Documents/piwik/plugins/CoreUpdater/Controller.php:25]
  2. Piwik_CoreUpdater_Controller→newVersionAvailable()
  3. call_user_func_array(Array (0 => Piwik_CoreUpdater_Controller Object ([] => Array (),[] => ,[] => Array (),[] => Array (),[] => Array (),[] => CoreUpdater,[] => 2009-04-13,[] => Piwik_Date Object ([] => 1239573600)),1 => newVersionAvailable), Array ()) called at [/Library/WebServer/Documents/WebServer/Documents/piwik/core/FrontController.php:147]
  4. Piwik_FrontController→dispatch() called at [/Library/WebServer/Documents/WebServer/Documents/piwik/index.php:51]
    ```
@mattab
Copy link
Member

mattab commented Apr 14, 2009

this is already fixed in 0.2.33

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.
Projects
None yet
Development

No branches or pull requests

2 participants