I am getting this error on this page: http://3a8.c8c.myftpupload.com/category/portfolio/
This is the error: Warning: Division by zero in /home/content/p3nexnas05_data01/98/2124598/html/wp-content/plugins/genesis-grid-loop/plugin.php on line 251
The page is displaying the way I want it to, but the warning is appearing at the bottom of the page.
Line 251 of the plugin mentioned in the warning looks like this:
$max = ceil ( ( $wp_query->found_posts - $grid_args['features_on_front'] - $grid_args['teasers_on_front'] ) / ( $grid_args['features_inside'] + $grid_args['teasers_inside'] ) ) + 1;
$wp_query->max_num_pages = $max;
I have the theme set to display 12 posts. I am using the Genesis Studiopress Modern Portfolio Pro child theme.
Can anyone help me? I have put in a support note with the plugin developer here: http://wordpress.org/support/plugin/genesis-grid-loop But haven't heard anything yet. Appreciate your help! Thanks!