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

Error on dashboard/statistics #916

tburry opened this issue May 26, 2011 · 1 comment

Error on dashboard/statistics #916

tburry opened this issue May 26, 2011 · 1 comment


Copy link

@tburry tburry commented May 26, 2011

On my localhost I re-registered my app. It seemed to register fine, but now its always getting back the following from statistics/verify:

<h1>FATAL ERROR IN: Gdn_Statistics.ParseAnalyticsResponse();</h1>
<div class="AjaxError">"Invalid argument supplied for foreach()"
LOCATION: /www/vanilla/library/core/class.statistics.php
> 287:          );
> 288:       }
> 289:       
> 290:       // Assume strings are local methods
>>> 291:       foreach ($Callbacks as $Event => &$CallbackMethod)
> 292:          if (is_string($CallbackMethod))
> 293:             $CallbackMethod = array($this, $CallbackMethod);
> 294:       
> 295:       $ResponseCode = GetValue('Status', $JsonResponse, 500);
[/www/vanilla/library/core/class.statistics.php 291] PHP::Gdn_ErrorHandler();
[/www/vanilla/library/core/class.statistics.php 59] Gdn_Statistics->ParseAnalyticsResponse();
[/www/vanilla/library/core/class.statistics.php 612] Gdn_Statistics->Analytics();
[/www/vanilla/applications/dashboard/controllers/class.statisticscontroller.php 80] Gdn_Statistics->ValidateCredentials();
[/www/vanilla/applications/dashboard/controllers/class.statisticscontroller.php 80] StatisticsController->Verify();
[/www/vanilla/library/core/class.dispatcher.php 291] PHP::call_user_func_array();
[/www/vanilla/index.php 51] Gdn_Dispatcher->Dispatch();
@ghost ghost assigned kaecyra May 26, 2011

This comment has been minimized.

Copy link

@kaecyra kaecyra commented May 26, 2011

Fixed in 2.0.18b1

@kaecyra kaecyra closed this May 26, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.