• 26-11-2009, 22:51:26
    #1
    Merhaba arkadaşlar wp sitemde bir çok notice alıyorum, bunlar bir sorun yaratır mı? Cpu yorma vs. gibi birde bunları nasıl düzeltebilirim? Birde wp cache çalışmıyor beyaz sayfa hatası veriyor bunlardan olabilir mi?

    1. Hatam
    Notice: Use of undefined constant meta_value - assumed 'meta_value' in /home/fenert/public_html/wp-content/themes/wpdesigner5/manset.php on line 12

    Notice: Use of undefined constant post_id - assumed 'post_id' in /home/fenert/public_html/wp-content/themes/wpdesigner5/manset.php on line 13

    10-11-12-13. satırlar

    $resim 	= mysql_query("SELECT * FROM wp_postmeta LEFT OUTER JOIN wp_posts ON wp_postmeta.post_id = wp_posts.id Where wp_postmeta.meta_key='manset' ORDER By wp_postmeta.post_id DESC Limit 0,6");
    		for ($j=0; $niphell=mysql_fetch_array($resim); $j++){
    		$ust .= '<div class="contentdiv"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark"><img src="'.$niphell[meta_value].'" alt="" width="495" height="275"/></a>
    					<h2 class="featuredTitle"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark">'.$niphell[post_title].' &raquo;</a></h2>

    Notice: Undefined index: sayfa_sayac_okunan in /home/fenert/public_html/wp-content/plugins/sayfa_sayac/sayfa_sayac.php on line 508

    	$okunanlar	= (is_serialized(base64_decode($_COOKIE['sayfa_sayac_okunan']))) ? unserialize(base64_decode($_COOKIE['sayfa_sayac_okunan'])) : array();
    		$yaziID		= $post->ID;
    content/plugins/sayfa_sayac/sayfa_sayac.php on line 461

    $okunanlar	= (is_serialized(base64_decode($_COOKIE['sayfa_sayac_okunan']))) ? unserialize(base64_decode($_COOKIE['sayfa_sayac_okunan'])) : array();
    			$yaziID		= $t_posts[0]->ID;
    Notice: Use of undefined constant topic_title - assumed 'topic_title' in /home/fenert/public_html/wp-content/plugins/wp-phpbb.php on line 33

    $topic_tit = $resultsow[topic_title];
    Undefined index: num_larger_page_numbers in /home/fenert/public_html/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 72

    $larger_page_to_show = intval($pagenavi_options['num_larger_page_numbers']);
    Notice: Undefined variable: polyglot_append in /home/fenert/public_html/wp-content/plugins/wp-print/wp-print.php on line 136
    		$print_link = $print_link.'print/'.$polyglot_append;

    Notice: Undefined property: stdClass::$post_excerpt in /home/fenert/public_html/wp-content/plugins/simple-tags/2.7/simple-tags.client.php on line 813
    Notice: Undefined property: stdClass::$post_excerpt in /home/fenert/public_html/wp-content/plugins/simple-tags/2.7/simple-tags.client.php on line 814

    $element_loop = str_replace('%post_relatedtags%', $this->getTagsFromID($result->terms_id), $element_loop);
    			$element_loop = str_replace('%post_excerpt%', $this->getExcerptPost( $result->post_excerpt, $result->post_content, $result->post_password, $excerpt_wrap ), $element_loop);
  • 26-11-2009, 23:53:10
    #2
    Üyeliği durduruldu
    emreunan adlı üyeden alıntı: mesajı görüntüle
    Merhaba arkadaşlar wp sitemde bir çok notice alıyorum, bunlar bir sorun yaratır mı? Cpu yorma vs. gibi birde bunları nasıl düzeltebilirim? Birde wp cache çalışmıyor beyaz sayfa hatası veriyor bunlardan olabilir mi?

    1. Hatam
    Notice: Use of undefined constant meta_value - assumed 'meta_value' in /home/fenert/public_html/wp-content/themes/wpdesigner5/manset.php on line 12

    Notice: Use of undefined constant post_id - assumed 'post_id' in /home/fenert/public_html/wp-content/themes/wpdesigner5/manset.php on line 13

    10-11-12-13. satırlar

    $resim 	= mysql_query("SELECT * FROM wp_postmeta LEFT OUTER JOIN wp_posts ON wp_postmeta.post_id = wp_posts.id Where wp_postmeta.meta_key='manset' ORDER By wp_postmeta.post_id DESC Limit 0,6");
    		for ($j=0; $niphell=mysql_fetch_array($resim); $j++){
    		$ust .= '<div class="contentdiv"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark"><img src="'.$niphell[meta_value].'" alt="" width="495" height="275"/></a>
    					<h2 class="featuredTitle"><a href="'.get_permalink($niphell[post_id]).'" rel="bookmark">'.$niphell[post_title].' &raquo;</a></h2>

    Notice: Undefined index: sayfa_sayac_okunan in /home/fenert/public_html/wp-content/plugins/sayfa_sayac/sayfa_sayac.php on line 508

    	$okunanlar	= (is_serialized(base64_decode($_COOKIE['sayfa_sayac_okunan']))) ? unserialize(base64_decode($_COOKIE['sayfa_sayac_okunan'])) : array();
    		$yaziID		= $post->ID;
    content/plugins/sayfa_sayac/sayfa_sayac.php on line 461

    $okunanlar	= (is_serialized(base64_decode($_COOKIE['sayfa_sayac_okunan']))) ? unserialize(base64_decode($_COOKIE['sayfa_sayac_okunan'])) : array();
    			$yaziID		= $t_posts[0]->ID;
    Notice: Use of undefined constant topic_title - assumed 'topic_title' in /home/fenert/public_html/wp-content/plugins/wp-phpbb.php on line 33

    $topic_tit = $resultsow[topic_title];
    Undefined index: num_larger_page_numbers in /home/fenert/public_html/wp-content/plugins/wp-pagenavi/wp-pagenavi.php on line 72

    $larger_page_to_show = intval($pagenavi_options['num_larger_page_numbers']);
    Notice: Undefined variable: polyglot_append in /home/fenert/public_html/wp-content/plugins/wp-print/wp-print.php on line 136
    		$print_link = $print_link.'print/'.$polyglot_append;

    Notice: Undefined property: stdClass::$post_excerpt in /home/fenert/public_html/wp-content/plugins/simple-tags/2.7/simple-tags.client.php on line 813
    Notice: Undefined property: stdClass::$post_excerpt in /home/fenert/public_html/wp-content/plugins/simple-tags/2.7/simple-tags.client.php on line 814

    $element_loop = str_replace('%post_relatedtags%', $this->getTagsFromID($result->terms_id), $element_loop);
    			$element_loop = str_replace('%post_excerpt%', $this->getExcerptPost( $result->post_excerpt, $result->post_content, $result->post_password, $excerpt_wrap ), $element_loop);
    Sanırım Sorun Temandan Kardeşim Başka tema Denedın mı ?
  • 27-11-2009, 22:45:51
    #3
    Üyeliği durduruldu
    forumda aratirsaniz notice lerin nasil kapatabilecegini aciklanmisti. notice zaten hata degil uyaridir.
  • 28-11-2009, 16:24:29
    #4
    <?php tagının altına bu ekle
    error_reporting(E_ALL & ~E_NOTICE);
    ini_set('error_reporting', E_ALL & ~E_NOTICE);
    bu şekilde noticeleri kapatmış olursun
  • 28-11-2009, 18:20:45
    #5
    MaviTm adlı üyeden alıntı: mesajı görüntüle
    <?php tagının altına bu ekle
    error_reporting(E_ALL & ~E_NOTICE);
    ini_set('error_reporting', E_ALL & ~E_NOTICE);
    bu şekilde noticeleri kapatmış olursun
    aynen