Title: Install issue
Last modified: October 12, 2021

---

# Install issue

 *  Resolved [Artem P.](https://wordpress.org/support/users/madeinua/)
 * (@madeinua)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/install-issue-9/)
 * Hi,
 * The function relevanssi_create_database_tables() has a problem:
    – the incoming
   parameter $relevanssi_db_version is always integer – the function get_option(‘
   relevanssi_db_version’ ) always returns a string – as the result the check $current_db_version
   === $relevanssi_db_version will never be true
 * 6 === ‘6’ in my case.
 * I guess this need to be updated to:
 * `$current_db_version = (int) get_option( 'relevanssi_db_version' );`
 * Thanks

Viewing 1 replies (of 1 total)

 *  Plugin Author [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * (@msaari)
 * [4 years, 8 months ago](https://wordpress.org/support/topic/install-issue-9/#post-14962755)
 * Good catch. I’ll fix this in the next version.

Viewing 1 replies (of 1 total)

The topic ‘Install issue’ is closed to new replies.

 * ![](https://ps.w.org/relevanssi/assets/icon-256x256.png?rev=3529670)
 * [Relevanssi - A Better Search](https://wordpress.org/plugins/relevanssi/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/relevanssi/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/relevanssi/)
 * [Active Topics](https://wordpress.org/support/plugin/relevanssi/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/relevanssi/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/relevanssi/reviews/)

## Tags

 * [Install](https://wordpress.org/support/topic-tag/install/)

 * 1 reply
 * 2 participants
 * Last reply from: [Mikko Saari](https://wordpress.org/support/users/msaari/)
 * Last activity: [4 years, 8 months ago](https://wordpress.org/support/topic/install-issue-9/#post-14962755)
 * Status: resolved