رفتن به مطلب

ارور در صفحه ورود


hani2200

پست های پیشنهاد شده

سلام و روزبخیر

دوستان کسی میدونه این ارورها چی هست؟

Notice: تابع register_sidebar به‌صورت نادرست فراخوانی شد. No id was set in the arguments array for the "ستون سمت راست نوشته و برگه ها" sidebar. Defaulting to "sidebar-1". Manually set the id to "sidebar-1" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/instabestbot1/public_html/instabest.pw/wp-includes/functions.php on line 4196

Notice: تابع register_sidebar به‌صورت نادرست فراخوانی شد. No id was set in the arguments array for the "ستون اول فوتر یا پایین سایت" sidebar. Defaulting to "sidebar-2". Manually set the id to "sidebar-2" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/instabestbot1/public_html/instabest.pw/wp-includes/functions.php on line 4196

Notice: تابع register_sidebar به‌صورت نادرست فراخوانی شد. No id was set in the arguments array for the "ستون دوم فوتر یا پایین سایت" sidebar. Defaulting to "sidebar-3". Manually set the id to "sidebar-3" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/instabestbot1/public_html/instabest.pw/wp-includes/functions.php on line 4196

Notice: تابع register_sidebar به‌صورت نادرست فراخوانی شد. No id was set in the arguments array for the "ستون سوم فوتر یا پایین سایت" sidebar. Defaulting to "sidebar-4". Manually set the id to "sidebar-4" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/instabestbot1/public_html/instabest.pw/wp-includes/functions.php on line 4196

Notice: تابع register_sidebar به‌صورت نادرست فراخوانی شد. No id was set in the arguments array for the "ستون چهارم فوتر یا پایین سایت" sidebar. Defaulting to "sidebar-5". Manually set the id to "sidebar-5" to silence this notice and keep existing sidebar content. لطفاً برای اطلاعات بیشتر، اشکال زدایی در وردپرس را مشاهده کنید. (این پیام در نگارش 4.2.0 اضافه شده است) in /home/instabestbot1/public_html/instabest.pw/wp-includes/functions.php on line 4196

Notice: The called constructor method for WP_Widget in tag_posts is deprecated since version 4.3.0! Use
__construct()
instead. in /home/instabestbot1/public_html/instabest.pw/wp-includes/functions.php on line 3951

Notice: The called constructor method for WP_Widget in content_posts is deprecated since version 4.3.0! Use
__construct()
instead. in /home/instabestbot1/public_html/instabest.pw/wp-includes/functions.php on line 3951

Warning: Cannot modify header information - headers already sent by (output started at /home/instabestbot1/public_html/instabest.pw/wp-content/themes/tyblue/functions.php:1) in /home/instabestbot1/public_html/instabest.pw/wp-includes/pluggable.php on line 1219

 

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

درود.

سایدبارهایی که در قالبتون تعریف شدن غیراستاندارد هستند. در نسخه های جدید وردپرس، هر سایدباری که تعریف میشه باید داخلش یک ID هم تعریف شده باشه.

در قالبتون دنبال تابع register_sidebar بگردید و برای هر سایدبار، یک آی دی خاص و غیرتکراری تعیین کنید.

مثال :

register_sidebar( array(
   'name' => __( 'سایدبار اصلی', 'theme-slug' ),

   'id' => 'sidebar-asli',  // اینجا باید آی دی رو اضافه کنید

   'description' => __( 'ابزارک ها رو اینجا باید اضافه کنی', 'theme-slug' ),
   'before_widget' => '<li id="%1$s" class="widget %2$s">',
   'after_widget'  => '</li>',
   'before_title'  => '<h2 class="widgettitle">',
   'after_title'   => '</h2>',
 ) );

 

و برای خطای دوم یعنی :

نقل قول

Notice: The called constructor method for WP_Widget in tag_posts is deprecated since version 4.3.0! Use __construct() instead.

دو راه حل دارید :

  1. داخل قالبتون در فایل functions.php عبارت  WP_Widget رو پیدا کنید. و بجای این عبارت از __construct استفاده کنید.
  2. یا کد زیر رو به فایل functions.php قالبتون اضافه کنید:
add_filter('deprecated_constructor_trigger_error', '__return_false');

 

و اگر در فایل wp-config.php حالت دیباگ روشن هست، اونو روی false قرار بدید تا خطاهایی که زیاد اهمیت ندارند مخفی بشن.

لینک به دیدگاه
به اشتراک گذاری در سایت های دیگر

بایگانی شده

این موضوع بایگانی و قفل شده و دیگر امکان ارسال پاسخ نیست.

مهمان
این موضوع برای عدم ارسال قفل گردیده است.
×
×
  • اضافه کردن...