{"id":1968743,"date":"2011-03-10T21:43:10","date_gmt":"2011-03-10T21:43:10","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/cannot-access-wpdb\/"},"modified":"2016-08-19T23:05:01","modified_gmt":"2016-08-19T23:05:01","slug":"cannot-access-wpdb","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/cannot-access-wpdb\/","title":{"rendered":"cannot access $wpdb"},"content":{"rendered":"<p>Hello.<\/p>\n<p>I am not able to call <code>$wpdb-&gt;prefix<\/code> or seemingly any wp property from a plugin that I am creating. I have read a few things but they don&#8217;t seem to correspond with newer versions.<\/p>\n<p>Thanks for any comments<br \/>\n_<br \/>\ng_force<\/p>\n","protected":false},"template":"","class_list":["post-1968743","topic","type-topic","status-closed","hentry","topic-tag-prefix","topic-tag-tables","topic-tag-wpdb"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1968743","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1968743\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1968743"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}