Title: PHP Warning in PHP 8.1
Last modified: November 29, 2023

---

# PHP Warning in PHP 8.1

 *  Resolved [amirhossein7](https://wordpress.org/support/users/amirhossein7/)
 * (@amirhossein7)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-in-php-8-1/)
 * My site works with **PHP 8.1**. I have a lot of this warning message in my site’s
   error log.
 *     ```wp-block-code
       PHP Warning:  Undefined variable $label_below_html in /public_html/wp-content/plugins/easy-table-of-contents/includes/class.post.php on line 1458
       ```
   

Viewing 1 replies (of 1 total)

 *  Plugin Author [Magazine3](https://wordpress.org/support/users/magazine3/)
 * (@magazine3)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-in-php-8-1/#post-17240950)
 * Hi, thanks for reaching out to us. We’ve released a new update,** version 2.0.59**,
   in which we’ve fixed this error. Kindly clear the cache from everywhere, update
   the plugin, and retry. Please let us know if the issue persists.

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning in PHP 8.1’ is closed to new replies.

 * ![](https://ps.w.org/easy-table-of-contents/assets/icon-256x256.png?rev=3045459)
 * [Easy Table of Contents](https://wordpress.org/plugins/easy-table-of-contents/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-table-of-contents/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-table-of-contents/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-table-of-contents/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-table-of-contents/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-table-of-contents/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Magazine3](https://wordpress.org/support/users/magazine3/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/php-warning-in-php-8-1/#post-17240950)
 * Status: resolved