Call to Undefined Function get_currentuserinfo() Error in WordPress הסב get_currentuserinfo תפקיד מוגדר () שגיאה ב-WordPress

In WordPress ב-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: , ייתכן שיש שגיאה במערכת היה מחובר שרת האינטרנט Apache error_log קובץ או הוצגו בדפי האינטרנט שבו נראה את השורה הבאה:

Fatal error: Call to undefined function: get_currentuserinfo() in /wordpress/wp-content/plugins/plugin.php שגיאה חמורה: הסב תפקיד מוגדר: get_currentuserinfo () in / wp-WordPress תוכן / plugins / 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. מזהה משתמש משתמש נתונים (אשר משתמש הוא חלק) הוא גלובלי-var זמין כאשר בעמודים WordPress admin. 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 מוגדר () function שגיאה, לאפס והיקף המשתנה כדי עולמית תוסף לפני תחילת הפונקציה אשר קוראת 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 או vars $ user_id להיקף הגלובלית, באחת להוסיף את השורה הבאה לתחילת הקובץ PHP plugin:

$userdata = $GLOBALS['userdata']; $ GLOBALS = $ userdata [ 'userdata'];

or, או,

global $userdata; global $ 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. כאשר יש ספק.



Leave a Reply השאירו תגובה

You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> באפשרותך להשתמש בתגים אלה: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. כדי להירשם הערות תכונה הושבת. To receive notification of latest comments posted, subscribe to כדי לקבל הודעה העדכנית של תגובות, כדי להירשם Tip and Trick Comments RSS feed עצה ו הטעיה תגובות RSS Feed or או register to receive הרשמה לקבלת new comments in daily email digest. תגובות חדש ב דוא"ל תקציר יומי.
Custom Search

Incoming Search Terms for the Article תנאי נכנסות חיפוש עבור מאמרים

Call to undefined function get_currentuserinfo() הסב get_currentuserinfo תפקיד מוגדר () - -- get_currentuserinfo get_currentuserinfo - -- Fatal error: Call to undefined function get_currentuserinfo() שגיאה חמורה: הסב get_currentuserinfo תפקיד מוגדר () - -- wordpress get_currentuserinfo get_currentuserinfo WordPress - -- Call to undefined function get_currentuserinfo() הסב get_currentuserinfo תפקיד מוגדר () - -- get_currentuserinfo() get_currentuserinfo () - -- Call to undefined function get_currentuserinfo הסב get_currentuserinfo תפקיד מוגדר - -- get_currentuserinfo wordpress WordPress get_currentuserinfo - -- Call to undefined function wordpress הסב WordPress תפקיד מוגדר - -- Call to undefined function: get_currentuserinfo() הסב תפקיד מוגדר: get_currentuserinfo () - -- "Call to undefined function get_currentuserinfo()" "הסב get_currentuserinfo תפקיד מוגדר ()" - -- undefined function get_currentuserinfo get_currentuserinfo תפקיד מוגדר - -- wordpress get_currentuserinfo() WordPress get_currentuserinfo () - -- Fatal error: Call to undefined function get_currentuserinfo() in שגיאה חמורה: הסב get_currentuserinfo תפקיד מוגדר () ב - -- error שגיאה - -- Fatal error: Call to undefined function get_currentuserinfo() שגיאה חמורה: הסב get_currentuserinfo תפקיד מוגדר () - -- get_currentuserinfo(); get_currentuserinfo (); - -- undefined function get_currentuserinfo() get_currentuserinfo תפקיד מוגדר () - -- wordpress Fatal error: Call to undefined function WordPress שגיאה חמורה: הסב תפקיד מוגדר - -- wordpress undefined function WordPress תפקיד מוגדר - -- call function error שגיאה פונקציה לקרוא - -- wordpress Fatal error: Call to undefined function get_currentuserinfo() WordPress שגיאה חמורה: הסב get_currentuserinfo תפקיד מוגדר () - -- "Call to undefined function get_currentuserinfo" "הסב get_currentuserinfo תפקיד מוגדר" - -- wordpress Call to undefined function get_currentuserinfo() WordPress הסב get_currentuserinfo תפקיד מוגדר () - -- wordpress call plugin function הקריאה לפונקציה WordPress Plugin - -- wordpress get_currentuserinfo(); WordPress get_currentuserinfo (); - -- wordpress 2.5 get_currentuserinfo() WordPress 2.5 get_currentuserinfo () - -- get_currentuserinfo() get_currentuserinfo () - -- Fatal error: Call to undefined function get_currentuserinfo שגיאה חמורה: הסב get_currentuserinfo תפקיד מוגדר - -- wordpress Call to undefined function get_currentuserinfo( WordPress הסב get_currentuserinfo תפקיד מוגדר ( - -- get_currentuserinfo() wordpress get_currentuserinfo () WordPress - -- Call to undefined function: get_currentuserinfo() הסב תפקיד מוגדר: get_currentuserinfo () - -- Call to undefined function get_currentuserinfo() wordpress הסב get_currentuserinfo תפקיד מוגדר () WordPress - -- get_currentuserinfo plugin תוסף get_currentuserinfo - -- demonoid Demonoid - -- wordpress get_currentuserinfo undefined function WordPress תפקיד מוגדר get_currentuserinfo - -- get_currentuserinfo undefined get_currentuserinfo מוגדר - -- wordpress $get_currentuserinfo() undefined function WordPress $ get_currentuserinfo () תפקיד מוגדר - -- "undefined function get_currentuserinfo()" "get_currentuserinfo תפקיד מוגדר ()" - -- "Fatal error: Call to undefined function get_currentuserinfo()" "שגיאה חמורה: הסב get_currentuserinfo תפקיד מוגדר ()" - -- wordpress get_currentuserinfo undefined WordPress מוגדר get_currentuserinfo - -- Call to undefined function get_currentuserinfo() in הסב get_currentuserinfo תפקיד מוגדר () ב - -- get_currentuserinfo wordpress 2.7 get_currentuserinfo Wordpress 2.7 - -- how to call plugin function from wordpress page איך קוראים לפונקציה תוסף מדף WordPress - -- wordpress get_currentuserinfo() undefined WordPress get_currentuserinfo () undefined - -- php get_currentuserinfo() PHP get_currentuserinfo () - -- get_currentuserinfo not working get_currentuserinfo לא עובד - -- wordpress create plugin get_currentuserinfo WordPress ליצור get_currentuserinfo plugin - -- error get_currentuserinfo() get_currentuserinfo שגיאה () - -- wordpress get_currentuserinfo() refresh WordPress get_currentuserinfo () לרענן - --