Driver are not working after parenting them to another object or bone

I’m working on a robodog rigging which has wheels under it foot ,I’ve given casing of the wheels as drivers to wheels it works good up to this step and assigned the model to armature with empty groups and after , when i try to move the bone assigned for driver the driven wheel is not rotating along the driver.

after this i tried same thing but this time i created bone as the driver and added driven bone and assigned the driven bone to wheel and it works good but when i parented driver bone to another bone the driver bone is not changing along with parent bone so the driven bons are not rotating .

What does this mean? A driver connects two properties, what are they?

Drivers work regardless of parenting hierarchy, if the driver stopped working maybe the host bone has been renamed? Malfunctioning drivers appear underlined in red in the drivers editor.

is there any chance that i can share my problem as video format so that you might understand.im issue more briefly.