I have done some weird things with a few custom theme pages. Namely, i have bypassed the wp_query and obtained data from a different db. I populate the post object with custom data and then inject this into my theme. Since the toolbar shows up fine normally, there must be some sort of trigger that i am bypassing by not calling the wordpress DB. I am 100% sure the theme is not the cause of the issue here, it is the messing that i have done. However, there are no errors in the code, everything works good. What does the admin toolbar require in order to load? Is there some hook i can call manually in order to make it render?
I have tried messing around with the code and info from the wordpress docs https://codex.wordpress.org/Function_Reference/show_admin_bar