Fatal error: Call to undefined function wp_get_current_user() ...|Wordpress Support|Forum Archive|XCloner

The free forums are no longer in use. It remains available as read-only archive.

Avatar
Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
The forums are currently locked and only available for read only access
sp_Feed Topic RSSsp_TopicIcon
Fatal error: Call to undefined function wp_get_current_user() ...
January 28, 2012
12:13 am
Avatar
Kevin
New Member
Members
Forum Posts: 2
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline
I get the following error when I go to Plugins/XCloner in the admin section of WordPress 3.31

 

Fatal error: Call to undefined function wp_get_current_user() in C:\HostingSpaces\kevdog98\kevinverver.com\wwwroot\blog\wp-content\plugins\xcloner-backup-and-restore\cloner.config.php(76) : eval()'d code on line 93

 

Please help me fix this problem.  

 

Thanks.  

 

Kevin

January 28, 2012
3:00 pm
Avatar
Ovidiu Liuta
Member
Forum Posts: 2484
Member Since:
September 26, 2010
sp_UserOfflineSmall Offline

You probably have some custom modifications to the wp-config.php, in which case you need to open the wwwroot\blog\wp-content\plugins\xcloner-backup-and-restore\cloner.config.php file and replace this line (#71)

 

if(@file_exists("../../../wp-config.php")){

 

with

 

if(0){
 

After that, you need to enable the mysql backup and manually add your database connection settings in the XCloner Config!

Hope it helps...

January 28, 2012
6:08 pm
Avatar
Kevin
New Member
Members
Forum Posts: 2
Member Since:
January 27, 2012
sp_UserOfflineSmall Offline

Thanks that fixed the problem.  

 

Kevin

Forum Timezone: America/Chicago
Most Users Ever Online: 867
Currently Online:
Guest(s) 3
Currently Browsing this Page:
1 Guest(s)
Top Posters:
mlguru: 30
Django29: 29
D: 21
Andy: 21
Marcus: 20
Jamie F: 19
Member Stats:
Guest Posters: 738
Members: 10080
Moderators: 2
Admins: 3
Forum Stats:
Groups: 3
Forums: 7
Topics: 2397
Posts: 8236
Newest Members:
Manuele Freddo_1
Moderators: TriP: 0, Steve Burge: 0
Administrators: Ovidiu Liuta: 2484, Victor Drover: 1, Valentin Barbu: 0