Son çare olarak o zaman randomTweet fonksiyonunun kullanıldığı yerlere
if ( function_exists( 'randomTweet' ) ){
randomTweet ('ATANACAK_Deger');
}
girip deneyin bir de.
Başka da bir çözüm yolu bilmiyorum maalesef.
Ek Olarak:
Yukarıdaki fonksiyonu bir de şimdiki fonksiyonla değiştirip deneyin.
if ( function_exists( 'randomTweet' ) ){
randomTweet ('ATANACAK_Deger');
}
girip deneyin bir de.
Başka da bir çözüm yolu bilmiyorum maalesef.
Ek Olarak:
if (!function_exists('randomTweet')){
function randomTweet($tweet) {
$tweet = explode('
', mysql_real_escape_string($tweet));
$text = $tweet[rand(0, (count($tweet) - 1)) ];
if (strpos($text, '
')) {
$text = str_replace('
', '', $text);
}
return $text;
}
}
Yukarıdaki fonksiyonu bir de şimdiki fonksiyonla değiştirip deneyin.
Bu sefer de sorun değişti. :(
Fatal error: Cannot redeclare _control() (previously declared in /home/----/public_html/takip/inc/function.php:103) in /home/----/public_html/takip/inc/function.php on line 276