05-30-2013, 09:45 AM
Hi Guys,
i am trying to install CTR Theme on my WP, i have used various versions but each time, i am getting the same error:
Fatal error: Cannot redeclare _log() in public_html/wp-content/themes/ctr-theme/functions.php on line 1137
from 1137 - 1145, it shows the following in functions.php:
function _log( $message ) {
if( WP_DEBUG === true ){
if( is_array( $message ) || is_object( $message ) ){
error_log( print_r( $message, true ) );
} else {
error_log( $message );
}
}
}
plz help me to solve this issue :(
Thanks :)
i am trying to install CTR Theme on my WP, i have used various versions but each time, i am getting the same error:
Fatal error: Cannot redeclare _log() in public_html/wp-content/themes/ctr-theme/functions.php on line 1137
from 1137 - 1145, it shows the following in functions.php:
function _log( $message ) {
if( WP_DEBUG === true ){
if( is_array( $message ) || is_object( $message ) ){
error_log( print_r( $message, true ) );
} else {
error_log( $message );
}
}
}
plz help me to solve this issue :(
Thanks :)