Call to Undefined Function get_currentuserinfo() Error in WordPress Llamado a la get_currentuserinfo undefined function () Error en WordPress

In WordPress En WordPress blog publishing de publicación de blogs 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: , puede haber un error del sistema ha registrado en el servidor web Apache error_log archivo o han sido exhibidas en las páginas web que se parece a la siguiente línea:

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. La función de error no definido get_currentuserinfo normalmente ocurre en un plugin mal codificada. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. Si el usuario desactivar el plug-in que hace que el error, el problema se solucionará, resuelto y se van. 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. El error se produce porque userdata $ o variables globales $ user_id ser nulo, no se define o de valor vacío después de que el plugin está iniciado, incluido, conectado y cargado.

The User ID and User Data (which User ID is part of) is globally-available var when in the WordPress admin pages. El ID de usuario y datos de usuario (ID de usuario que es parte de) es globalmente-var disponible cuando en la página de administración de 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(). Para resolver y fijar el get_currentuserinfo indefinido () error de función, reset y el alcance de la variable a nivel mundial en el complemento antes del comienzo de la función que llamar a 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: Para establecer $ userdata o $ vars user_id de alcance mundial, en una de añadir la siguiente línea en el principio del archivo PHP plugin:

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

or, o,

global $userdata; global $ userdata;

For user id, use “global $user_id;” instead. Para identificación de usuario, el uso de "global $ user_id," en su lugar.

Update: Above trick does not work in new WordPress version, try the Actualización: Por encima de truco no funciona en la nueva versión de WordPress, pruebe la fix undefined function get_currentuserinfo() fatal error fijar get_currentuserinfo undefined function () error grave guide instead. guía en su lugar.

IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. IMPORTANTE: Usted está leyendo una máquina traducido la página que se proporciona "como está" sin garantía. 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. A diferencia de la traducción humana, la traducción automática no entiende la gramática, semántica, sintaxis, modismos del lenguaje natural, con lo que producen a menudo inexactos y baja calidad de texto que es engañosa e incomprensible. Thus, please refer to Por lo tanto, por favor vaya a original English article artículo original Inglés when in doubt. en caso de duda.



Leave a Reply Deje una contestación

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> Usted puede utilizar estas etiquetas: <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. Suscribirse a los comentarios que se ha inhabilitado. To receive notification of latest comments posted, subscribe to Para recibir la notificación de los últimos comentarios publicados, suscribirse a Tip and Trick Comments RSS feed Punta y Burla Comentarios RSS feed or o register to receive registrarse para recibir new comments in daily email digest. nuevos comentarios en el resumen diario por correo electrónico.
Custom Search

Incoming Search Terms for the Article Términos de búsqueda para el artículo

Call to undefined function get_currentuserinfo() Llamado a la get_currentuserinfo undefined function () - -- get_currentuserinfo get_currentuserinfo - -- Fatal error: Call to undefined function get_currentuserinfo() Fatal error: Call to undefined function get_currentuserinfo () - -- wordpress get_currentuserinfo get_currentuserinfo wordpress - -- get_currentuserinfo() get_currentuserinfo () - -- Call to undefined function get_currentuserinfo() Llamado a la get_currentuserinfo undefined function () - -- Call to undefined function get_currentuserinfo Llamado a la get_currentuserinfo función no definida - -- get_currentuserinfo wordpress wordpress get_currentuserinfo - -- Call to undefined function wordpress Llame a wordpress función no definida - -- Call to undefined function: get_currentuserinfo() Llamada a la función definida: get_currentuserinfo () - -- "Call to undefined function get_currentuserinfo()" "Llamado a la get_currentuserinfo función no definida ()" - -- undefined function get_currentuserinfo get_currentuserinfo función no definida - -- wordpress get_currentuserinfo() wordpress get_currentuserinfo () - -- Fatal error: Call to undefined function get_currentuserinfo() in Fatal error: Call to undefined function get_currentuserinfo () en - -- error error - -- 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 función no definida - -- call function error error de llamada a la función - -- wordpress Fatal error: Call to undefined function get_currentuserinfo() wordpress Fatal error: Call to undefined function get_currentuserinfo () - -- "Call to undefined function get_currentuserinfo" "Llamado a la get_currentuserinfo función no definida" - -- wordpress Call to undefined function get_currentuserinfo() wordpress Llamado a get_currentuserinfo undefined function () - -- wordpress call plugin function wordpress llamada a la función plug-in - -- 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 Llamado a la get_currentuserinfo función no definida ( - -- get_currentuserinfo() wordpress get_currentuserinfo () wordpress - -- Call to undefined function: get_currentuserinfo() Llamada a la función definida: get_currentuserinfo () - -- Call to undefined function get_currentuserinfo() wordpress Llamado a la get_currentuserinfo undefined function () wordpress - -- get_currentuserinfo plugin get_currentuserinfo plugin - -- demonoid Demonoid - -- wordpress get_currentuserinfo undefined function wordpress función no definida get_currentuserinfo - -- get_currentuserinfo undefined get_currentuserinfo indefinido - -- wordpress $get_currentuserinfo() undefined function wordpress $ get_currentuserinfo () function undefined - -- "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 indefinido get_currentuserinfo - -- Call to undefined function get_currentuserinfo() in Llamado a la get_currentuserinfo undefined function () en - -- get_currentuserinfo wordpress 2.7 get_currentuserinfo WordPress 2.7 - -- how to call plugin function from wordpress page cómo llamar a la función plug-in desde la página de wordpress - -- wordpress get_currentuserinfo() undefined wordpress get_currentuserinfo () no definido - -- php get_currentuserinfo() php get_currentuserinfo () - -- get_currentuserinfo not working get_currentuserinfo no funciona - -- wordpress create plugin get_currentuserinfo wordpress crear get_currentuserinfo plugin - -- error get_currentuserinfo() get_currentuserinfo error () - -- wordpress get_currentuserinfo() refresh wordpress get_currentuserinfo () actualiza la - --