Title: assert fails on fields.php
Last modified: January 11, 2020

---

# assert fails on fields.php

 *  Resolved [sa12m123](https://wordpress.org/support/users/sa12m123/)
 * (@sa12m123)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/assert-fails-on-fields-php/)
 * I attempted to activate the plugin but experienced the below error. An guidance
   will be appreciated.
 * Warning: assert(): assert(isset($count) && isset($protocol) && isset($host) &&
   isset($base) && isset($langField)) failed in /home/-/public_html/wp-content/plugins/
   multiple-domain/views/fields.php on line 6

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/assert-fails-on-fields-php/#post-12315140)
 * Hello,
 * Could you provide the following details?
 * – PHP and WordPress version you’re running;
    – Process used to install the plugin(
   WP Admin, directly upload, wp-cli, …);
 * Regards
 *  Thread Starter [sa12m123](https://wordpress.org/support/users/sa12m123/)
 * (@sa12m123)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/assert-fails-on-fields-php/#post-12315217)
 * Hi,
 * The versions are:
    PHP version: 7.3(7.2.7) WordPress version: 5.2.5
 * I installed the plugin via the WordPress Dashboard>>Add Plugins
    Then I search(
   Multiple Domain) >> Install Now
 *  Thread Starter [sa12m123](https://wordpress.org/support/users/sa12m123/)
 * (@sa12m123)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/assert-fails-on-fields-php/#post-12333139)
 * Hi,
 * I would like to use this plugin but currently experiencing error:
    Warning: assert():
   assert(isset($count) && isset($protocol) && isset($host) && isset($base) && isset(
   $langField)) failed in /home/-/public_html/wp-content/plugins/multiple-domain/
   views/fields.php on line 6
 * The versions are:
    PHP version: 7.3(7.2.7) WordPress version: 5.2.5
 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/assert-fails-on-fields-php/#post-12333261)
 * Hello,
 * I couldn’t reproduce this issue. I just activated the plugin on a fresh WordPress
   5.2.5 installation and it worked as expected. I’m not sure what is causing the
   issue for you.
 * Did the error show up while the plugin was being activated or after activating
   it? When exactly it appeared?
    -  This reply was modified 6 years, 4 months ago by [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/).
 *  Plugin Contributor [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * (@gustavostraube)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/assert-fails-on-fields-php/#post-12365189)
 * Hello,
 * I finally found a way to reproduce the issue. Please update your plugin installation
   to the latest version, 1.0.4.
 * Let me know if you find any other issues.
 * Best

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘assert fails on fields.php’ is closed to new replies.

 * ![](https://ps.w.org/multiple-domain/assets/icon-256x256.png?rev=2502840)
 * [Multiple Domain](https://wordpress.org/plugins/multiple-domain/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/multiple-domain/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/multiple-domain/)
 * [Active Topics](https://wordpress.org/support/plugin/multiple-domain/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/multiple-domain/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/multiple-domain/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Gustavo Straube](https://wordpress.org/support/users/gustavostraube/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/assert-fails-on-fields-php/#post-12365189)
 * Status: resolved