slome主题PHP7报错修改

Warning: Use of undefined constant flase - assumed 'flase' 
(this will throw an Error in a future version of PHP) 
in wordpress\wp-content\themes\solome\options.php on line 173

'std' => flase,
拼写错误false写成了flase,所以改成
'std' => false,
Warning: A non-numeric value encountered 
in wordpress\wp-content\themes\solome\functions-s.php on line 489

$page = get_query_var('cpage')-1;
$cpp=get_option('comments_per_page');
$commentcount = intval($cpp) * intval($page);
改为
$page = get_query_var(intval('cpage')-1);
$cpp=get_option('comments_per_page');
$commentcount = intval($cpp) * intval($page);