Call to Undefined Function get_currentuserinfo() Error in WordPress Appelez pour get_currentuserinfo Fonction non définie () Erreur dans WordPress

In WordPress Dans WordPress blog publishing publication Blog 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: , il ya une erreur système mai être été enregistré dans le serveur web Apache error_log fichier ou ont été affichés sur des pages web qui ressemble à la ligne suivante:

Fatal error: Call to undefined function: get_currentuserinfo() in /wordpress/wp-content/plugins/plugin.php Fatal error: Call to undefined function: get_currentuserinfo () in / wordpress wp-content / plugins / plugin.php


The undefined get_currentuserinfo function error normally happens in a poorly coded plugin. L'erreur undefined function get_currentuserinfo arrive normalement dans un plugin mal codé. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. Si l'utilisateur de désactiver le plug-in qui provoque l'erreur, le problème sera résolu, résolu et s'en vont. 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. L'erreur se produit parce que userdata $ ou $ user_id variables globales devient nulle, non définie ou de valeur vide après le plugin est lancé, notamment, il a accroché et chargés.

The User ID and User Data (which User ID is part of) is globally-available var when in the WordPress admin pages. L'ID utilisateur et des données utilisateur (User ID, qui fait partie) est globalement-var disponible lorsque dans les pages admin 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(). Pour résoudre et de fixer la get_currentuserinfo indéfini () erreur de fonction, reset et la portée de la variable à l'échelle mondiale dans le greffon avant le début de la fonction qui appelle 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: De mettre $ userdata ou vars $ user_id de portée mondiale, l'ajouter dans l'une des lignes suivantes dans le début du fichier plugin PHP:

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

or, ou,

global $userdata; global $ userdata;

For user id, use “global $user_id;” instead. Pour identification de l'utilisateur, utilisez "global $ user_id"; à la place.

Update: Above trick does not work in new WordPress version, try the Mise à jour: Above astuce ne fonctionne pas dans la nouvelle version de WordPress, essayez les fix undefined function get_currentuserinfo() fatal error fix get_currentuserinfo undefined function () Erreur fatale guide instead. Guide de la place.

IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. IMPORTANT: Vous lisez une machine qui traduit la page est fourni "tel quel" sans garantie. 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. Contrairement à la traduction humaine, traduction automatique ne comprend pas la grammaire, sémantique, syntaxe, idiomes du langage naturel, ainsi produit souvent inexacts et la faible qualité du texte qui est trompeur et incompréhensible. Thus, please refer to Ainsi, s'il vous plaît se référer à original English article Article original en anglais when in doubt. En cas de doute.



Leave a Reply Laissez une réponse

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> Vous pouvez utiliser ces tags: fete_christel <abbr titre=""> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <<q cite=""> <strike> <strong>

Subscribe to comments feature has been disabled. Abonnez-vous aux commentaires a été désactivé. To receive notification of latest comments posted, subscribe to Pour recevoir la notification des derniers commentaires postés, abonnez-vous à Tip and Trick Comments RSS feed Astuce et Trick Comments RSS Feed or ou register to receive s'inscrire pour recevoir new comments in daily email digest. nouveaux commentaires dans le courriel quotidien digérer.
Custom Search

Incoming Search Terms for the Article Scruter Les terms pour un jour Article

Call to undefined function get_currentuserinfo() Call to undefined function get_currentuserinfo () - -- get_currentuserinfo get_currentuserinfo - -- Fatal error: Call to undefined function get_currentuserinfo() Fatal error: Call to undefined function get_currentuserinfo () - -- wordpress get_currentuserinfo wordpress get_currentuserinfo - -- Call to undefined function get_currentuserinfo() Call to undefined function get_currentuserinfo () - -- get_currentuserinfo() get_currentuserinfo () - -- Call to undefined function get_currentuserinfo Call to undefined function get_currentuserinfo - -- get_currentuserinfo wordpress get_currentuserinfo wordpress - -- Call to undefined function wordpress Call to undefined function wordpress - -- Call to undefined function: get_currentuserinfo() Call to undefined function: get_currentuserinfo () - -- "Call to undefined function get_currentuserinfo()" "Call to undefined function get_currentuserinfo ()" - -- undefined function get_currentuserinfo undefined function get_currentuserinfo - -- wordpress get_currentuserinfo() wordpress get_currentuserinfo () - -- Fatal error: Call to undefined function get_currentuserinfo() in Fatal error: Call to undefined function get_currentuserinfo () dans - -- error Erreur - -- Fatal error: Call to undefined function get_currentuserinfo() Fatal error: Call to undefined function get_currentuserinfo () - -- get_currentuserinfo(); get_currentuserinfo (); - -- undefined function get_currentuserinfo() get_currentuserinfo undefined function () - -- wordpress Fatal error: Call to undefined function wordpress Fatal error: Call to undefined function - -- wordpress undefined function wordpress undefined function - -- call function error appel de fonction d'erreur - -- wordpress Fatal error: Call to undefined function get_currentuserinfo() wordpress Fatal error: Call to undefined function get_currentuserinfo () - -- "Call to undefined function get_currentuserinfo" "Call to undefined function get_currentuserinfo" - -- wordpress Call to undefined function get_currentuserinfo() wordpress Appelez pour get_currentuserinfo undefined function () - -- wordpress call plugin function wordpress plugin appel de fonction - -- 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 Fatal error: Call to undefined function get_currentuserinfo - -- wordpress Call to undefined function get_currentuserinfo( wordpress Appelez pour get_currentuserinfo undefined function ( - -- get_currentuserinfo() wordpress get_currentuserinfo () wordpress - -- Call to undefined function: get_currentuserinfo() Call to undefined function: get_currentuserinfo () - -- Call to undefined function get_currentuserinfo() wordpress Call to undefined function get_currentuserinfo () wordpress - -- get_currentuserinfo plugin get_currentuserinfo plugin - -- demonoid Demonoid - -- wordpress get_currentuserinfo undefined function wordpress undefined function get_currentuserinfo - -- get_currentuserinfo undefined get_currentuserinfo undefined - -- wordpress $get_currentuserinfo() undefined function wordpress $ get_currentuserinfo () undefined function - -- "undefined function get_currentuserinfo()" "get_currentuserinfo undefined function ()" - -- "Fatal error: Call to undefined function get_currentuserinfo()" "Fatal error: Call to undefined function get_currentuserinfo ()" - -- wordpress get_currentuserinfo undefined wordpress undefined get_currentuserinfo - -- Call to undefined function get_currentuserinfo() in Call to undefined function get_currentuserinfo () dans - -- get_currentuserinfo wordpress 2.7 get_currentuserinfo WordPress 2.7 - -- how to call plugin function from wordpress page comment appeler un plugin de fonction de la page wordpress - -- wordpress get_currentuserinfo() undefined wordpress get_currentuserinfo () undefined - -- php get_currentuserinfo() php get_currentuserinfo () - -- get_currentuserinfo not working get_currentuserinfo ne fonctionne pas - -- wordpress create plugin get_currentuserinfo wordpress plugin créer get_currentuserinfo - -- error get_currentuserinfo() Erreur get_currentuserinfo () - -- wordpress get_currentuserinfo() refresh wordpress get_currentuserinfo () refresh - --