Title: PHP Error in Header: PHP8 compatible?
Last modified: June 9, 2021

---

# PHP Error in Header: PHP8 compatible?

 *  Resolved [berkux](https://wordpress.org/support/users/berkux/)
 * (@berkux)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/php-error-in-header-php8-compatible/)
 * Hi,
 * I tried your plugin and got this in the header
    `Deprecated: Required parameter
   $term_id follows optional parameter $term_count in /www/htdocs/kuxhp/wptest/wp-
   content/plugins/betterdocs/public/betterdocs-shortcodes.php on line 16`
 * Maybe the reason is PHP 8.0.1 there?
 * Bernhard

Viewing 1 replies (of 1 total)

 *  Plugin Support [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * (@abidhasan112)
 * [4 years, 12 months ago](https://wordpress.org/support/topic/php-error-in-header-php8-compatible/#post-14540063)
 * Hi [@berkux](https://wordpress.org/support/users/berkux/) ,
 * Sorry for the inconvenience.
    Thanks for pointing this out. Our dev team fixed
   this issue today in one of the dev branch which will be released in next update.
 * For the time being, you can download and install this dev version from here to
   resolve this issue: [https://d.pr/f/Lcf7F0](https://d.pr/f/Lcf7F0)
 * Thank you!

Viewing 1 replies (of 1 total)

The topic ‘PHP Error in Header: PHP8 compatible?’ is closed to new replies.

 * ![](https://ps.w.org/betterdocs/assets/icon-256x256.png?rev=2953105)
 * [BetterDocs – Knowledge Base Docs & FAQ Solution for Elementor & Block Editor](https://wordpress.org/plugins/betterdocs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/betterdocs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/betterdocs/)
 * [Active Topics](https://wordpress.org/support/plugin/betterdocs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/betterdocs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/betterdocs/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Abid Hasan](https://wordpress.org/support/users/abidhasan112/)
 * Last activity: [4 years, 12 months ago](https://wordpress.org/support/topic/php-error-in-header-php8-compatible/#post-14540063)
 * Status: resolved