Title: Fatal Error &#8211; Socket.php issue.
Last modified: August 31, 2016

---

# Fatal Error – Socket.php issue.

 *  Resolved [schleckel](https://wordpress.org/support/users/schleckel/)
 * (@schleckel)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/)
 * Hi there.
 * Recently all of our sites that utilise your brilliant plugin has gone mad…
    All
   frontend users get’s this screen when hitting the Send-button on our forms:
 * > [View post on imgur.com](https://imgur.com/28ASMFR)
 * We’ve got 6 sites on different Hosting providers, all of them experiencing this
   issue.
 * Any thoughts?
 * [https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/](https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/)

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

 *  Plugin Author [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * (@ronalfy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7268877)
 * Ack, that is no good. I’ll need some time to try to reproduce this one but will
   look into this today.
 *  Thread Starter [schleckel](https://wordpress.org/support/users/schleckel/)
 * (@schleckel)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7268903)
 * Hi Ronald.
    Let me know if you need further information or need access to any
   of our sites.
 * Best regards.
 *  Plugin Author [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * (@ronalfy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7268977)
 * It’s weird it’s happening on different hosting providers.
 * I narrowed it down to PHP sockets not being enabled by the PHP install. For example,`
   socket_create` is a PHP function, but since it couldn’t be accessed, it tried
   to find it in the namespace instead, which doesn’t exist, hence the fatal error.
 * [http://php.net/manual/en/function.socket-create.php](http://php.net/manual/en/function.socket-create.php)
 * [http://php.net/manual/en/book.sockets.php](http://php.net/manual/en/book.sockets.php)
 *  Thread Starter [schleckel](https://wordpress.org/support/users/schleckel/)
 * (@schleckel)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7268981)
 * Hi Ronald
 * That is the same conclusion we arrived at, but the hosting provider tells us,
   that PHP Sockets never was installed on the server, so we can’t figure out why
   this fails now?
 * Did the plugin “always” use PHP Sockets? Do we need PHP Sockets to be able to
   use the plugin?
 * Thanks
 *  Plugin Author [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * (@ronalfy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7268985)
 * With the current library, yes.
 * It looks like I introduced the error in 1.7.0. Very sorry about that. I updated
   the library Nathan originally used to make better use of Google’s measurement
   protocol, which uses the sockets.
 * I suggest in the short-term to [revert back to 1.6.5](https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/developers/)
   and I’ll ditch the library for a more WordPress-friendly approach.
 * I’ll get to this this weekend.
 * Very sorry for the inconvenience.
 *  Plugin Author [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * (@ronalfy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7269036)
 * Just reverted to the 1.6.5 library in 1.7.3 while keeping the 1.7.0 features 
   in.
 * Marking as resolved, but please let me know if you have any additional issues.
 *  Thread Starter [schleckel](https://wordpress.org/support/users/schleckel/)
 * (@schleckel)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7269068)
 * Awesomeness!!!
    Updated the plugin on two sites and tested on both – Works like
   a charm again.
 * So now we can update all our sites and get back to business :o)
 *  Plugin Author [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * (@ronalfy)
 * [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7269080)
 * Yayness! Sorry for the issues!

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

The topic ‘Fatal Error – Socket.php issue.’ is closed to new replies.

 * ![](https://ps.w.org/gravity-forms-google-analytics-event-tracking/assets/icon-
   256x256.png?rev=2524751)
 * [Event Tracking for Gravity Forms](https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/gravity-forms-google-analytics-event-tracking/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/)
 * [Active Topics](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/gravity-forms-google-analytics-event-tracking/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Ronald Huereca](https://wordpress.org/support/users/ronalfy/)
 * Last activity: [10 years, 1 month ago](https://wordpress.org/support/topic/fatal-error-socketphp-issue/#post-7269080)
 * Status: resolved