Title: PHP warning
Last modified: February 22, 2022

---

# PHP warning

 *  Resolved [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/)
 * Hello
 * Every night I get 15 of those errors in my log …..
 * PHP 7.4 and PHP 8.1
 *     ```
       WordPress database error Unknown column 'referer' in 'field list' for query SELECT
       COUNT(referer) AS hit_count,
       CASE
       WHEN referer = '/' THEN 'Homepage'
       ELSE trim( trailing '/' from referer)
       END as val_grouped
       FROM (SELECT * FROM w3p8w4z_burst_statistics WHERE session_id NOT IN (select session_id from w3p8w4z_burst_statistics where time_on_page < 5000 group by session_id having count(*) = 1)) as without_bounces
       WHERE 1=1 AND time > 1640995200 AND time < 1643673599 AND referer IS NOT NULL AND referer <> ''
       GROUP BY val_grouped
       ORDER BY hit_count DESC LIMIT 0 OFFSET 0 made by do_action_ref_array('burst_every_hour_hook'), WP_Hook->do_action, WP_Hook->apply_filters, burst_statistics->generate_cached_data, burst_statistics->get_hits_single
       ```
   
 * Thanks

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

 *  Plugin Author [Rogier Lankhorst](https://wordpress.org/support/users/rogierlankhorst/)
 * (@rogierlankhorst)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/#post-15391191)
 * [@seath](https://wordpress.org/support/users/seath/) it sounds as if you are 
   missing a column in the burst_statistics table. Can you try adding
 * `define('SCRIPT_DEBUG', true);`
 * To your wp-config.php?
 * The reload the back-end of your site a few times. This should force a database
   upgrade.
 * Afterwards you can remove the script_debug constant again, or set it to false.
 * Then the errors should be gone tomorrow.
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/#post-15391224)
 * [@rogierlankhorst](https://wordpress.org/support/users/rogierlankhorst/) done.
   I will let you know.
 * Thank you.
 *  Plugin Author [Hessel de Jong](https://wordpress.org/support/users/hesseldejong/)
 * (@hesseldejong)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/#post-15391767)
 * Hi [@seath](https://wordpress.org/support/users/seath/),
 * We did find a problem regarding the message in your error log. There was a typo
   which was causing the error.
 * Can you check if the github version resolves the issue?
    [https://github.com/Really-Simple-Plugins/burst](https://github.com/Really-Simple-Plugins/burst)
 * Many thanks!
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/#post-15392483)
 * [@hesseldejong](https://wordpress.org/support/users/hesseldejong/) Got it, and
   I will let you know tomorrow.
 * Thank You.
 *  Thread Starter [Seath](https://wordpress.org/support/users/seath/)
 * (@seath)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/#post-15395215)
 * [@hesseldejong](https://wordpress.org/support/users/hesseldejong/) YAY! It worked.
 * Thank You!
 *  Plugin Author [Hessel de Jong](https://wordpress.org/support/users/hesseldejong/)
 * (@hesseldejong)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/#post-15395885)
 * Yay! No problem [@seath](https://wordpress.org/support/users/seath/). Glad I 
   could help!

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

The topic ‘PHP warning’ is closed to new replies.

 * ![](https://ps.w.org/burst-statistics/assets/icon-256x256.png?rev=2672964)
 * [Burst Statistics - Privacy-Friendly WordPress Analytics (Google Analytics Alternative)](https://wordpress.org/plugins/burst-statistics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/burst-statistics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/burst-statistics/)
 * [Active Topics](https://wordpress.org/support/plugin/burst-statistics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/burst-statistics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/burst-statistics/reviews/)

 * 6 replies
 * 3 participants
 * Last reply from: [Hessel de Jong](https://wordpress.org/support/users/hesseldejong/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/php-warning-344/#post-15395885)
 * Status: resolved