Accessing routing parameters through `getData` will removed in 4.0.0. Use `getParam()` instead

I’m currenty using this… how to solve this warring to convert this …

> $getData = $this->request->getData();
> pr($getData); die;

That error means that somewhere you are using $this->request->data. What is the full error message with stacktrace?