Best Blackhat Forum

Full Version: [HELP] CTR Theme Functions.php Error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 :)
Reference URL's