Call to Undefined Function get_currentuserinfo() Error in WordPress دعوة إلى ظيفة غير معرف get_currentuserinfo () خطأ في وورد
In WordPress وورد في blog publishing نشر بلوق system, there may be error been logged in Apache web server error_log file or been displayed on web pages which looks like the following line: النظام ، قد يكون هناك خطأ تم تسجيل في خادم الويب اباتشي error_log الملف أو تم عرضه على صفحات الويب التي تبدو السطر التالي :
Fatal error: Call to undefined function: get_currentuserinfo() in /wordpress/wp-content/plugins/plugin.php خطأ فادح : الدعوة إلى وظيفة غير معروف : get_currentuserinfo () في / وورد / الفسفور الابيض بين محتوى / المحمول / plugin.php
The undefined get_currentuserinfo function error normally happens in a poorly coded plugin. وغير معروف get_currentuserinfo الدالة خطأ يحدث عادة في البرنامج المساعد سوء مشفرة. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. إذا كان المستخدم تنشيط المكونات التي تسبب الخطأ ، وسوف تكون هذه القضية ثابتة ، حل ويذهب بعيدا. The error happens because $userdata or $user_id global variables become null, not defined or of empty value after the plugin is initiated, included, hooked and loaded. يحدث الخطأ بسبب userdata أو $ $ user_id المتغيرات العالمية لتصبح لاغية ، أو غير محددة من قيمة فارغة بعد أن بدأ هو البرنامج المساعد ، وشملت ، مدمن مخدرات وتحميلها.
The User ID and User Data (which User ID is part of) is globally-available var when in the WordPress admin pages. هوية المستخدم وبيانات المستخدم (هوية المستخدم الذي هو جزء من) هو فار المتاحة عالميا عندما ورد في صفحات الادارية. To resolve and fix the undefined get_currentuserinfo() function error, reset and scope the variable to global in the plugin before the beginning of the function which calling get_currenctuserinfo(). لحل وإصلاح get_currentuserinfo غير معروف () وظيفة الخطأ ، وإعادة تعيين المتغير إلى نطاق عالمي في البرنامج المساعد قبل بداية الدالة التي تدعو get_currenctuserinfo ().
To set $userdata or $user_id vars to global scope, add in one of the following line into the beginning of the plugin PHP file: لتعيين أو userdata $ $ user_id فار على نطاق عالمي ، في واحدة من إضافة السطر التالي في بداية متنقل الملف :
$userdata = $GLOBALS['userdata']; = $ $ userdata غلوبالس [ 'userdata'] ؛
or, أو ،
global $userdata; $ userdata العالمية ؛
For user id, use “global $user_id;” instead. لهوية المستخدم ، واستخدام "العالمية $ user_id ؛" بدلا من ذلك.
Update: Above trick does not work in new WordPress version, try the تحديث : والأهم من خدعة لا يعمل في الإصدار الجديد وورد ، في محاولة ل fix undefined function get_currentuserinfo() fatal error الإصلاح وظيفة غير معروف get_currentuserinfo () خطأ فادح guide instead. دليل بدلا من ذلك.
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. هام : أنت القراءة آلة الصفحة المترجمة التي يتم توفيرها "كما هي" دون ضمان. Unlike human translation, machine translation does not understand the grammar, semantics, syntax, idioms of natural language, thus often produce inaccurate and low quality text which is misleading and incomprehensible. خلافا للحقوق الترجمة ، الترجمة الآلية لا يفهم اللغة ، ودلاليه ، لغوي ، والتعابير من اللغة الطبيعية ، وبالتالي تنتج في كثير من الأحيان غير دقيقة وتدني نوعية النص الذي هو مضلل وغير مفهومة. Thus, please refer to وهكذا ، يرجى الرجوع إلى original English article المادة الانكليزية الأصلية when in doubt. في حالة الشك.
Related Articles مواد متصلة
- Call To Undefined Function: ctype_digit() in WordPress 2.5 الدعوة الى مسمى الوظيفة : ctype_digit () وورد في 2.5
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5 دعوة إلى وظيفة غير معروف : wp_constrain_dimensions () عند تحميل الصور أو image_downsize () في معرض / مكتبة الوسائط وورد في 2.5
- PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 [فب] خطأ فادح على الدعوة إلى Add_Query_Var في Taxonomy.php بعد الترقية إلى وورد 2.5 RC2
- WordPress 2.5.1 Released for Download ورد لتحميل الإصدار 2.5.1
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7 الإصلاح وورد 2.5 وسائل الإعلام صورة أو فلاش رافع ليس العامل العدد في IE7
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin تعطيل ورد 2.5 صورة فلاش / فيديو / وسائل الإعلام مع البرنامج المساعد رافع
- WordPress 2.5 Released for Free Download وورد 2.5 المفرج عنهم لتحميل مجاني
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5 وسائل الاعلام أزرار ديسبلر المساعد لإزالة "إضافة الوسائط" الرموز في وورد 2.5
- Workaround to Override WordPress Shortcode and Display the [] Brackets Tags الحل لتجاوز ورد شورتكد وعرض بمعقوفين العلامات
- How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin كيفية تحسين وورد 2.5 سيو بلوق بدون عنوان صفحة الويب الامثل عنوان البرنامج المساعد









































