update to PHP7 WP_Statistics causes page break on iPad
-
When I updated my site to PHP7, it broke my pages when viewed on iPad. Here is how my pages look on iPad. I deactivated WP_Statistics and the problem went away.
WordPress database error Unknown column 'page_id' in 'field list' for query SELECT
page_idFROM
wp1834_statistics_pagesWHERE
date= '2022-12-12' AND
type= 'post' AND
id` = ‘1991’ made by require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array(‘wp’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Hits->record_wp_hits, WP_STATISTICS\Hits::record, WP_STATISTICS\Pages::record
WordPress database error Unknown column ‘type’ in ‘field list’ for query INSERT IGNORE INTOwp1834_statistics_pages
(uri
,date
,count
,id
,type
) VALUES (‘/mypage/’, ‘2022-12-12’, 1, ‘1991’, ‘post’) made by require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array(‘wp’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Hits->record_wp_hits, WP_STATISTICS\Hits::record, WP_STATISTICS\Pages::record, WP_STATISTICS\Pages::save_page
WordPress database error Unknown column ‘user_id’ in ‘field list’ for query INSERT INTOwp1834_statistics_useronline
(ip
,timestamp
,created
,date
,referred
,agent
,platform
,version
,location
,user_id
,page_id
,type
) VALUES (‘47.144.128.165’, ‘1670833519’, ‘1670833519’, ‘2022-12-12 08:25:19’, ‘https://mywebsite.com’, ‘Chrome’, ‘Windows’, ‘10.0’, ‘000’, 0, ‘1991’, ‘post’) made by require(‘wp-blog-header.php’), wp, WP->main, do_action_ref_array(‘wp’), WP_Hook->do_action, WP_Hook->apply_filters, WP_STATISTICS\Hits->record_wp_hits, WP_STATISTICS\Hits::record, WP_STATISTICS\UserOnline::record, WP_STATISTICS\UserOnline::add_user_online`
- The topic ‘update to PHP7 WP_Statistics causes page break on iPad’ is closed to new replies.