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 kodforeach ( $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 olarakpublic 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
