Hello Friends,

I am working on a custom module in Drupal 8 where i have created a storage class when i am written all databse query and have called those functions from controller and also have defined the route correctly . It keeps giving this error when i try to access the page

Fatal error: Call to a member function on null in ...

What does this mean ?

Regards
Sunny

Comments

bjmagar1906’s picture

People will help you better if you give more information. Problems seems to be in controller itself.