Title: Activate Plugin breaks WordPress
Last modified: July 31, 2024

---

# Activate Plugin breaks WordPress

 *  Resolved [itsenaf](https://wordpress.org/support/users/gamerz36/)
 * (@gamerz36)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/activate-plugin-breaks-wordpress/)
 * Dear Developer,
 * just wanted to take a look at your plugin, but was not able to make it work.
   
   As soon as I enable the plugin, wordpress instance crash and send critical error
   mail and suggests recovery mode. Remove plugin manually will fix it.
 * Windows Server 2022 – IIS – PHP 8.3.8 – WordPress 6.5.5
 * Error occured type E_ERROR found in line 231 of file C:\inetpub\wwwroot\intranet\
   wp-content\plugins\next-active-directory-integration\vendor-repackaged\monolog\
   monolog\src\Monolog\Logger.php. Errormessage: Uncaught TypeError: Dreitier\Nadi\
   Vendor\Monolog\Logger::pushHandler(): Argument #1 ($handler) must be of type 
   Dreitier\Nadi\Vendor\Monolog\Handler\HandlerInterface, Monolog\Handler\StreamHandler
   given, called in C:\inetpub\wwwroot\intranet\wp-content\themes\cera\libs\merlin\
   includes\class-merlin-logger.php on line 87 and defined in C:\inetpub\wwwroot\
   intranet\wp-content\plugins\next-active-directory-integration\vendor-repackaged\
   monolog\monolog\src\Monolog\Logger.php:231
 * As your plugin sounds quite useful, I would be very happy when you take a look
   into this issue 🙂

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

 *  Plugin Author [schakko](https://wordpress.org/support/users/schakko/)
 * (@schakko)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/activate-plugin-breaks-wordpress/#post-17931043)
 * Hey there, please take a look into [https://wordpress.org/support/topic/locked-configuration-screen/](https://wordpress.org/support/topic/locked-configuration-screen/)–
   the reason for your described error is almost the same.
 * Your cera theme does not repackage Monolog in its own namespace. We are doing
   this since NADI version 3.0. To keep our plug-in compatible, there is a stub.
   
   You can remove our Monolog stub by commenting out the line 40 (`require_once **
   DIR** . '/monolog_logger.php';`) in `next-active-directory-integration/src/compat-
   v2/stubs.php`. For some reason in your environment the loading of the theme dependency
   occurs to a later point in time.
 *  Thread Starter [itsenaf](https://wordpress.org/support/users/gamerz36/)
 * (@gamerz36)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/activate-plugin-breaks-wordpress/#post-17933895)
 * Thank you very much! Problem fixed.

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

The topic ‘Activate Plugin breaks WordPress’ is closed to new replies.

 * ![](https://ps.w.org/next-active-directory-integration/assets/icon-256x256.png?
   rev=2517660)
 * [Next Active Directory Integration](https://wordpress.org/plugins/next-active-directory-integration/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/next-active-directory-integration/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/next-active-directory-integration/)
 * [Active Topics](https://wordpress.org/support/plugin/next-active-directory-integration/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/next-active-directory-integration/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/next-active-directory-integration/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [itsenaf](https://wordpress.org/support/users/gamerz36/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/activate-plugin-breaks-wordpress/#post-17933895)
 * Status: resolved