Title: Fatal error at activation
Last modified: August 19, 2016

---

# Fatal error at activation

 *  [reeds_boats](https://wordpress.org/support/users/reeds_boats/)
 * (@reeds_boats)
 * [15 years ago](https://wordpress.org/support/topic/fatal-error-at-activation/)
 * I have successfully installed the Official Google Site Verification plugin, however
   I get a fatal error when trying to activate it:
 * Fatal error: Call to undefined function sys_get_temp_dir() in /var/www/vhosts/
   boatreeds.com/httpdocs/WP/wp-content/plugins/official-google-site-verification-
   plugin/external/php-client/config.php on line 53
 * Can you please advise?
    Thanks, Linda

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

 *  Plugin Author [kbm](https://wordpress.org/support/users/kbm/)
 * (@kbm)
 * [15 years ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054664)
 * Hello Linda,
 * Which version of PHP are you using?
 * This plugin is using functionality that was introduced in PHP 5.2.1. Your version
   of PHP must be older than that. Hopefully you don’t have a version older than
   5.2.0, because we do not support versions of PHP that are older than that.
 * I made a fix that will allow the plugin to run on 5.2.0. Assuming your version
   of PHP is at version 5.2.0 or above, you can try again in an hour or so.
 * Kevin
 *  [kharlo](https://wordpress.org/support/users/kharlo/)
 * (@kharlo)
 * [15 years ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054806)
 * Hi Kevin,
    I have this error on activation: The Google PHP API Library needs 
   the CURL PHP extension
 * I have PHP v5.2.0-8+etch15
    what should I do?
 * thanks!
    kharlo
 *  Plugin Author [kbm](https://wordpress.org/support/users/kbm/)
 * (@kbm)
 * [15 years ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054819)
 * Do you have root access to your system? You might need to recompile PHP to include
   CURL support, or install additional support packages (e.g. php5-curl on Ubuntu.)
 *  [kharlo](https://wordpress.org/support/users/kharlo/)
 * (@kharlo)
 * [15 years ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054823)
 * no access… i’m in hosting…
 *  Plugin Author [kbm](https://wordpress.org/support/users/kbm/)
 * (@kbm)
 * [15 years ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054833)
 * Hello Kharlo,
 * Sorry, the plugin won’t work unless your hoster upgrades your PHP installation
   to support libcurl.
 * Fortunately, the plugin is not the only way to verify your site with Google. 
   There are several manual verification methods you can use to verify your blog
   at [https://www.google.com/webmasters/verification/](https://www.google.com/webmasters/verification/).
 * There are also several other verification plugins available for WP that don’t
   rely on web service calls, and therefore shouldn’t require CURL libraries.
 * I hope that helps!
 *  [chicagorealtor](https://wordpress.org/support/users/chicagorealtor/)
 * (@chicagorealtor)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054908)
 * Can someone help me with this error message? I am using PHP 5.0
 * Fatal error: Uncaught exception ‘apiCacheException’ with message ‘Could not create
   storage directory: /tmp/apiClient/2d’ in /home/haberdas/public_html/wp-content/
   plugins/official-google-site-verification-plugin/external/php-client/cache/apiFileCache.
   php:117 Stack trace: #0 /home/haberdas/public_html/wp-content/plugins/official-
   google-site-verification-plugin/external/php-client/auth/apiOAuth.php(90): apiFileCache-
   >set(‘OAuth:anonymous…’, ‘0DiY7kh4IaLBviK…’) #1 /home/haberdas/public_html/wp-
   content/plugins/official-google-site-verification-plugin/external/php-client/
   apiClient.php(138): apiOAuth->authenticate(Object(apiFileCache), Object(apiCurlIO),
   Array) #2 /home/haberdas/public_html/wp-content/plugins/official-google-site-
   verification-plugin/googleSiteVerification.php(87): apiClient->authenticate()#
   3 [internal function]: google_admin_head(”) #4 /home/haberdas/public_html/wp-
   includes/plugin.php(405): call_user_func_array(‘google_admin_he…’, Array) #5 /
   home/haberdas/public_html/wp-admin/admin.php(111): do_action(‘a in /home/haberdas/
   public_html/wp-content/plugins/official-google-site-verification-plugin/external/
   php-client/cache/apiFileCache.php on line 117
 * Thank You!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054909)
 * [FTP](http://codex.wordpress.org/FTP_Clients) into your site (or use whatever
   file management application your host provides) and delete the wp-content/plugins/
   official-google-site-verification-plugin folder.

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

The topic ‘Fatal error at activation’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/official-google-site-verification-
   plugin.svg)
 * [Google Site Verification Plugin](https://wordpress.org/plugins/official-google-site-verification-plugin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/official-google-site-verification-plugin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/official-google-site-verification-plugin/)
 * [Active Topics](https://wordpress.org/support/plugin/official-google-site-verification-plugin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/official-google-site-verification-plugin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/official-google-site-verification-plugin/reviews/)

 * 7 replies
 * 5 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 7 months ago](https://wordpress.org/support/topic/fatal-error-at-activation/#post-2054909)
 * Status: not resolved