{"id":1719164,"date":"2010-10-13T19:40:40","date_gmt":"2010-10-13T19:40:40","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/plugin-wp-mysql-profiler-almost-works-in-30\/"},"modified":"2016-08-19T20:02:30","modified_gmt":"2016-08-19T20:02:30","slug":"plugin-wp-mysql-profiler-almost-works-in-30","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/plugin-wp-mysql-profiler-almost-works-in-30\/","title":{"rendered":"[Plugin: WP MySQL Profiler] Almost works in 3.0"},"content":{"rendered":"<p>This plugin was very helpful to me, and essentially works in WP 3.0. Details:<br \/>\nYou can use it to run\/profile existing pages\/posts (the main goal), but when you try to EDIT posts, you will get:<br \/>\nPHP Fatal error: Call to undefined method wpdb::get_blog_prefix() in \/Users\/dwertheimer\/Zend\/workspaces\/eclipse_pdt_2010\/ETC_WP\/wp-admin\/includes\/user.php on line 260<br \/>\nThat\u2019s a function that exists in the new wp-db.php file but is not in the profiling file that you have to use to run the profiler. So, enable this plugin, and use the plugin\u2019s wp-db.php file to VIEW existing pages, but then immediately move your wp-db.php file back into place!<\/p>\n<p>https:\/\/wordpress.org\/extend\/plugins\/wp-mysql-profiler\/<\/p>\n","protected":false},"template":"","class_list":["post-1719164","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/1719164","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\/1719164\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=1719164"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}