WPIntell

Source evidence

Errors

Slider Matches Results · support · 2018-05-19T12:16:00+00:00

mixedsentiment
mediumseverity
0.78relevance
4replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

6 / 31 rows with source links

19.4% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

25 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
campusboy resolved
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. 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 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 8 years ago by campusboy . Hi, Thx :). A fix has been made. Cédric Hi, i close the topic.

Comments

4 shown
Cédric Chevillard 2018-05-21T18:36:00+00:00

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

campusboy 2018-05-25T09:11:00+00:00

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 8 years ago by campusboy .

Cédric Chevillard 2018-05-25T15:59:00+00:00

Hi, Thx :). A fix has been made. Cédric

Cédric Chevillard 2018-05-28T20:00:00+00:00

Hi, i close the topic.