compat.php의 htmlspecialchars_decode() 오류
Warning: htmlspecialchars_decode() expects parameter 1 to be string, NULL given in /home/myname/public_html/personal/wp-includes/compat.php on line 105
위와 같은 오류가 발생한다면 wp-includes/compat.php를 열어서
// 102번째 줄을
function htmlspecialchars_decode( $str, $quote_style = ENT_COMPAT )
// 이렇게 바꾸고
function htmlspecialchars_decode( $string, $quote_style = ENT_COMPAT )
// 114번째 줄을
return wp_specialchars_decode( $str, $quote_style );
// 이렇게 바꾸면 됩니다.
return wp_specialchars_decode( $string, $quote_style );
출처 : http://wordpress.org/support/topic/242653