Title: Fatal error: func_get_args()
Last modified: November 11, 2016

---

# Fatal error: func_get_args()

 *  Resolved [robaa](https://wordpress.org/support/users/robaa/)
 * (@robaa)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/)
 * Hi All,
 * I’ve just tried to install this plugin, and although the installation appeared
   to go through OK, when I tried to activate it I got the following:
 * Fatal error: func_get_args(): Can’t be used as a function parameter in […]\wp-
   content\plugins\autodescription\inc\classes\query.class.php on line 1200
 * And now my whole site is down!
 * I’m desperate to get my site back up, but I’ve no idea how to do it… Can anyone
   help? (And please explain it to me as if I’m a two-year-old – I’m not, repeat
   not, a PHP programmer!)
 * Any help HUGELY appreciated – many thanks in advance!

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/#post-8423963)
 * Hi [@robaa](https://wordpress.org/support/users/robaa/),
 * To get your site back up, please ask your hosting provider for instructions on
   how to enter FTP.
 * Once you have access to FTP, please go to `.../wp-content/plugins/autodescription/`
   and delete the folder’s contents. From there the site should be accessible once
   more.
 * I’ll investigate the cause of this issue. Cheers!
 *  Thread Starter [robaa](https://wordpress.org/support/users/robaa/)
 * (@robaa)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/#post-8423983)
 * Thanks [@cybr](https://wordpress.org/support/users/cybr/)
 * I have access to my hosting space, so that’s no problem.
 * Shall I delete the entire /autodescription folder along with its contents, or
   only the contents? (Sorry if this is dumb question, just didn’t want to get it
   wrong.)
 * Cheers,
    Robaa
 * PS: In case it helps at all, this is the line 1200 that the error refers to:
   
   return $this->get_query_cache( $key, $value_to_set, array_slice( func_get_args(),
   2 ) );
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/#post-8424004)
 * Update:
 * The cause of this issue lies with PHP 5.2 not supporting `func_get_args` as a`
   function parameter`, but has to be put in a variable first.
 * From PHP 5.3 and onward this issue should not exist.
 * **In other words:** The plugin requires PHP 5.3 or later.
 * PHP 5.2 support was planned to be dropped in 2.7.1 of The SEO Framework because
   of bad standards. Alas, it seems to be dropped in The SEO Framework 2.7.0 already
   🙁
 * Please contact your hosting provider in order to upgrade your PHP version. PHP
   5.2 has not received any updates for [over 5 years](http://php.net/eol.php) and
   therefore holds a security risk whilst using.
    It’s currently best to use **PHP
   5.6.5 or later**. That version is also much, much faster than PHP 5.2; PHP 7 
   even more so (which is twice as fast as PHP 5.6).
 * I hope this clears things up! Best of luck!
    -  This reply was modified 9 years, 7 months ago by [Sybre Waaijer](https://wordpress.org/support/users/cybr/).
      Reason: Wrong line investigated. Cause is however the same
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/#post-8424012)
 * Hi [@robaa](https://wordpress.org/support/users/robaa/),
 * > Shall I delete the entire /autodescription folder along with its contents, 
   > or only the contents? (Sorry if this is dumb question, just didn’t want to 
   > get it wrong.)
 * You could do either. The cleanest way is of course deleting the folder along 
   with its contents 🙂
 * Cheers!
 *  Thread Starter [robaa](https://wordpress.org/support/users/robaa/)
 * (@robaa)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/#post-8424043)
 * That’s excellent [@cybr](https://wordpress.org/support/users/cybr/), many thanks,
   and thanks especially for such a superfast turnaround on a Friday afternoon (
   well, it’s Friday afternoon here in Oxford England, I don’t know where you are
   of course!).
 * I’ve successfully deleted the autodescription folder, and hey presto my site 
   is back up as if nothing had ever gone wrong. (Phew!)
 * I’ll definitely check with my hosting provider why they are using such an old
   PHP version, thanks for the heads-up. Assuming they upgrade it in the near enough
   future, I’ll re-install this.
 * Thanks again for your help, and have a good weekend! 🙂
 * Robaa
 *  Plugin Author [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * (@cybr)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/#post-8424210)
 * Anytime!
 * If you have any more questions, feel free to let me know.
    Enjoy your weekend!
 * P.S. I’m your neighbour, from the Netherlands 🙂

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Fatal error: func_get_args()’ is closed to new replies.

 * ![](https://ps.w.org/autodescription/assets/icon.svg?rev=3000376)
 * [The SEO Framework – Fast, Automated, Effortless.](https://wordpress.org/plugins/autodescription/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/autodescription/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/autodescription/)
 * [Active Topics](https://wordpress.org/support/plugin/autodescription/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/autodescription/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/autodescription/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Sybre Waaijer](https://wordpress.org/support/users/cybr/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-func_get_args-2/#post-8424210)
 * Status: resolved