Call to Undefined Function get_currentuserinfo() Error in WordPress Chiama per Undefined Funzione get_currentuserinfo () Errore in WordPress
In WordPress In WordPress blog publishing la pubblicazione di 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: sistema, non vi può essere errore stato registrato nel server web Apache error_log file o vengono visualizzate su pagine web che si presenta come la seguente riga:
Fatal error: Call to undefined function: get_currentuserinfo() in /wordpress/wp-content/plugins/plugin.php Fatal error: Call to undefined funzione: get_currentuserinfo () in / wordpress / wp-content / plugins / plugin.php
The undefined get_currentuserinfo function error normally happens in a poorly coded plugin. La funzione non definito get_currentuserinfo errore avviene normalmente in un plugin mal codificati. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. Se l'utente disattivare il plug-in che causa l'errore, il problema sarà fisso, e va risolta immediatamente. 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'errore si verifica perché utente o $ $ user_id variabili globali diventare nullo, non definiti o di valore vuoto dopo che il plugin è avviato, incluso, agganciato e caricato.
The User ID and User Data (which User ID is part of) is globally-available var when in the WordPress admin pages. La User ID e dati utente (User ID, che è parte di essi) è disponibile a livello globale var quando in WordPress admin pagine. 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(). Per risolvere e correggere il indefinito get_currentuserinfo () la funzione di errore, ripristinare e portata variabile globale per il plugin in prima dell'inizio della funzione di chiamata che 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: Per impostare o utente $ $ user_id le variabili di portata globale, aggiungere in uno dei seguenti in linea all'inizio del file PHP plugin:
$userdata = $GLOBALS['userdata']; $ utente = $ GLOBALS [ 'utente'];
or, o,
global $userdata; global $ utente;
For user id, use “global $user_id;” instead. Per id utente, utilizzare "globale $ user_id"; invece.
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. IMPORTANTE: Stai lettura una macchina tradotto pagina che è fornito "così come sono" senza garanzia. 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 differenza di traduzione umana, traduzione automatica non comprendere la grammatica, semantica, sintassi, idiomi del linguaggio naturale, così spesso produrre imprecise e bassa qualità del testo che è fuorviante e incomprensibile. Thus, please refer to Pertanto, si prega di fare riferimento a original English article articolo originale in inglese when in doubt. in caso di dubbio.
Related Articles Articoli correlati
- Call To Undefined Function: ctype_digit() in WordPress 2.5 Per chiamare Undefined Funzione: ctype_digit () in WordPress 2.5
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5 Chiama per Undefined Funzione: wp_constrain_dimensions () durante il caricamento di immagini o image_downsize () in Galleria / Catalogo multimediale in WordPress 2.5
- PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 PHP Fatal Error sulla chiamata a Add_Query_Var in Taxonomy.php dopo l'aggiornamento a WordPress 2.5 RC2
- WordPress 2.5.1 Released for Download WordPress 2.5.1 Rilasciata per il download
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin Disattiva WordPress 2.5 Flash Image / Video / Media Uploader con Plugin
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7 WordPress 2.5 Fix immagine o Media flash uploader non funziona problema in IE7
- How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin Come ottimizzare seo wordpress 2.5 blog Titolo della pagina web senza titolo ottimale plugin
- Workaround to Override WordPress Shortcode and Display the [] Brackets Tags Soluzione per scavalcare WordPress breve e visualizzare il [] Staffe Tag
- Make WordPress Blog More Secure Using Secret Key WordPress blog rendere più sicuro utilizzando chiave segreta
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5 Media Pulsanti disabler Plugin per Rimuovi "Aggiungi media" Icone in WordPress 2.5
































