Call to Undefined Function get_currentuserinfo() Error in WordPress Get_currentuserinfo Call to Undefined Function () Erro em WordPress

In WordPress Em WordPress blog publishing publicação 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: erro do sistema, pode haver sido registrado no servidor web Apache error_log arquivo ou sido exibidos em páginas da web que se parece com a seguinte linha:

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


The undefined get_currentuserinfo function error normally happens in a poorly coded plugin. O erro de função indefinida get_currentuserinfo normalmente acontece em um plugin mal codificado. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. Se o usuário desativar o plug-in que faz com que o erro, o problema será corrigido, e resolveu ir embora. 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. O erro acontece porque userdata ou $ user_id variáveis globais tornam-se nulos, não definida ou de valor vazio após o plugin é iniciado, incluídos, ligado e carregado.

The User ID and User Data (which User ID is part of) is globally-available var when in the WordPress admin pages. O ID de usuário e dados do usuário (User ID que é parte) é globalmente-var quando disponíveis nas páginas 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(). Para resolver e corrigir o get_currentuserinfo indefinido () erro de função, e redefinir o âmbito da variável global no plugin antes do início da função que chamar 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 definir $ userdata ou vars $ user_id de âmbito global, adicione em uma das linhas a seguir no início do arquivo PHP plugin:

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

or, ou,

global $userdata; global $ userdata;

For user id, use “global $user_id;” instead. Para identificação do usuário, use "global $ user_id," em vez disso.

Update: Above trick does not work in new WordPress version, try the Update: Acima de truque não funciona na nova versão do WordPress, tente o fix undefined function get_currentuserinfo() fatal error correção get_currentuserinfo função indefinida () erro fatal guide instead. guia de vez.

IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. IMPORTANTE: Você está lendo uma máquina página traduzida que é fornecido "como está" sem garantia. 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. Diferentemente tradução humana, tradução automática não compreender a gramática, semântica, sintaxe, expressões idiomáticas da língua natural, assim, produzir muitas vezes imprecisas e de baixa qualidade texto que é enganosa e incompreensível. Thus, please refer to Assim, por favor consulte a original English article artigo original Inglês when in doubt. quando em dúvida.



Leave a Reply Deixe uma Resposta

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> Você pode usar estas tags: href="" citar=""> <b> <blockquote citar=""> <code> <del datetime = "">> <i> <q do <strike> <strong>

Subscribe to comments feature has been disabled. Subscrever aos comentários recurso foi desativado. To receive notification of latest comments posted, subscribe to Para receber notificação de comentários mais recentes postadas, inscrever-se Tip and Trick Comments RSS feed Dica e Truque feed Comments RSS or ou register to receive Registre-se para receber new comments in daily email digest. novos comentários no e-mail diário sumário.
Custom Search

Incoming Search Terms for the Article Chegado Procurar Termos para o Artigo

Call to undefined function get_currentuserinfo() Chamar a atenção para get_currentuserinfo função indefinida () - -- 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() Chamar a atenção para get_currentuserinfo função indefinida () - -- Call to undefined function get_currentuserinfo Chamar a atenção para get_currentuserinfo função indefinida - -- get_currentuserinfo wordpress wordpress get_currentuserinfo - -- Call to undefined function wordpress Chamar a atenção para wordpress função indefinida - -- 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 get_currentuserinfo função indefinida - -- wordpress get_currentuserinfo() wordpress get_currentuserinfo () - -- Fatal error: Call to undefined function get_currentuserinfo() in Fatal error: Call to undefined function get_currentuserinfo () in - -- error erro - -- 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 função indefinida () - -- wordpress Fatal error: Call to undefined function wordpress Erro fatal: Chamada a função indefinida - -- wordpress undefined function wordpress função indefinida - -- call function error erro de chamada de função - -- wordpress Fatal error: Call to undefined function get_currentuserinfo() wordpress Erro fatal: Chamada a função indefinida get_currentuserinfo () - -- "Call to undefined function get_currentuserinfo" "Chamar a atenção para get_currentuserinfo função indefinida" - -- wordpress Call to undefined function get_currentuserinfo() wordpress get_currentuserinfo Call to undefined function () - -- wordpress call plugin function wordpress plugin chamada de função - -- 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 Chamar a atenção para get_currentuserinfo função indefinida ( - -- 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 Get_currentuserinfo Call to undefined function () wordpress - -- get_currentuserinfo plugin get_currentuserinfo plugin - -- demonoid demônio - -- wordpress get_currentuserinfo undefined function wordpress função indefinida get_currentuserinfo - -- get_currentuserinfo undefined get_currentuserinfo indefinido - -- wordpress $get_currentuserinfo() undefined function wordpress $ get_currentuserinfo função () indefinido - -- "undefined function get_currentuserinfo()" "get_currentuserinfo função indefinida ()" - -- "Fatal error: Call to undefined function get_currentuserinfo()" "Erro fatal: Chamada a função indefinida get_currentuserinfo ()" - -- wordpress get_currentuserinfo undefined wordpress indefinido get_currentuserinfo - -- Call to undefined function get_currentuserinfo() in Get_currentuserinfo Call to undefined function () in - -- get_currentuserinfo wordpress 2.7 get_currentuserinfo wordpress 2,7 - -- how to call plugin function from wordpress page como chamar a função plugin de página do WordPress - -- wordpress get_currentuserinfo() undefined wordpress get_currentuserinfo () indefinido - -- php get_currentuserinfo() php get_currentuserinfo () - -- get_currentuserinfo not working get_currentuserinfo não funciona - -- wordpress create plugin get_currentuserinfo wordpress criar get_currentuserinfo plugin - -- error get_currentuserinfo() get_currentuserinfo erro () - -- wordpress get_currentuserinfo() refresh wordpress get_currentuserinfo refresh () - --