Support » Plugin: WordPress Social Sharing Plugin - Social Warfare » PHP Notice: Undefined index: click_tracking in… SWP_Script.php

  • I am getting numerous entries in my error log file:

    PHP Notice: Undefined index: click_tracking in /home/blackj90/public_html/ on line 170

    Any ideas?

    The page I need help with: [log in to see the link]

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter bjrnet21


    I have version 3.0.8 of Social Warfare installed and WordPress 4.9.6 with the latest version of Twenty-Fourteen theme.

    Any answer?

    I am having the same issue here at bottom of page:

    When I uninstall/remove the Social Warfare plugin it disappears, but when I reinstall the plugin again, it reappears. I really want to use this plugin, is there a solution to get rid of that code and still keep Social Warfare plugin?

    I’m getting the same problem. First started over a week ago.

    Temp fix: Edit the plugins/social-warfare/functions/frontend-output/SWP_Script.php file and go to line 170.

    Remove this from that line: [‘click_tracking’]

    Save that file.

    • This reply was modified 4 years, 5 months ago by theatereleven.
    Thread Starter bjrnet21


    I went ahead and disabled PHP notices from being logged as follows.

    Add/edit your wp-config.php file:

    /** Error logging */
    ini_set(‘error_reporting’, E_ALL );
    define(‘WP_DEBUG’, false);
    define(‘WP_DEBUG_DISPLAY’, false);
    ini_set(‘log_errors’, ‘On’);
    ini_set(‘error_log’, ‘xxxxxxxxx/php-errors.log’);

    I originally had the following line in wp-config.php:
    /**ini_set(‘error_reporting’, E_ALL & ~E_NOTICE ); */
    but it did not appear to prevent the PHP Notices from being logged.

    Plugin Contributor Christine


    This issue will be resolved in 3.0.9 which is due to drop later this week.

    Cool thanks Christine. Did you guys know that there’s a Stumgled Upon admin message that won’t go away now too? Top of WP admin.

    Plugin Contributor Christine


    The StumbleUpon message has been fixed in 3.1.0 which we just released. Sorry for the inconvenience.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘PHP Notice: Undefined index: click_tracking in… SWP_Script.php’ is closed to new replies.