Title: Debug errors.
Last modified: August 21, 2016

---

# Debug errors.

 *  [yunihuni1](https://wordpress.org/support/users/yunihuni1/)
 * (@yunihuni1)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/debug-errors-3/)
 * Hi.
 * I have install Debug Bar plugin, actived WP_DEBUG in wp-config.php and i get 
   some error with your plugin.
    I guess this errors crushing long time my php Here
   a screenshot; [http://i.imgur.com/IyvCR6Y.png](http://i.imgur.com/IyvCR6Y.png)
   Sorry for my bad English. And this is logs;
 * ——————————————————-
 * Error 1;
 * WARNING: C:\Inetpub\vhosts\example.com\tuhaf\wp-admin\admin-header.php:9 – Cannot
   modify header information – headers already sent by (output started at C:\Inetpub\
   vhosts\example.com\tuhaf\wp-content\plugins\statpress-visitors\admin\luc_admin.
   php:88)
 * Line 88: if ($_POST[‘saveit’] == ‘yes’)
 * ——————————————————–
 * Error 2;
 * Notice: Undefined variable: StatPressV_Option in C:\Inetpub\vhosts\example.com\
   tuhaf\wp-content\plugins\statpress-visitors\admin\luc_admin.php on line 1095
 * Line 1095: if ($StatPressV_Option[‘StatPressV_Dont_Collect_Spider’] == ”)
 * ——————————————————-
 * Error 3;
 * Notice: Undefined property: stdClass::$totalvisitors_feeds in C:\Inetpub\vhosts\
   example.com\tuhaf\wp-content\plugins\statpress-visitors\admin\luc_admin.php on
   line 641
 * Line 641; <th scope=’col’><div style=’background:<?php _e($rss_visitors_color)?
   >;width:10px;height:10px;float:left;margin-top:2px;margin-right:5px;’></div><?
   php _e((round($overview[‘total’]->totalvisitors_feeds / $graphdays, 1))) ?> Visitors
   Feeds</th>
 * —————————————————————
 * Error 4;
 * Notice: Undefined property: stdClass::$totalpageviews_feeds in C:\Inetpub\vhosts\
   yunusceyhan.com\tuhaf\wp-content\plugins\statpress-visitors\admin\luc_admin.php
   on line 643
 * Line 643; <th scope=’col’><div style=’background:<?php _e($rss_pageviews_color)?
   >;width:10px;height:10px;float:left;margin-top:2px;margin-right:5px;’></div><?
   php _e((round($overview[‘total’]->totalpageviews_feeds / $graphdays, 1))) ?> 
   Pageviews Feeds</th>
 * —————————————————————
 * Error 5;
 * Notice: Undefined offset: 1 in C:\Inetpub\vhosts\example.com\tuhaf\wp-content\
   plugins\statpress-visitors\admin\luc_admin.php on line 1604
 * Line 1604; $qry_visitors = luc_query_graph(“DISTINCT ip”, $where1 . ” AND ” .
   $feed1 . ” AND spider=” “, $limitdate, $currentdate); // SQL query count of the
   uniques visitors for all days of the graph ($graphdays)
 * —————————————————————
 * Error 6;
 * Notice: Undefined index: StatPressV_Dont_Show_domain_name in C:\Inetpub\vhosts\
   yunusceyhan.com\tuhaf\wp-content\plugins\statpress-visitors\admin\luc_admin.php
   on line 273
 * Line 273; <?php if ($StatPressV_Option[‘StatPressV_Dont_Show_domain_name’]==’
   checked’) echo “<th scope=’col’>Domain</th>” ?>
 * —————————————————————
 * Error 7;
 * Notice: Undefined offset: 1 in C:\Inetpub\vhosts\yunusceyhan.com\tuhaf\wp-content\
   plugins\statpress-visitors\statpress.php on line 748
 * Line 748; $home_url = array ( ” , ‘/’ . $perm[1] , $permalink , ‘fb_xd_fragment’);
 * ————————————————————–
 * Error 8;
 * Notice: Undefined index: StatPressV_Dont_Show_domain_name in C:\Inetpub\vhosts\
   yunusceyhan.com\tuhaf\wp-content\plugins\statpress-visitors\admin\luc_admin.php
   on line 375
 * Line 375; <?php if ($StatPressV_Option[‘StatPressV_Dont_Show_domain_name’]==’
   checked’) echo “<th scope=’col’>Domain</th>” ?>
 * —————————————————————
 * Error 9;
 * Notice: Undefined property: stdClass::$user in C:\Inetpub\vhosts\yunusceyhan.
   com\tuhaf\wp-content\plugins\statpress-visitors\admin\luc_admin.php on line 407
 * Line 407; if ($rk->user != ”)
 * [http://wordpress.org/plugins/statpress-visitors/](http://wordpress.org/plugins/statpress-visitors/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [luciole135](https://wordpress.org/support/users/luciole135/)
 * (@luciole135)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/debug-errors-3/#post-4250938)
 * The errors Undefined offset, Undefined index and Undefined variable has no impact
   on your site or PHP, otherwise the pages would not display. These errors indicate
   that the tested variables do not exist. In this case, php returns NULL and TEST
   returns FALSE. To avoid these errors appear, it would test the existence of the
   variable before testing its contents, making to make 2 times more tests.
 * Error # 9 can be corrected by replacing “feed, language,” with “feed, user, language,”
   on line 390.

Viewing 1 replies (of 1 total)

The topic ‘Debug errors.’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/statpress-visitors.svg)
 * [StatPress Visitors](https://wordpress.org/plugins/statpress-visitors/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/statpress-visitors/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/statpress-visitors/)
 * [Active Topics](https://wordpress.org/support/plugin/statpress-visitors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/statpress-visitors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/statpress-visitors/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [luciole135](https://wordpress.org/support/users/luciole135/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/debug-errors-3/#post-4250938)
 * Status: not resolved