Title: error log
Last modified: January 23, 2020

---

# error log

 *  [rizbit](https://wordpress.org/support/users/rizbit/)
 * (@rizbit)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/error-log-73/)
 * I get lots of these errors from your pugin
 * > [23-Jan-2020 12:58:22 UTC] WordPress database error You have an error in your
   > SQL syntax; check the manual that corresponds to your MySQL server version 
   > for the right syntax to use near ” at line 1 for query SELECT `page_id` FROM
   > wp_statistics_pages WHERE `date` = ‘2020-01-23’ AND `type` = ” AND `id` = made
   > by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘
   > parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded,
   > WP_REST_Server->serve_request, WP_REST_Server->dispatch, WP_Statistics_Rest-
   > >hit, WP_Statistics_Hits->Pages
 * is there a fix

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

 *  [incognito0](https://wordpress.org/support/users/incognito0/)
 * (@incognito0)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-log-73/#post-12462150)
 * I can confirm this error. Are there any news?
 *  [Anticosti](https://wordpress.org/support/users/anticosti/)
 * (@anticosti)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/error-log-73/#post-12482776)
 * I can confirm this error too.
    My “php_errorlog” located in root keeps filling
   up with errors only related to this issue.
 *  [darthyoda6](https://wordpress.org/support/users/darthyoda6/)
 * (@darthyoda6)
 * [6 years ago](https://wordpress.org/support/topic/error-log-73/#post-12525403)
 * Same as well.
 *  [myblogisgreat](https://wordpress.org/support/users/myblogisgreat/)
 * (@myblogisgreat)
 * [6 years ago](https://wordpress.org/support/topic/error-log-73/#post-12585291)
 * Dito, same errors.
 *  [Peter M.](https://wordpress.org/support/users/inveress/)
 * (@inveress)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-log-73/#post-12750629)
 * Same error here:
 * [29-Apr-2020 11:24:34 UTC] WordPress database error You have an error in your
   SQL syntax; check the manual that corresponds to your MySQL server version for
   the right syntax to use near ” at line 1 for query SELECT `page_id` FROM wp_statistics_pages
   WHERE `date` = ‘2020-04-29’ AND `type` = ” AND `id` = made by require(‘wp-blog-
   header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’),
   WP_Hook->do_action, WP_Hook->apply_filters, rest_api_loaded, WP_REST_Server->
   serve_request, WP_REST_Server->dispatch, WP_Statistics_Rest->hit, WP_Statistics_Hits-
   >Pages
 * Is this plugin no longer receiving support?
 *  [n381](https://wordpress.org/support/users/n381/)
 * (@n381)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/error-log-73/#post-12805314)
 * Hello, as I also had similar error in log file, I’ve tried around with changing
   settings and testing. It turns out that errors (referring to wp-blog-header.php)
   were triggered during incomplete templates, sections/blocks pages and third party
   pages so it is necessary to uncheck option Track all pages in WP Statistics settings.

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

The topic ‘error log’ is closed to new replies.

 * ![](https://ps.w.org/wp-statistics/assets/icon.svg?rev=3081064)
 * [WP Statistics – Simple, privacy-friendly Google Analytics alternative](https://wordpress.org/plugins/wp-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-statistics/reviews/)

 * 6 replies
 * 7 participants
 * Last reply from: [n381](https://wordpress.org/support/users/n381/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/error-log-73/#post-12805314)
 * Status: not resolved