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 #654

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

Undefined variable when using update function #654

samimussbach opened this issue Apr 14, 2009 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc. duplicate For issues that already existed in our issue tracker and were reported previously.

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 ([=> Piwik_View Object ([](view]) => CoreUpdater/templates/update_new_version_available.tpl,[=> Piwik_Smarty Object ([template_dir](]) => Array ([=> plugins,1(0]) => themes/default,[=> themes),[compile_dir](2]) => tmp/templates_c,[=> configs,[plugins_dir](config_dir]) => Array ([=> libs/Smarty/plugins,1(0]) => core/SmartyPlugins),[=> 1,[error_reporting](debugging]) => 6143,[=> ,[debugging_ctrl](debug_tpl]) => NONE,[=> 1,[force_compile](compile_check]) => ,[=> 0,[cache_dir](caching]) => tmp/cache,[=> 3600,[cache_modified_check](cache_lifetime]) => ,[=> 0,[security](php_handling]) => ,[=> Array (),[security_settings](secure_dir]) => Array ([=> ,[IF_FUNCS](PHP_HANDLING]) => Array ([=> array,1(0]) => list,[=> isset,3(2]) => empty,[=> count,5(4]) => sizeof,[=> in_array,7(6]) => is_array,[=> true,9(8]) => false,[=> null),[INCLUDE_ANY](10]) => ,[=> ,[MODIFIER_FUNCS](PHP_TAGS]) => Array ([=> count),[ALLOW_CONSTANTS](0]) => ),[=> Array (),[left_delimiter](trusted_dir]) => {,[=> },[request_vars_order](right_delimiter]) => EGPCS,[=> 1,[compile_id](request_use_auto_globals]) => ,[=> ,[default_modifiers](use_sub_dirs]) => Array (),[=> file,[cache_handler_func](default_resource_type]) => ,[=> Array (),[config_overwrite](autoload_filters]) => 1,[=> 1,[config_read_hidden](config_booleanize]) => ,[=> 1,[default_template_handler_func](config_fix_newlines]) => ,[=> Smarty_Compiler.class.php,[compiler_class](compiler_file]) => Smarty_Compiler,[=> Config_File,tpl_vars](config_class]) => Array ([=> /WebServer/Documents/piwik/index.php,[piwikUrl](SCRIPT_NAME]) => http://localhost/WebServer/Documents/piwik/,[=> 0.2.32),smarty_vars](piwik_version]) => ,[=> Array (),foreach](sections]) => Array (),[=> Array (),conf_obj](tag_stack]) => ,[=> Array (0(config]) => Array ([=> Array (),[files](vars]) => Array ())),[=> f8d698aea36fcbead2b9d5359ffca76f,version](smarty_md5]) => 2.6.22,[=> 0,compile_id](inclusion_depth]) => ,[=> SMARTY_DEBUG,smarty_debug_info](smarty_debug_id]) => Array (),[=> Array (),file_perms](_cacheinfo]) => 420,[=> 505,[regobjects](dirperms]) => Array (),[=> Array ([modifier](plugins]) => Array (),[=> Array (),[block](function]) => Array (),[=> Array (),[prefilter](compiler]) => Array (),[=> Array (),[outputfilter](postfilter]) => Array ([=> Array (0(trimwhitespace]) => smartyoutputfiltertrimwhitespace,[=> ,2(1]) => ,[=> 1,4(3]) => 1)),[=> Array (),[insert](resource]) => Array ()),[=> Array (),[cacheinclude](cacheserials]) => ,[=> ),[](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 ([=> Piwik_CoreUpdater_Controller Object ([](0]) => Array (),[=> ,[](]) => Array (),[=> Array (),[](]) => Array (),[=> CoreUpdater,[](]) => 2009-04-13,[=> Piwik_Date Object ([](]) => 1239573600)),[=> newVersionAvailable), Array ()) called at [/Library/WebServer/Documents/WebServer/Documents/piwik/core/FrontController.php:147](1])
  4. Piwik_FrontController→dispatch() called at [/Library/WebServer/Documents/WebServer/Documents/piwik/index.php:51]
@samimussbach
Copy link
Author

This is a duplicate of #655. Couldn’t use trac ;-)

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. duplicate For issues that already existed in our issue tracker and were reported previously.
Projects
None yet
Development

No branches or pull requests

1 participant