Title: ndefined index: dnload-csv error
Last modified: August 21, 2016

---

# ndefined index: dnload-csv error

 *  [Harish Chouhan](https://wordpress.org/support/users/hchouhan/)
 * (@hchouhan)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/ndefined-index-dnload-csv-error/)
 * Hello,
    I get this error when debug is enabled.
 * `Notice: Undefined index: dnload-csv in D:\Projects\Flat Trendz\flattrendz.dev\
   wp-content\plugins\seo-rank-reporter\seo-rank-reporter.php on line 689`
 * [https://wordpress.org/plugins/seo-rank-reporter/](https://wordpress.org/plugins/seo-rank-reporter/)

Viewing 1 replies (of 1 total)

 *  [Fetch Designs](https://wordpress.org/support/users/fetchdesigns/)
 * (@fetchdesigns)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/ndefined-index-dnload-csv-error/#post-4892712)
 * In the file **wp-content/plugins/seo-rank-reporter/seo-rank-reporter.php** line#
   689 needs to be changed from…
 * `if ($_POST['dnload-csv'] == "Download CSV") {`
 * to this…
 * `if (isset($_POST['dnload-csv']) && $_POST['dnload-csv'] == "Download CSV") {`
 * Another PHP notice this plugin is throwing that should be corrected is (same 
   file)…
 * **Undefined index: HTTP_REFERER in /path/to/wordpress/wp-content/plugins/seo-
   rank-reporter/seo-rank-reporter.php on line 190**
 * `if (stristr($_SERVER['HTTP_REFERER'], $kw_sengine_country) !== false && !is_user_logged_in()){`
 * should be changed to…
 * `if (isset($_SERVER['HTTP_REFERER']) && stristr($_SERVER['HTTP_REFERER'], $kw_sengine_country)!
   == false && !is_user_logged_in()) {`

Viewing 1 replies (of 1 total)

The topic ‘ndefined index: dnload-csv error’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/seo-rank-reporter_e1e1e1.svg)
 * [SEO Rank Reporter](https://wordpress.org/plugins/seo-rank-reporter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/seo-rank-reporter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/seo-rank-reporter/)
 * [Active Topics](https://wordpress.org/support/plugin/seo-rank-reporter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/seo-rank-reporter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/seo-rank-reporter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Fetch Designs](https://wordpress.org/support/users/fetchdesigns/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/ndefined-index-dnload-csv-error/#post-4892712)
 * Status: not resolved