Solo-Wavo主题PHP7报错修改

Warning: A non-numeric value encountered 
in wp-content\themes\solowavo\functions\wavo.php on line 610

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