The realurl administration module uses edit as a GET parameter when e.g. editing a pathcache. The key in this case is an integer.
The ButtonBarHook of gdpr takes this integer from the GET parameter and passes it to TableInformation::isTableEnabled which expects a string and therefore a type error Exception is thrown.
Most simple solution: cast the value retrieved from GET to a string before passing it on.