{"id":883194,"date":"2008-10-19T09:34:13","date_gmt":"2008-10-19T09:34:13","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/wp-dtree-341-incorrect-detect-wordpress-262-version\/"},"modified":"2016-08-19T02:33:25","modified_gmt":"2016-08-19T02:33:25","slug":"wp-dtree-341-incorrect-detect-wordpress-262-version","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/wp-dtree-341-incorrect-detect-wordpress-262-version\/","title":{"rendered":"WP-dTree 3.4.1 incorrect detect WordPress 2.6.2 version"},"content":{"rendered":"<p>In WordPress site with WP-dTree 3.4.1 activated plugin have error:<\/p>\n<blockquote>\n<p>[Table &#8216;wordpressbase.wp_post2cat&#8217; doesn&#8217;t exist]<br \/>\nSELECT wp_posts.ID AS <code>id<\/code>, wp_posts.post_title AS <code>title<\/code>, wp_post2cat.category_id AS <code>catid<\/code> FROM wp_posts, wp_post2cat WHERE wp_post2cat.post_id = wp_posts.ID AND wp_posts.post_status = &#8216;publish&#8217; AND wp_posts.ID != 0 AND wp_posts.post_type = &#8216;post&#8217; ORDER BY wp_posts.post_date DESC\n<\/p>\n<\/blockquote>\n<p>Incorrect detect version WordPress in WP-dTree plugin 3.4.1 in file wp-dtree_cat-functions.php in string 66:<\/p>\n<blockquote>\n<p>if((float)$wp_version &lt; 2.3) {\n<\/p>\n<\/blockquote>\n<p>To fix this error, must change this string:<\/p>\n<blockquote>\n<p>if($wp_version &lt; &#8216;2.3&#8217;) {\n<\/p>\n<\/blockquote>\n<p>This receipt on russian language &#8211; <a href=\"http:\/\/stmd.ru\/archives\/404\">http:\/\/stmd.ru\/archives\/404<\/a><\/p>\n<p>PS: 404 &#8211; just coincidence \ud83d\ude42<\/p>\n","protected":false},"template":"","class_list":["post-883194","topic","type-topic","status-closed","hentry","topic-tag-wp-dtree-3-0"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/883194","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\/883194\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=883194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}