Title: Error when activating the plugin
Last modified: November 17, 2021

---

# Error when activating the plugin

 *  Resolved [dexdeckers](https://wordpress.org/support/users/dexdeckersgmailcom/)
 * (@dexdeckersgmailcom)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-18/)
 * I am running WordPress 5.7.4 currently.
    When activating the plugin, my website
   breaks andI get this error detail per email:
 * Error Details
    ============= An error of type E_ERROR was caused in line 1855
   of the file /var/www/investorpromo.com/www/wp-content/plugins/domain-mapping-
   system/includes/dms.class.php. Error message: Uncaught ArgumentCountError: Too
   few arguments to function DMS::rewriteAdminUrlStatic(), 3 passed in /var/www/
   investorpromo.com/www/wp-includes/class-wp-hook.php on line 292 and exactly 4
   expected in /var/www/investorpromo.com/www/wp-content/plugins/domain-mapping-
   system/includes/dms.class.php:1855 Stack trace: #0 /var/www/investorpromo.com/
   www/wp-includes/class-wp-hook.php(292): DMS::rewriteAdminUrlStatic() #1 /var/
   www/investorpromo.com/www/wp-includes/plugin.php(212): WP_Hook->apply_filters()#
   2 /var/www/investorpromo.com/www/wp-includes/link-template.php(3407): apply_filters()#
   3 /var/www/investorpromo.com/www/wp-includes/link-template.php(3376): get_admin_url()#
   4 /var/www/investorpromo.com/www/wp-content/plugins/wordpress-seo/admin/class-
   product-upsell-notice.php(161): admin_url() #5 /var/www/investorpromo.com/www/
   wp-content/plugins/wordpress-seo/admin/class-product-upsell-notice.php(117): 
   WPSEO_Product_Upsell_Notice->get_notification() #6 /var/www/investorpromo.com/
   www/wp-content/plugins/wordpress-seo/a
 * EDIT: upgrading to 5.8.2 solves the issue. So just an FYI it is not compatible
   with 5.7.4
    -  This topic was modified 4 years, 6 months ago by [dexdeckers](https://wordpress.org/support/users/dexdeckersgmailcom/).

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

 *  [Brandon Ernst](https://wordpress.org/support/users/brandonfire/)
 * (@brandonfire)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-18/#post-15076174)
 * [@dexdeckersgmailcom](https://wordpress.org/support/users/dexdeckersgmailcom/)
   thanks so much for reaching out and I’m sorry for the issue you were experiencing.
   I appreciate you sharing the details and appreciate even more the edit you provided
   🙂
 * We’ll take note of the incompatibility with 5.7.4 moving forward, but we likely
   won’t dedicate any resources to resolving it, as it’s not the latest version 
   of WordPress.
 * If you have any questions about the plugin moving forward, please always feel
   free to post here or contact us at [support@gauchoplugins.com](https://wordpress.org/support/topic/error-when-activating-the-plugin-18/support@gauchoplugins.com?output_format=md).
   I’m glad the issue was easily resolved, and we look forward to hearing from you
   in the future.
 *  Thread Starter [dexdeckers](https://wordpress.org/support/users/dexdeckersgmailcom/)
 * (@dexdeckersgmailcom)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-18/#post-15076313)
 * Thanks for your swift reply 🙂

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

The topic ‘Error when activating the plugin’ is closed to new replies.

 * ![](https://ps.w.org/domain-mapping-system/assets/icon-256x256.png?rev=3073580)
 * [Domain Mapping System | Create Microsites with Multiple Alias Domains (multisite optional)](https://wordpress.org/plugins/domain-mapping-system/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/domain-mapping-system/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/domain-mapping-system/)
 * [Active Topics](https://wordpress.org/support/plugin/domain-mapping-system/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/domain-mapping-system/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/domain-mapping-system/reviews/)

## Tags

 * [domain mapping](https://wordpress.org/support/topic-tag/domain-mapping/)
 * [plugin conflict](https://wordpress.org/support/topic-tag/plugin-conflict/)
 * [resolved](https://wordpress.org/support/topic-tag/resolved/)

 * 2 replies
 * 2 participants
 * Last reply from: [dexdeckers](https://wordpress.org/support/users/dexdeckersgmailcom/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/error-when-activating-the-plugin-18/#post-15076313)
 * Status: resolved