Title: Deprecated: html_entity_decode() when using shortcode
Last modified: July 4, 2024

---

# Deprecated: html_entity_decode() when using shortcode

 *  Resolved [QinisoM](https://wordpress.org/support/users/qinisom/)
 * (@qinisom)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/)
 * Deprecated: html_entity_decode(): Passing null to parameter #1 ($string) of type
   string is deprecated in includes/template-functions.php on line 359
 * The function `ewd_ufaq_decode_infinite_table_setting` is not checking if $values
   is null, hence the return expression is triggering a warning.

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

 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-17871190)
 * Thanks for letting us know. Which version of PHP are you using?
 *  [corydavidwilliam](https://wordpress.org/support/users/corydavidwilliam/)
 * (@corydavidwilliam)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-18038783)
 * Did this get resolved? We are also receiving this warning
 * **Deprecated**: html_entity_decode(): Passing null to parameter #1 ($string) 
   of type string is deprecated in **/wp-content/plugins/ultimate-faqs/includes/
   template-functions.php** on line **354**
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-18039544)
 * Thanks for letting us know. Which version of PHP are you using?
 *  [corydavidwilliam](https://wordpress.org/support/users/corydavidwilliam/)
 * (@corydavidwilliam)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-18041063)
 * 8.3.11
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-18041780)
 * Thank you for providing that information.
 * WordPress itself isn’t yet fully compatible with anything higher than 8.2 ([https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/](https://make.wordpress.org/core/handbook/references/php-compatibility-and-wordpress-versions/)).
 * That being said, we will definitely address any such notices in a future update
   as newer WordPress versions with PHP 8.3 compatibility get closer to release 
   date.
 * If any such notices are appearing on the front end of your website, you can set
   WP_DEBUG_DISPLAY to false in your wp-config.php file to prevent them from showing
   on your website, if that would help.
 *  [charlottezweb](https://wordpress.org/support/users/charlottezweb/)
 * (@charlottezweb)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-18163084)
 * Was this resolved? I’m getting it after moving from PHP 7.4 to 8.1.
 * Update: Downgrading to 8.0 fixed it.
 * Thanks
    -  This reply was modified 1 year, 6 months ago by [charlottezweb](https://wordpress.org/support/users/charlottezweb/).
 *  Plugin Support [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * (@jaysupport)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-18167927)
 * Hi charlottezweb,
 * Thanks for letting us know about getting it with PHP 8.1. That should not be 
   the case. We’ll test that and, if necessary, eliminate the issue/notice in one
   of our next updates.

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

The topic ‘Deprecated: html_entity_decode() when using shortcode’ is closed to new
replies.

 * ![](https://ps.w.org/ultimate-faqs/assets/icon-128x128.png?rev=1803957)
 * [Ultimate FAQ Accordion Plugin](https://wordpress.org/plugins/ultimate-faqs/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-faqs/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-faqs/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-faqs/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-faqs/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-faqs/reviews/)

 * 7 replies
 * 4 participants
 * Last reply from: [jaysupport](https://wordpress.org/support/users/jaysupport/)
 * Last activity: [1 year, 6 months ago](https://wordpress.org/support/topic/deprecated-html_entity_decode-when-using-shortcode/#post-18167927)
 * Status: resolved