Title: PHP Warning: Undefined array key &#8220;eihe_align&#8221;
Last modified: February 18, 2025

---

# PHP Warning: Undefined array key “eihe_align”

 *  [raptor_00](https://wordpress.org/support/users/raptor_00/)
 * (@raptor_00)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-eihe_align/)
 * PHP Warning: Undefined array key “eihe_align” in /home/website/public_html/wp-
   content/plugins/image-hover-effects-addon-for-elementor/includes/widgets.php 
   on line 489

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

 *  Thread Starter [raptor_00](https://wordpress.org/support/users/raptor_00/)
 * (@raptor_00)
 * [1 year, 6 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-eihe_align/#post-18097712)
 * I had to uninstall it, nobody answers here.
 *  [bredaportoni](https://wordpress.org/support/users/bredaportoni/)
 * (@bredaportoni)
 * [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-eihe_align/#post-18191442)
 * Solved by modifying the file `/includes/widget.php`, line 487, from this:
 * `<?php } $this->add_render_attribute('eihe_box', ['class' => ['eihe-box', esc_attr(
   $settings['eihe_effect']), 'eihe_' . esc_attr($settings['eihe_align'])]]); ?>`
 * To this:
 * `<?php } $this->add_render_attribute('eihe_box', [ 'class' => [ 'eihe-box', esc_attr(
   $settings['eihe_effect']), 'eihe_' . esc_attr(isset($settings['eihe_align']) ?
   $settings['eihe_align'] : 'default_value') // Use a fallback value ] ]); ?>`

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

The topic ‘PHP Warning: Undefined array key “eihe_align”’ is closed to new replies.

 * ![](https://ps.w.org/image-hover-effects-addon-for-elementor/assets/icon-128x128.
   png?rev=2139399)
 * [Image Hover Effects - Elementor Addon](https://wordpress.org/plugins/image-hover-effects-addon-for-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/image-hover-effects-addon-for-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/image-hover-effects-addon-for-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/image-hover-effects-addon-for-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/image-hover-effects-addon-for-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/image-hover-effects-addon-for-elementor/reviews/)

 * 2 replies
 * 4 participants
 * Last reply from: [bredaportoni](https://wordpress.org/support/users/bredaportoni/)
 * Last activity: [1 year, 5 months ago](https://wordpress.org/support/topic/php-warning-undefined-array-key-eihe_align/#post-18191442)
 * Status: not resolved