SQL/DB Error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT post_author FROM xoops_wp_posts WHERE ID =
SQL/DB Error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT post_author FROM xoops_wp_posts WHERE ID =
Notice [PHP]: Undefined property: comment_url in file modules/wordpress/wp-admin/wpblsearch.php line 189
が大量に表示されました。
また、MySQL/Blocksデバッグでは
SELECT * FROM kocci_wp_users WHERE `ID` = Error number: 1064 Error message: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
SQL/DB Error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1] SELECT post_author FROM xoops_wp_posts WHERE ID =
$authordata = get_userdata($wpdb->get_var("SELECT post_author FROM $tableposts WHERE ID = $post_id"));
を
if ($post_id) {
$authordata = get_userdata($wpdb->get_var("SELECT post_author FROM $tableposts WHERE ID = $post_id"));
} else {
$authordata = get_userdata($user_ID);
}
実は別サイト用に、一時期XOOPSのモジュール化を行ってはいるのですが、PHP-STATS自体のライセンスが不明のために再配布出来ない状態となっております。 XOOPS用のアクセス解析であれば、カウンタは画像カウンタではありませんが、最近XOOPS User Group Japanにて配布されているMarijuana氏製のXOOPS Analyzer3も良いですよ。