Title: Deprecated PHP (not compatible with PHP 8)
Last modified: January 6, 2022

---

# Deprecated PHP (not compatible with PHP 8)

 *  Resolved [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/)
 * `PHP Deprecated: Method ReflectionParameter::getClass() is deprecated in /path/
   to/wordpress/wp-content/plugins/wp-typography/vendor-scoped/level-2/dice/Dice.
   php on line 184`
 * I discovered this when using the search form caused a fatal error. Disabling 
   the plugin made the error go away. But weirdly, re-enabling it doesn’t repeat
   the error, possibly due to caching?
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdeprecated-php-not-compatible-with-php-8%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/#post-15225428)
 * To follow up, the plugin triggered a fatal error on the homepage. I disabled 
   it and the error resolved.
 * I’d say this is a critical bug & should be addressed ASAP.
 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/#post-15226339)
 * I traced the fatal error to a PHP typo in my functions.php, so the plugin is 
   not at fault. Nonetheless it _does_ log a deprecation error for PHP8, which is
   not trivial. I’m not yet marking this closed for that reason.
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/#post-15246436)
 * The plugin has not been updated for PHP8 yet (mainly due to pandemic exhaustion).
   The warning is an easy dependency upgrade, but I also need to verify the underlying
   library and I haven’t gotten around to that yet.
 * (Also, mail notifications are broken again. Sorry for the delayed response.)
 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [4 years, 5 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/#post-15246575)
 * Thanks. Leaving this open but as of now, it’s not really a support request — 
   more of an open issue. No need to reply except to mark the fix has happened.
 *  Plugin Author [pepe](https://wordpress.org/support/users/pputzer/)
 * (@pputzer)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/#post-15286392)
 * The deprecations will be fixed in 5.8.0.
 *  Thread Starter [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * (@seezee)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/#post-15289307)
 * Thanks for keeping me updated on this.

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

The topic ‘Deprecated PHP (not compatible with PHP 8)’ is closed to new replies.

 * ![](https://ps.w.org/wp-typography/assets/icon.svg?rev=2663995)
 * [wp-Typography](https://wordpress.org/plugins/wp-typography/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-typography/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-typography/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-typography/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-typography/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-typography/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Chris J. Zähller](https://wordpress.org/support/users/seezee/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/deprecated-php-not-compatible-with-php-8/#post-15289307)
 * Status: resolved