Getting error in the last step 8 module dev series
I am getting this error:
Notice: Undefined offset: 1 in trails_block_view() (line 129 of /Users/amir/websites/newtikke/sites/all/modules/custom/trails/trails.module).
the module is working fine by the way.
This is the step video:
Displaying a block with hook_block_view() and checking permissions with user_access()
I have tried to understand and didnt succeed....
[Why there is no option to subscribe to comments?]