Title: PHP error
Last modified: July 15, 2024

---

# PHP error

 *  Resolved [aimutch](https://wordpress.org/support/users/aimutch/)
 * (@aimutch)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/php-error-658/)
 * When I have WP debugging enabled, I’m seeing this error consistently.
 * PHP Parse error: syntax error, unexpected ‘|’, expecting variable (T_VARIABLE)
   in C:\inetpub\wwwroot\wp\wp-content\plugins\next-active-directory-integration\
   vendor-repackaged\psr\log\src\LoggerInterface.php on line 30
 * This is on WP 6.5.5 with NADI 3.15 installed on PHP 8.2.0.

Viewing 1 replies (of 1 total)

 *  Plugin Author [schakko](https://wordpress.org/support/users/schakko/)
 * (@schakko)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/php-error-658/#post-17931028)
 * NADI requires PHP 8.1. The error you are describing means that your PHP version
   does not support Union Types. I assume that your IIS site has not been assigned
   with PHP 8.2.x but with an PHP version < 8.x.

Viewing 1 replies (of 1 total)

The topic ‘PHP error’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [schakko](https://wordpress.org/support/users/schakko/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/php-error-658/#post-17931028)
 * Status: resolved