Call to Undefined Function get_currentuserinfo() Error in WordPress 정의되지 않은 함수 호출을 get_currentuserinfo () 오류가 wordpress
In WordPress 이 wordpress blog publishing 블로그 게시 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: 시스템 오류가있을 수있습니다 아파치 웹 서버에 로그 인한 error_log 파일 또는 웹 페이지에 표시되는이있는 것 같은데 다음과 같은 라인 :
Fatal error: Call to undefined function: get_currentuserinfo() in /wordpress/wp-content/plugins/plugin.php 치명적 오류 : 전화를 정의되지 않은 함수 : get_currentuserinfo ()이 / wordpress / 백린 - 콘텐츠 / 플러그인 / plugin.php
The undefined get_currentuserinfo function error normally happens in a poorly coded plugin. 정의되지 않은 get_currentuserinfo 기능을 코딩 나쁜 플러그 접속에 오류가 정상적으로 발생합니다. If the user deactivate the plug-in that causes the error, the issue will be fixed, resolved and go away. 해당 사용자를 비활성화하면이 오류의 원인이되는 플러그 -이 문제는 고정 저리가 해결합니다. 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. 사용자 데이터의 오류 발생 또는 $ user_id 전역 변수 때문에 달러가 널이 아니라 빈 값을 정의 또는 플러그인이 시작된 이후에 포함, 연결 및로드합니다.
The User ID and User Data (which User ID is part of) is globally-available var when in the WordPress admin pages. 사용자 아이디와 사용자 데이터를 (어떤 사용자 아이디의 일부)은 세계적으로 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(). 정의되지 않음을 해결하고 해결하는 get_currentuserinfo () 함수는 오류, 세계에서 매개 변수를 재설정 및 범위의 시작 부분의 기능을 호출하기 전에 플러그 접속 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: 사용자 데이터를 설정 달러 또는 $ user_id 바르을 글로벌 범위, 다음 중 하나를 선에서 추가의 시작 부분에 플러그 접속식 php 파일 :
$userdata = $GLOBALS['userdata']; $ 사용자 데이터 = $ 전역 [ '사용자 데이터'];
or, 또는,
global $userdata; 글로벌 $ 사용자 데이터;
For user id, use “global $user_id;” instead. 에 대한 사용자 아이디를 사용 "글로벌 $ user_id;"대신합니다.
IMPORTANT : You're reading a machine translated page which is provided "as is" without warranty. 중요 사항 : 당신은 기계 번역 페이지를 읽고이 제공없이 "있는 그대로"품질 보증합니다. 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. 인간의 번역과는 달리, 기계 번역을 이해하지 않습니다 문법, 의미론, 문법, 숙어의 천연 언어, 그래서 종종 부정 확한과 낮은 품질 텍스트를 생산하고 이해할 수없는 오해가있습니다. Thus, please refer to 따라서를 참조하시기 바랍니다 original English article 기존 영어 자료 when in doubt. 의심이 나면합니다.
Related Articles 관련 기사
- Call to Undefined Function: wp_constrain_dimensions() When Uploading Images or image_downsize() in Gallery/Media Library in WordPress 2.5 전화를 정의되지 않은 함수 : wp_constrain_dimensions ()을 업로드할 때 이미지나 image_downsize ()에서 갤러리 / 미디어 라이브러리에 wordpress 2.5
- Call To Undefined Function: ctype_digit() in WordPress 2.5 전화를 정의되지 않은 함수 : ctype_digit () 2.5 wordpress
- WordPress 2.5.1 Released for Download wordpress 2.5.1 릴리스를 다운로드
- PHP Fatal Error on Call to Add_Query_Var in Taxonomy.php After Upgrading to WordPress 2.5 RC2 php add_query_var에 치명적인 오류가 전화를 taxonomy.php wordpress 2.5로 업그레이 드하면 rc2
- Fix WordPress 2.5 Image or Media Flash Uploader Not Working Issue in IE7 wordpress 2.5 이미지를 수정 또는 미디어 플래시 작동하지 않는 문제를 해결합니다 7 업로더
- Disable WordPress 2.5 Flash Image/Video/Media Uploader with Plugin 해제 wordpress 2.5 플래시 이미지 / 비디오 / 미디어 업로더과 플러그 접속식
- How to SEO Optimize WordPress 2.5 Blog Web Page Title Without Optimal Title Plugin 서재응 2.5 블로그를 최적화하는 방법을 웹 페이지에 제목 wordpress 플러그 접속하지 않고 최적의 타이틀
- WordPress 2.5 RC2 Released for Download wordpress 2.5 rc2를 다운로드 출시
- Workaround to Override WordPress Shortcode and Display the [] Brackets Tags wordpress 단축 코드를 무시하고 표시하는 해결 방법은 [] 대괄호 태그
- Media Buttons Disabler Plugin to Remove “Add Media” Icons in WordPress 2.5 미디어 버튼을 disabler 플러그를 제거하는 "추가 미디어"아이콘을 wordpress 2.5
































