I'm getting a tiny warning in the index admin page
admin/config/search/search_api/index/default_index

Warning: Division by zero in theme_search_api_index() (line 966

I've narrowed down the problem and it seems it's coming out because my website doesn't have any content yet and the status percentage is calculated without any check on $total_items (that could be zero).

Issue fork search_api-2227043

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

kladrian’s picture

I've created a little patch for that.

drunken monkey’s picture

Status: Active » Closed (duplicate)

Was already fixed in #1227702: Improve error handling.