Title: Undefined variable: trackingInfo
Last modified: December 18, 2017

---

# Undefined variable: trackingInfo

 *  Resolved [koolpal](https://wordpress.org/support/users/koolpal/)
 * (@koolpal)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-trackinginfo/)
 * Hi,
 * I am using
    WP: 4.9.1 CF7: Version 4.9.2 Contact Form 7 Lead info with country:
   Version 1.4.1
 * With WP_DEBUG on, I am getting the following notice:
 * `Undefined variable: trackingInfo in Path to plugins\contact-form-7-lead-info-
   with-country\wpshore_cf7_lead_tracking.php on line 76`
 * Please guide for resolution.
 * Thanks.

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

 *  Plugin Author [apasionados](https://wordpress.org/support/users/apasionados/)
 * (@apasionados)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-trackinginfo/#post-9797399)
 * Hi there,
 * We have had a look into your problem and think we got a solution. Unfortunately
   we can’t reproduce the problem for testing the solution.
 * Could you please inform us about the PHP version your server is running? If you
   don’t know this info, you can get it with this plugin: [Server IP & Memory Usage Display](https://wordpress.org/plugins/server-ip-memory-usage/)(
   ours) or with this other one: [Display PHP Version](https://wordpress.org/plugins/display-php-version/).
 * This will help us to test the solution.
 * If you prefer to test the solution by yourself, you can edit the file `wpshore_cf7_lead_tracking.
   php` and add the following line before line 76: `$trackingInfo = '';`
 * Best regards from Spain.
    -  This reply was modified 8 years, 5 months ago by [apasionados](https://wordpress.org/support/users/apasionados/).
      Reason: Removed the long path from: pluginscontact-form-7-lead-info-with-countrywpshore_cf7_lead_tracking.
      php
    -  This reply was modified 8 years, 5 months ago by [apasionados](https://wordpress.org/support/users/apasionados/).
      Reason: Made the solution clearer
 *  Thread Starter [koolpal](https://wordpress.org/support/users/koolpal/)
 * (@koolpal)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-trackinginfo/#post-9812902)
 * Hi [@apasionados](https://wordpress.org/support/users/apasionados/),
 * Sorry for the delayed reply. I was travelling.
 * My PHP Version is 7.0.10
 * I tested by inserting
    `$trackingInfo = '';` at line 75 and this error seems 
   to have stopped.
 * I shall keep testing and let you in case it recurs!
 * Thank you for the fantastic work!
 * Cheers!
 *  Plugin Author [apasionados](https://wordpress.org/support/users/apasionados/)
 * (@apasionados)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-trackinginfo/#post-9830506)
 * Hi there,
 * We just uploaded version 1.4.2 with the correction.
 * We tested version 1.4.1 on PHP 7.0.26 and didn’t get this notice; but now it 
   should work also for you.
 * Best regards from Spain.
    -  This reply was modified 8 years, 5 months ago by [apasionados](https://wordpress.org/support/users/apasionados/).
      Reason: Added explanation of testing on PHP 7.0.26

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

The topic ‘Undefined variable: trackingInfo’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7-lead-info-with-country/assets/icon-128x128.
   png?rev=1043884)
 * [Lead info with country for Contact Form 7](https://wordpress.org/plugins/contact-form-7-lead-info-with-country/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7-lead-info-with-country/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7-lead-info-with-country/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7-lead-info-with-country/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7-lead-info-with-country/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7-lead-info-with-country/reviews/)

## Tags

 * [php 7.1](https://wordpress.org/support/topic-tag/php-7-1/)
 * [undefined variable](https://wordpress.org/support/topic-tag/undefined-variable/)

 * 3 replies
 * 2 participants
 * Last reply from: [apasionados](https://wordpress.org/support/users/apasionados/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/undefined-variable-trackinginfo/#post-9830506)
 * Status: resolved