Title: PHP 8.1 Warnings &#8211; Undefined array keys
Last modified: August 15, 2024

---

# PHP 8.1 Warnings – Undefined array keys

 *  [lblweb](https://wordpress.org/support/users/lblweb/)
 * (@lblweb)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-8-1-warnings-undefined-array-keys/)
 * Using this plugin with PHP 8.1 throws many PHP Warnings in the error log every
   time you refresh a page containing the feed. Here are some examples:
 *     ```wp-block-code
       [15-Aug-2024 21:41:29 UTC] PHP Warning:  Undefined property: stdClass::$description in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/views/templates/template-fullwidth.php on line 456[15-Aug-2024 21:41:30 UTC] PHP Warning:  Undefined array key "wraper_background_color" in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php on line 58[15-Aug-2024 21:41:30 UTC] PHP Warning:  Undefined array key "nav_color" in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php on line 86[15-Aug-2024 21:41:30 UTC] PHP Warning:  Undefined array key "nav_active_color" in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php on line 94[15-Aug-2024 21:41:30 UTC] PHP Warning:  Undefined array key "load_more_background_color" in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php on line 102[15-Aug-2024 21:41:30 UTC] PHP Warning:  Undefined array key "load_more_color" in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php on line 104[15-Aug-2024 21:41:30 UTC] PHP Warning:  Undefined array key "load_more_hover_background_color" in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php on line 112[15-Aug-2024 21:41:30 UTC] PHP Warning:  Undefined array key "load_more_hover_color" in /home/html/public_html/wp-content/plugins/easy-facebook-likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.php on line 114
       ```
   
 * Will there be an update to this plugin to resolve this issue?
 * I had to add the code below to the plugin files to prevent my error log from 
   getting too big:
 *     ```wp-block-code
       error_reporting(E_ALL & ~E_WARNING);
       ```
   

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

 *  [DickRaney](https://wordpress.org/support/users/dickraney/)
 * (@dickraney)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-8-1-warnings-undefined-array-keys/#post-17957925)
 * I am getting a similar warning:
 * AH01071: Got error ‘PHP message: PHP Warning: Undefined property: stdClass::$
   title in /var/www/vhosts/thewebsite.com/httpdocs/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/views/templates/template-fullwidth.php on line 234’
 *  [garryheath](https://wordpress.org/support/users/garryheath/)
 * (@garryheath)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/php-8-1-warnings-undefined-array-keys/#post-17983561)
 * Same issue here, filling up the error logs. is there a solution coming?
 * AH01071: Got error ‘; PHP message: PHP Warning: Undefined array key “feed_type_icon_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 279; PHP message: PHP Warning: Undefined array key “feed_meta_buttons_bg_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 287; PHP message: PHP Warning: Undefined array key “feed_meta_buttons_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 289; PHP message: PHP Warning: Undefined array key “feed_meta_buttons_hover_bg_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 297; PHP message: PHP Warning: Undefined array key “feed_meta_buttons_hover_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 299; PHP message: PHP Warning: Undefined array key “popup_sidebar_bg”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 312; PHP message: PHP Warning: Undefined array key “popup_sidebar_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 320; PHP message: PHP Warning: Undefined array key “popup_header_title_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 348; PHP message: PHP Warning: Undefined array key “popup_post_time_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 356; PHP message: PHP Warning: Undefined array key “popup_meta_border_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 378; PHP message: PHP Warning: Undefined array key “popup_meta_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 386; PHP message: PHP Warning: Undefined array key “popup_comments_color”
   in /var/www/vhosts/websitename.org/websitename.org/wp-content/plugins/easy-facebook-
   likebox/facebook/frontend/assets/css/easy-facebook-likebox-customizer-style.css.
   php on line 435’
 *  [4harry4444](https://wordpress.org/support/users/4harry4444/)
 * (@4harry4444)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-8-1-warnings-undefined-array-keys/#post-18030141)
 * Same on my page – error visible on frontend when logged into wordpress:
 * `**Warning**: Undefined array key "username" in **/home/virtualki/248153/wp-content/
   plugins/easy-facebook-likebox/facebook/frontend/easy-facebook-likebox.php** on
   line **444**`
 * Do You know any free alternatives to display facebook posts with images?
    -  This reply was modified 1 year, 8 months ago by [4harry4444](https://wordpress.org/support/users/4harry4444/).
    -  This reply was modified 1 year, 8 months ago by [4harry4444](https://wordpress.org/support/users/4harry4444/).

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

The topic ‘PHP 8.1 Warnings – Undefined array keys’ is closed to new replies.

 * ![](https://ps.w.org/easy-facebook-likebox/assets/icon-128x128.png?rev=2476598)
 * [Easy Social Feed - Social Photos Gallery and Post Feed for WordPress](https://wordpress.org/plugins/easy-facebook-likebox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/easy-facebook-likebox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/easy-facebook-likebox/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-facebook-likebox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-facebook-likebox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-facebook-likebox/reviews/)

## Tags

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

 * 3 replies
 * 4 participants
 * Last reply from: [4harry4444](https://wordpress.org/support/users/4harry4444/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/php-8-1-warnings-undefined-array-keys/#post-18030141)
 * Status: not resolved