• Resolved KoolPal

    (@koolpal)


    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

    (@apasionados)

    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 (ours) or with this other one: 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 7 years, 3 months ago by apasionados. Reason: Removed the long path from: pluginscontact-form-7-lead-info-with-countrywpshore_cf7_lead_tracking.php
    • This reply was modified 7 years, 3 months ago by apasionados. Reason: Made the solution clearer
    Thread Starter KoolPal

    (@koolpal)

    Hi @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

    (@apasionados)

    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 7 years, 2 months ago by 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.