• Hello, there. I am having some major problems with my blog, The Amateur Financier (http://www.theamateurfinancier.com/blog/). I attempted to update one of the plug-ins I have installed, WP-Filebase, and doing so seems to have caused my site to be struck by a fatal error. Specifically, I’ve gotten this message on my site, on the homepage, on individual pages, and on the administrative pages:

    Fatal error: func_get_args(): Can’t be used as a function parameter in /home/amateurfinancier/theamateurfinancier.com/blog/wp-content/plugins/wp-filebase/wp-filebase.php on line 33

    It doesn’t sound like it should be that hard to repair (even for someone with essentially no experience with coding like myself), BUT I can’t get onto the site. I have attempted to access my FTP files, but I can’t seem to do that. Specifically, I’ve tried to log into my FTP data, and my password is apparently no longer functional. I’ve also tried to restore my backed-up data, but my webhost (Dreamhost) doesn’t have it backed up, and to restore my latest backed up data manually, I need to have access to FTP data.

    Any help with this issue would be appreciated. Also, if I can fix this myself, I’d appreciate a walk-through that is as hand-holding as possible; as noted, I’m essentially useless when it comes to handling issues like this on my own. Thanks to anyone who can help!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Kurt

    (@highfxmedia)

    theamateurfinancier: You should be able to log into your hosting account and either update the FTP password or create a new FTP user & password.

    When you get in via FTP, rename the folder plugins/wp-filebase to something else or just delete it.

    Thread Starter theamateurfinancier

    (@theamateurfinancier)

    Thanks, Kurt; getting a new FTP password and changing the name of the plugin did the job. Thanks very much!

    I have the same error since latest update of Filebase… Any idea how to fix it ?

    Sincerely,

    Kurt

    (@highfxmedia)

    kahuitel: It looks like the solution for now is to role back to the previous version. Here’s the support forum for the plugin: http://wordpress.org/support/plugin/wp-filebase

    miquelpontes

    (@miquelpontesgmailcom)

    I solved it by editing the file /wp-content/plugins/wp-filebase/wp-filebase.php (accessing it via FTP) and changing the original line 33:

    if(func_num_args() > 1)
    	return array_map(__FUNCTION__, func_get_args());

    by the following:

    if(func_num_args() > 1) {
    	$arg_list = func_get_args();
    	return array_map(__FUNCTION__, $arg_list);
    	}

    That worked for me.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Problem – Fatal error: func_get_args()’ is closed to new replies.