Call to Undefined Function get_currentuserinfo() Error in WordPress WordPress में अपारिभाषित फंक्शन get_currentuserinfo त्रुटि () को बुलाओ
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 () / WordPress / WP-सामग्री / 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 व्यवस्थापक पृष्ठों में. 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 $ वार्स, प्लगइन PHP फ़ाइल की शुरुआत में निम्नलिखित पंक्ति में से एक में जोड़ने के सेट:
$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 अद्यतन: ऊपर चाल नई WordPress संस्करण में काम नहीं करता, कोशिश 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 () WordPress 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 () जब अपलोड छवियाँ या 2.5 WordPress में image_downsize () की गैलरी में / मीडिया लाइब्रेरी
- PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 PHP घातक Taxonomy.php में Add_Query_Var को फोन पर 2.5 WordPress RC2 को अपग्रेड करने के बाद त्रुटि
- WordPress 2.5.1 Released for Download WordPress 2.5.1 डाउनलोड के लिए जारी
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7 तय WordPress 2.5 छवि या मीडिया फ़्लैश अपलोडर IE7 में काम नहीं कर निर्गम
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin अक्षम WordPress 2.5 फ्लैश छवि / वीडियो / मीडिया अपलोडर प्लगइन के साथ
- WordPress 2.5 Released for Free Download WordPress 2.5 नि: शुल्क डाउनलोड के लिए जारी
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5 मीडिया बटन Disabler प्लगइन हटाएँ "मीडिया जोड़ें 2.5 WordPress में" प्रतीक
- Workaround to Override WordPress Shortcode and Display the [] Brackets Tags ओवरराइड WordPress Shortcode और प्रदर्शन के लिए Workaround [] कोष्ठक टैग
- How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin इष्टतम शीर्षक प्लगइन बिना एसईओ अनुकूलन WordPress 2.5 ब्लॉग वेब पेज शीर्षक कैसे









































