Call to Undefined Function get_currentuserinfo() Error in WordPress Call to Undefined Fungsi get_currentuserinfo () Error di Wordpress
In WordPress Di Wordpress blog publishing blog penerbitan 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: sistem, mungkin ada kesalahan yang tercatat di server web Apache error_log file atau telah ditampilkan di halaman web yang terlihat seperti baris berikut:
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. Get_currentuserinfo undefined fungsi yang biasanya terjadi kesalahan dalam kode buruk plugin. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. Jika pengguna menonaktifkan plug-in yang menyebabkan kesalahan, masalah akan diperbaiki, diselesaikan dan pergi. 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. Kesalahan terjadi karena $ userdata atau $ user_id variabel global menjadi nol, tidak didefinisikan atau nilai kosong setelah plugin dimulai, termasuk, ketagihan dan dimuat.
The User ID and User Data (which User ID is part of) is globally-available var when in the WordPress admin pages. User ID dan User Data (yang User ID adalah bagian dari) adalah global-tersedia var ketika di halaman 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(). Untuk mengatasi dan memperbaiki undefined get_currentuserinfo () fungsi kesalahan, reset dan ruang lingkup variabel global di plugin sebelum awal fungsi yang memanggil 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: Untuk menyetel $ userdata atau $ user_id vars lingkup global, tambahkan di salah satu baris berikut ke awal PHP plugin file:
$userdata = $GLOBALS['userdata']; $ userdata = $ GLOBALS [ 'userdata'];
or, atau,
global $userdata; global $ userdata;
For user id, use “global $user_id;” instead. Untuk id user, gunakan "global $ user_id;" instead.
Update: Above trick does not work in new WordPress version, try the Update: Di atas tipuan tidak bekerja di versi Wordpress baru, cobalah fix undefined function get_currentuserinfo() fatal error memperbaiki fungsi undefined get_currentuserinfo () kesalahan fatal guide instead. panduan instead.
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. PENTING: Anda sedang membaca halaman terjemahan mesin yang disediakan "sebagaimana adanya" tanpa jaminan. 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. Tidak seperti terjemahan manusia, terjemahan mesin tidak memahami tata bahasa, semantik, sintaksis, ungkapan bahasa alam, sehingga sering kali tidak akurat dan menghasilkan kualitas rendah teks yang menyesatkan dan dipahami. Thus, please refer to Jadi, harap merujuk ke original English article artikel asli bahasa Inggris when in doubt. ketika ragu.
Related Articles Artikel Terkait
- Call To Undefined Function: ctype_digit() in WordPress 2.5 Panggilan Untuk Undefined Fungsi: ctype_digit () di WordPress 2.5
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5 Panggil ke Undefined Fungsi: wp_constrain_dimensions () Ketika Meng-upload Foto atau image_downsize () dalam Galeri / Media Perpustakaan di 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 on Panggil ke Add_Query_Var di Taxonomy.php Setelah Upgrade ke WordPress 2.5 RC2
- WordPress 2.5.1 Released for Download Wordpress 2.5.1 Released untuk Download
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7 Fix WordPress 2.5 Foto atau Media Flash Uploader Tidak Bekerja Issue in IE7
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin Nonaktifkan WordPress 2.5 Flash Gambar / Video / Media Uploader dengan Plugin
- WordPress 2.5 Released for Free Download WordPress 2.5 Diluncurkan for Free Download
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5 Tombol media Disabler Plugin untuk Hapus "Add Media" Ikon di WordPress 2.5
- Workaround to Override WordPress Shortcode and Display the [] Brackets Tags Solusi untuk Override Wordpress shortcode dan Display the [] kurung Tag
- How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin Bagaimana Optimalkan SEO WordPress 2.5 Blog Web Page Judul Tanpa Judul Optimal Plugin









































