Jump to content

[Solved] Dashbord::index error [Solved]


Dee

Recommended Posts

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

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...