Call to Undefined Function get_currentuserinfo() Error in WordPress Chamar a atenção para get_currentuserinfo Indefinido Function () Erro em WordPress

In WordPress Em WordPress blog publishing blog publicando 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: sistema, pode haver erro foi 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 Erro fatal: Chamada a função indefinida: get_currentuserinfo () in / wordpress / wp-content / plugins / plugin.php


The undefined get_currentuserinfo function error normally happens in a poorly coded plugin. O indefinido get_currentuserinfo função de erro normalmente ocorre em um plugin mal codificados. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. Se o utilizador desactivar o plug-in que provoca 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 ocorre porque $ $ user_id userdata ou variáveis globais tornam-se nulos, não definida ou de valor vazio após o plugin é iniciado, incluso, em forma de gancho 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 (ID de usuário que faz parte de) está disponível globalmente var-se no WordPress admin páginas. 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 a correção undefined e get_currentuserinfo () função de erro, e redefinir a variável de alcance global no plugin antes do início da função que apelando 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 ou userdata $ $ user_id vars de âmbito global, em uma das adicionar a seguinte linha 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. Id de utilizador, use "global $ user_id;" ao invés.

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, muitas vezes produzir texto impreciso e baixa qualidade 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: <a href="" title="Avião"> <abbr title="Avião"> <acronym title="Avião"> <b> <blockquote cite=""> <cite> <code> <del datetime = ""> <em> <i> <q Cite=""> <strike> <strong>

Subscribe without commenting Subscrever sem comentar


Custom Search

Incoming Search Terms for the Article Incoming Pesquisa Termos para o artigo

get_currentuserinfo get_currentuserinfo - -- Call to undefined function get_currentuserinfo() Chame função indefinidas para get_currentuserinfo () - -- Fatal error: Call to undefined function get_currentuserinfo() Erro fatal: Chamada a função indefinida get_currentuserinfo () - -- wordpress get_currentuserinfo wordpress get_currentuserinfo - -- Fatal error: Call to undefined function get_currentuserinfo() in Erro fatal: Chamada a função indefinida get_currentuserinfo () na - -- get_currentuserinfo wordpress get_currentuserinfo wordpress - -- Call to undefined function: get_currentuserinfo() Chame função indefinidas para: get_currentuserinfo () - -- wordpress 2.5 get_currentuserinfo() wordpress 2.5 get_currentuserinfo () - -- wordpress get_currentuserinfo(); wordpress get_currentuserinfo (); - -- Call to undefined function: get_currentuserinfo() Chame função indefinidas para: get_currentuserinfo () - -- call to undefined function get_currentuserinfo chamada para indefinido função get_currentuserinfo - -- get_currentuserinfo include file incluem arquivo get_currentuserinfo - -- error erro - -- get_currentuserinfo is empty get_currentuserinfo está vazio - -- cache:UF8qtUyl2mYJ:en.redtram.com/go/107212849/ Call to undefined function get_currentuserinfo() cache: UF8qtUyl2mYJ: en.redtram.com/go/107212849 / Chame a função indefinida get_currentuserinfo () - -- wordpress get_currentuserinfo() error wordpress get_currentuserinfo () error - -- wordpress 2.5 get_currentuserinfo wordpress 2.5 get_currentuserinfo - -- wordpress get_currentuserinfo() need include ? wordpress get_currentuserinfo () precisa incluir? - -- get_currentuserinfo(); get_currentuserinfo (); - -- wordpress which file get_currentuserinfo wordpress qual arquivo get_currentuserinfo - -- get_currentuserinfo() get_currentuserinfo () - -- Call to undefined function: get_currentuserinfo() i Chame função indefinidas para: get_currentuserinfo () i - -- wordpress get_currentuserinfo() inside plugin wordpress get_currentuserinfo () dentro plugin - -- wordpress "Fatal error: Call to undefined function get_currentuserinfo()" wordpress "Erro fatal: Chamada a função get_currentuserinfo indefinido ()" - -- wordpress Call to undefined function get_currentuserinfo( Chame função indefinidas para wordpress get_currentuserinfo ( - -- get_currentuserinfo undefined wordpress get_currentuserinfo indefinido wordpress - -- Call to undefined function get_currentuserinfo Chame função indefinidas para get_currentuserinfo - -- "Call to undefined function get_currentuserinfo" "Chamar a atenção para indefinido função get_currentuserinfo" - -- call to undefined function get_currentuserinfo(); chamada para indefinido função get_currentuserinfo (); - -- get_currentuserinfo() wordpress get_currentuserinfo () wordpress - -- Fatal error: Call to undefined function get_currentuserinfo() Erro fatal: Chamada a função indefinida get_currentuserinfo () - -- get_currentuserinfo() what file is that function in get_currentuserinfo () o arquivo que está na função - -- how to call get_currentuserinfo() from different page como chamar get_currentuserinfo () a partir de diferentes página - -- ie7 undefined scope error ie7 margem de erro indefinido - -- Call to undefined function get_currentuserinfo( pugin wordpress Chame função indefinidas para get_currentuserinfo (PUGIN wordpress - -- "get_currentuserinfo" "get_currentuserinfo" - -- Call to undefined function get_currentuserinfo() Chame função indefinidas para get_currentuserinfo () - -- get_currentuserinfo include get_currentuserinfo incluem - -- get_currentuserinfo() in plugin get_currentuserinfo () no plugin - -- get_currentuserinfo plugin get_currentuserinfo plugin - -- Call to undefined function: get_currentuserinfo() support Chame função indefinidas para: get_currentuserinfo () apoio - --