Error when activating the plugin
-
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/aEDIT: upgrading to 5.8.2 solves the issue. So just an FYI it is not compatible with 5.7.4
- The topic ‘Error when activating the plugin’ is closed to new replies.