Title: Error Log
Last modified: August 30, 2016

---

# Error Log

 *  Resolved [BackpackersUnion](https://wordpress.org/support/users/backpackersunion/)
 * (@backpackersunion)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/)
 * Hi Jeff,
 * I’ve been frequently seeing this error in my Logs and I wasn’t sure if there’s
   an easy fix? The plugin still seems to be working great.
 * `PHP Warning: extract() expects parameter 1 to be array, boolean given in /nas/
   content/live/username/wp-content/plugins/ga-google-analytics/ga-google-analytics.
   php on line 54`
 * Hope you’re are doing well and thanks for everything!
 * Regards,
    Carl
 * Detials: Running 2014 theme, with up-to-day WP and BP
 * [https://wordpress.org/plugins/ga-google-analytics/](https://wordpress.org/plugins/ga-google-analytics/)

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

 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854199)
 * Hi Carl,
 * Thanks for reporting this, it looks like that warning is happening when `gap_options`
   is not available in the database.. that is, when `get_option()` returns false:
 * [https://codex.wordpress.org/Function_Reference/get_option](https://codex.wordpress.org/Function_Reference/get_option)
 * Can you verify whether or not `gap_options` exists in your database?
 *  Thread Starter [BackpackersUnion](https://wordpress.org/support/users/backpackersunion/)
 * (@backpackersunion)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854231)
 * Thanks for the quick response!
 * I’m not very well versed when it comes to working with the DB, so I did a search
   through the DB for `gap_options` and returned 4 results referencing it.
 * Is there a better way to properly confirm `gap_options` is where it needs to 
   be?
 * Sorry for the learning curve on this one.
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854238)
 * Sounds correct, can you verify that `gap_options` exists in the WP options table,
   which by default is named `wp_options` (may be different if you are using a custom
   db prefix).
 *  Thread Starter [BackpackersUnion](https://wordpress.org/support/users/backpackersunion/)
 * (@backpackersunion)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854242)
 * It looks like `gap_options` is present in the `wp_options` table.
 * The search populated 1 `gap_options` result within the `wp_options` table, followed
   by the GA tracking code and other `"gap_ "` related code.
 * Does this sound about right?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854245)
 * Yep that sounds correct. So not sure why the extract function would throw that
   warning.. maybe are you running WP Multisite?
 *  Thread Starter [BackpackersUnion](https://wordpress.org/support/users/backpackersunion/)
 * (@backpackersunion)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854260)
 * You are correct, it is a Multisite install with “GA Google Analytics” Network
   Activated. Should I deactivate network-wide and then activate individually?
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854261)
 * Yes that would be a good call.. let me know if that resolves the PHP warning..
 *  Thread Starter [BackpackersUnion](https://wordpress.org/support/users/backpackersunion/)
 * (@backpackersunion)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854263)
 * I just checked the client IP Address associate with the Error and it looks like
   it came from China, possibly a Baidu search engine spider: 180.76.15.145 (The
   Chinese search engine I believe).
 * Is it possible the crawler was trying to extract data from the GA code and asked
   for an incorrect option? I’m 90% guessing, but figured it was worth an ask.
 *  Thread Starter [BackpackersUnion](https://wordpress.org/support/users/backpackersunion/)
 * (@backpackersunion)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854266)
 * Sorry, I hadn’t refreshed the page to read your last comment. I will do!
 * Thanks for sticking with me on this one 🙂 !
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854267)
 * Not sure.. but you had mentioned “frequently seeing this error in my Logs”, so
   unless that IP/request is associated with the all of the many warnings that you
   are seeing, chances are it’s a Multisite issue.
 *  Thread Starter [BackpackersUnion](https://wordpress.org/support/users/backpackersunion/)
 * (@backpackersunion)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854379)
 * Good point! It could take me a few days to make the changes and watch the logs
   for the error, so I’ll mark this resolved for now. If it ends up not solving 
   the Error I’ll just open a new thread.
 * Thanks again for everything, Jeff!
 * All the best,
    Carl
 *  Plugin Author [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * (@specialk)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854380)
 * My pleasure, Carl – Good luck!

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

The topic ‘Error Log’ is closed to new replies.

 * ![](https://ps.w.org/ga-google-analytics/assets/icon-256x256.png?rev=2053004)
 * [GA Google Analytics – Connect Google Analytics to WordPress](https://wordpress.org/plugins/ga-google-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ga-google-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ga-google-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/ga-google-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ga-google-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ga-google-analytics/reviews/)

## Tags

 * [error logs](https://wordpress.org/support/topic-tag/error-logs/)

 * 12 replies
 * 2 participants
 * Last reply from: [Jeff Starr](https://wordpress.org/support/users/specialk/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/error-log-32/#post-6854380)
 * Status: resolved