Dee Posted September 15, 2011 Report Posted September 15, 2011 Hello I'm getting an Error while viewing the dashboard in the admin panel , would appreciate any help on this. Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'Dashboard::index' was given in /MainController.class.php on line 218 Dee Quote
Administrators simpilot Posted September 16, 2011 Administrators Report Posted September 16, 2011 Did you update phpVMS or PHP version on your server prior to this starting? Quote
Dee Posted September 16, 2011 Author Report Posted September 16, 2011 Simpilot Thanks for your reply,My sincere apologies I should have mentioned that this is mostly my own doing I was trying to resize the monthly pireps chart which appears in the admin that's what threw the error. I have since replaced the dashboard.php file from a backup I had which did the trick and it works again. Since I didnt managage to delete this post before that we may as well take this to its logical conclusion so that it helps anyone else reading this , I'll mention what the action was that triggered the error I tried to adjust a function parameter that was being passed to the chart. Moral of the story: Consider the implications of actions thoroughly before attempting such changes (Which I do anyway) Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.