İyinet'e Hoşgeldiniz!

Türkiye'nin En Eski Webmaster Forum'una Hemen Kayıt Olun!

Kayıt Ol!

Catchable fatal error: Object of class WP_Error could not be converted to string ACİL YARDIM

kaderimse_24

0
Yasakli Uye
Katılım
27 Temmuz 2012
Mesajlar
197
Reaction score
0
Arkadaşlar wordpress'in orjinal formunda dahi çözümü bulamadım. Sorun şu. bazı url'lerimde şu hata çıkıyor;


Catchable fatal error: Object of class WP_Error could not be converted to string in /home/migmedya/public_html/wp-content/themes/TEMAM/functions-ek.php on line 68

68. satırım ise şöyle;

PHP:
else {  
                $cat = get_the_category(); $cat = $cat[0];  
                $cats = get_category_parents($cat, TRUE, $delimiter);  
                if ($showCurrent == 0) $cats = preg_replace("#^(.+)$delimiter$#", "$1", $cats);  
                $cats = str_replace('<a', $linkBefore . '<a' . $linkAttr, $cats);  
                $cats = str_replace('</a>', '</a>' . $linkAfter, $cats);  
                echo $cats;  
                if ($showCurrent == 1) echo $before . get_the_title() . $after;  
            }

Nasıl çözebilirim arkadaşlar acil lütfen?
 

Türkiye’nin ilk webmaster forum sitesi iyinet.com'da forum üyeleri tarafından yapılan tüm paylaşımlardan; Türk Ceza Kanunu’nun 20. Maddesinin, 5651 Sayılı Kanununun 4. maddesinin 2. fıkrasına göre, paylaşım yapan üyeler sorumludur.

Backlink ve Tanıtım Yazısı için iletişime geçmek için Skype Adresimiz: .cid.1580508955483fe5

Üst