NeosIT / active-directory-integration2

WordPress plug-in "Next Active Directory Integration"
https://https://wordpress.org/plugins/next-active-directory-integration/
GNU General Public License v3.0
54 stars 25 forks source link

Incompatibility with WP-Rocket due to different monolog versions #169

Closed schakko closed 1 year ago

schakko commented 1 year ago

NADI does can not be enabled if WP-Rocket is already activated. This comes because we are using an older interface definition of PSR-4/Log.

protected function write(array $record) {

has to be changed to

protected function write(array $record): void {

With upgrading to WP-Rocket 2.8.0, each reference to Logger::warn has to be replaced with Logger::warning.

The issue has been mentioned at https://wordpress.org/support/topic/problem-with-wp-rocket-9/.

schakko commented 1 year ago

Due to some dependencies, PHP 8.0 is required (#170).