You need to go to the function and remove the static in front of GetAllHubs(array()) function
Search the forums for “Non-static method” - it’s been covered many times before.
If you search for that, you will learn how to fix it - as it will probably occur in other modules as well. If we fix it for you, you won’t ever learn how to fix it yourself.