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

VisitorGenerator: Warning: uasort() The argument should be an array in core\Menu\Abstract.php on line 151 #2242

Closed
mattab opened this issue Mar 29, 2011 · 9 comments
Labels
Bug For errors / faults / flaws / inconsistencies etc. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Mar 29, 2011

AFter generating visits in the Admin UI, I get the following message

Warning: uasort() [<a href='function.uasort'>function.uasort</a>]: The argument should be an array in D:\piwik\svn\trunk\core\Menu\Abstract.php on line 151

Backtrace -->
#0 Piwik_ErrorHandler(2, uasort() [<a href='function.uasort'>function.uasort</a>]: The argument should be an array, D:\piwik\svn\trunk\core\Menu\Abstract.php, 151, Array ([this] => Piwik_Menu_Admin Object ([] => ,[] => Array ([0] => Array ([0] => CorePluginsAdmin_MenuPlugins,[1] => ,[2] => Array ([module] => CorePluginsAdmin,[action] => index),[3] => ,[4] => 7),[1] => Array ([0] => CoreAdminHome_MenuGeneralSettings,[1] => ,[2] => Array ([module] => CoreAdminHome,[action] => generalSettings),[3] => ,[4] => 6),[2] => Array ([0] => UsersManager_MenuUsers,[1] => ,[2] => Array ([module] => UsersManager,[action] => index),[3] => ,[4] => 3),[3] => Array ([0] => UsersManager_MenuUserSettings,[1] => ,[2] => Array ([module] => UsersManager,[action] => userSe [...]

@robocoder
Copy link
Contributor

(In [4271]) fixes #2242 - fix VisitorGenerator

@robocoder
Copy link
Contributor

(In [4275]) fixes #2247 - set cip; refs #2242 - remove redundant checktokenauthinurl as we already have checkuserissuper and nonce

@mattab
Copy link
Member Author

mattab commented Apr 1, 2011

If I generate visits, I still get the error - do you not get it?

Warning: uasort() href='function.uasort'>function.uasort</a>: The argument should be an array in D:\piwik\svn\trunk\core\Menu\Abstract.php on line 155

@robocoder
Copy link
Contributor

Sounds like "svn up" didn't pick up the change in [http://dev.piwik.org/trac/changeset/4275#file0].

@mattab
Copy link
Member Author

mattab commented Apr 4, 2011

OK I just tried again and saw the error, then I tried again and didn't see the error. Not sure what happened!

@robocoder
Copy link
Contributor

In [4335] by vipsoft, refs #2242 - coding style

(Is the commit hook not working anymore?)

@robocoder
Copy link
Contributor

WTF? I just saw the error again, but now I can't reproduce it. Somehow, it forgets that I'm superuser.

@robocoder
Copy link
Contributor

(I would have expected at least the personal settings menu to be displayed.)

@robocoder
Copy link
Contributor

(In [4367]) fixes #2242 - ME HATE BUGS! ME SMASH BUGS! DIE BUG DIE!

@mattab mattab added this to the Piwik 1.3 milestone Jul 8, 2014
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. Major Indicates the severity or impact or benefit of an issue is much higher than normal but not critical.
Projects
None yet
Development

No branches or pull requests

2 participants