Shinydashoard Sesession Error

Trying to alter the session in my dashboard based on a selected cell in a datatable similar to this but adapting to shinydashboard using this.

But when I run it in my app or I run the shiny dashboard example I am being thrown a: could not find function "validate_session_object". However that error is not occurring if I run it in regular shiny, so the error is caused somewhere in the shinydashboard implementation. Is there something simple I'm missing here?

Here is a guide that I hope will help you in your search for solutions
(Shiny debugging and reprex guide)

Restarted R and updated packages and resolved my problem.