Title: Warning with PHP 7.2
Last modified: January 30, 2020

---

# Warning with PHP 7.2

 *  Resolved [Julian Weiland](https://wordpress.org/support/users/derweili/)
 * (@derweili)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-with-php-7-2/)
 * Following Warning comes up when using this plugin with PHP 7.2:
 * `Warning: Use of undefined constant KATEX__OPTION_DEFAULT_ENBABLE_LATEX_SHORTCODE-
   assumed 'KATEX__OPTION_DEFAULT_ENBABLE_LATEX_SHORTCODE' (this will throw an Error
   in a future version of PHP) in /var/www/html/wordpress/wp-content/plugins/katex/
   scripts/shortcode.php on line 24`

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tom Churchman](https://wordpress.org/support/users/beskhue/)
 * (@beskhue)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/warning-with-php-7-2/#post-12431822)
 * Thanks for the report!
 * This is fixed in version 2.0.0.

Viewing 1 replies (of 1 total)

The topic ‘Warning with PHP 7.2’ is closed to new replies.

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

## Tags

 * [php](https://wordpress.org/support/topic-tag/php/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tom Churchman](https://wordpress.org/support/users/beskhue/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/warning-with-php-7-2/#post-12431822)
 * Status: resolved