Title: Errors
Last modified: May 19, 2018

---

# Errors

 *  Resolved [campusboy](https://wordpress.org/support/users/campusboy1987/)
 * (@campusboy1987)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/errors-183/)
 * Hello! After activating the plugin, errors appear in the admin panel:
 *     ```
       Notice: Undefined index: page in D:\server72\sites\wp-test.ru\wp-content\plugins\slider-matches-results\slider-matches-results.php on line 621
       Notice: Undefined index: page in D:\server72\sites\wp-test.ru\wp-content\plugins\slider-matches-results\slider-matches-results.php on line 815
       Notice: Undefined index: page in D:\server72\sites\wp-test.ru\wp-content\plugins\slider-matches-results\slider-matches-results.php on line 826
       Warning: Cannot modify header information - headers already sent by (output started at D:\server72\sites\wp-test.ru\wp-content\plugins\slider-matches-results\slider-matches-results.php:621) in D:\server72\sites\wp-test.ru\wp-admin\includes\misc.php on line 1116
       ```
   
 * Please check the array arguments $ _GET with the isset() construct.

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

 *  Plugin Author [Cédric Chevillard](https://wordpress.org/support/users/cedche99/)
 * (@cedche99)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/errors-183/#post-10305318)
 * Hi,
 * Sorry for not answering you before, I did not see your topic.
 * I made a correction, can you tell me if that solves your problem.
 * Cédric
 *  Thread Starter [campusboy](https://wordpress.org/support/users/campusboy1987/)
 * (@campusboy1987)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-183/#post-10322064)
 * Yes, the errors on the first message are eliminated. Thank you!
 * But they stayed. There are errors on the `admin.php?page=smr_plugin_matches` 
   page, they are related to the incorrect use of `wpdb::prepare`.
 * * File slider-matches-results.php, line 232
    * File slider-matches-results.php,
   line 370 * And so on
 * This is not dynamic getting the value, so the `prepare()` method can not be used
   at all. But if you want reliability, it is better to do so:
 *     ```
       $table_name_matches = sanitize_key( $this->get_table_name_matches() );
   
       $sql = "SELECT * FROM $table_name_matches";
   
       // Select all matches in DB
       $results_matches = $wpdb->get_results( $sql );
       ```
   
    -  This reply was modified 7 years, 11 months ago by [campusboy](https://wordpress.org/support/users/campusboy1987/).
 *  Plugin Author [Cédric Chevillard](https://wordpress.org/support/users/cedche99/)
 * (@cedche99)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-183/#post-10324103)
 * Hi,
 * Thx :).
 * A fix has been made.
 * Cédric
 *  Plugin Author [Cédric Chevillard](https://wordpress.org/support/users/cedche99/)
 * (@cedche99)
 * [7 years, 11 months ago](https://wordpress.org/support/topic/errors-183/#post-10333496)
 * Hi, i close the topic.

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

The topic ‘Errors’ is closed to new replies.

 * ![](https://ps.w.org/slider-matches-results/assets/icon-256x256.png?rev=1877618)
 * [Slider Matches Results](https://wordpress.org/plugins/slider-matches-results/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/slider-matches-results/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/slider-matches-results/)
 * [Active Topics](https://wordpress.org/support/plugin/slider-matches-results/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/slider-matches-results/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/slider-matches-results/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Cédric Chevillard](https://wordpress.org/support/users/cedche99/)
 * Last activity: [7 years, 11 months ago](https://wordpress.org/support/topic/errors-183/#post-10333496)
 * Status: resolved