• 04-06-2014, 01:43:49
    #1
    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\xxxx.com\httpdocs\wp-includes\class-wp-customize-widgets.php on line 175

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\xxxx.com\httpdocs\wp-includes\class-wp-customize-widgets.php on line 215

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\xxxx.com\httpdocs\wp-includes\class-wp-customize-widgets.php on line 215

    Kurduğum Wordpress de bu şekilde hata alıyorum

    175 nolu kod
    foreach ( $this->_customized as $setting_id => $value ) {
    215 nolu kod
    foreach ( $this->_customized as $setting_id => $value ) {
    175 nolu kod tüm olarak
    $function = array( $this, 'prepreview_added_widget_instance' );
    		foreach ( $this->_customized as $setting_id => $value ) {
    			if ( preg_match( '/^(widget_.+?)(?:\[(\d+)\])?$/', $setting_id, $matches ) ) {
    				$option = $matches[1];
    215 nolu kod tüm olarak
    public function prepreview_added_sidebars_widgets( $sidebars_widgets ) {
    		foreach ( $this->_customized as $setting_id => $value ) {
    			if ( preg_match( '/^sidebars_widgets\[(.+?)\]$/', $setting_id, $matches ) ) {
    				$sidebar_id = $matches[1];
    				$sidebars_widgets[ $sidebar_id ] = $value;
    			}
    		}
    		return $sidebars_widgets;
    	}
    Şimdiden çok teşekkür ederim yardımlarınız için
  • 04-06-2014, 01:53:45
    #2
    Reveloper
    faruk_aydin adlı üyeden alıntı: mesajı görüntüle
    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\xxxx.com\httpdocs\wp-includes\class-wp-customize-widgets.php on line 175

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\xxxx.com\httpdocs\wp-includes\class-wp-customize-widgets.php on line 215

    Warning: Invalid argument supplied for foreach() in C:\Inetpub\vhosts\xxxx.com\httpdocs\wp-includes\class-wp-customize-widgets.php on line 215

    Kurduğum Wordpress de bu şekilde hata alıyorum

    175 nolu kod
    foreach ( $this->_customized as $setting_id => $value ) {
    215 nolu kod
    foreach ( $this->_customized as $setting_id => $value ) {
    175 nolu kod tüm olarak
    $function = array( $this, 'prepreview_added_widget_instance' );
    		foreach ( $this->_customized as $setting_id => $value ) {
    			if ( preg_match( '/^(widget_.+?)(?:\[(\d+)\])?$/', $setting_id, $matches ) ) {
    				$option = $matches[1];
    215 nolu kod tüm olarak
    public function prepreview_added_sidebars_widgets( $sidebars_widgets ) {
    		foreach ( $this->_customized as $setting_id => $value ) {
    			if ( preg_match( '/^sidebars_widgets\[(.+?)\]$/', $setting_id, $matches ) ) {
    				$sidebar_id = $matches[1];
    				$sidebars_widgets[ $sidebar_id ] = $value;
    			}
    		}
    		return $sidebars_widgets;
    	}
    Şimdiden çok teşekkür ederim yardımlarınız için
    Galiba bu tema için konuşuyorsunuz çözümü son sürümmüş:

    Alıntı
    topraveesh PURCHASED 4 months ago
    Warning: Illegal string offset ‘slider’ in /home/kersavi/public_html/wp-content/themes/viroshop/includes/sliders/functions.php on line 27

    See http://kersa-vi.com/cart/

    Please Help!
    PixelStores
    PixelStores AUTHOR 4 months ago
    Hi Praveesh,

    Sorry for the late response, issue has been fixed.

    Kind Regards
    topraveesh
    topraveesh PURCHASED 4 months ago
    Thank You
  • 04-06-2014, 01:55:31
    #3
    Malesef hocam başka bir tema yüklediğimde de aynı hatayı alıyorum
  • 04-06-2014, 10:29:16
    #4
    foreach değerlerini kontrol edin eğer bir dizi gelmezse yada tanımlanan değerler hatalıysa bu hatayı alırsınız.
  • 04-06-2014, 12:50:47
    #5
    Basit mantıkda foreach döndürecek bir dizi bulamadı diyor, yani $this->_customized bu bir dizi değil veya boş bir dizi.
  • 07-06-2014, 13:08:37
    #6
    Teşekkür ederim sildim attım siteyi uğraşamam ya