Title: Warning: Undefined array key &#8220;name&#8221;
Last modified: February 25, 2026

---

# Warning: Undefined array key “name”

 *  [mountbatt](https://wordpress.org/support/users/mountbatt/)
 * (@mountbatt)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/warning-undefined-array-key-name/)
 * Hi, i am using the latest Elementor Version 3.35.5 (+ Pro Version 3.35.1) and
   latest WordPress 6.9.1 and today i am getting this error on top of the “Plugins”
   Page in WordPress Admin:
 *     ```wp-block-code
       Warning: Undefined array key "name" in /home/httpd/vhosts/mywebsite.io/mywebsite.com/wp-includes/class-wp-plugin-dependencies.php on line 716 Warning: Cannot modify header information - headers already sent by (output started at /home/httpd/vhosts/mywebsite.io/mywebsite.com/wp-includes/class-wp-plugin-dependencies.php:716) in /home/httpd/vhosts/mywebsite.io/mywebsite.com/wp-admin/admin-header.php on line 14
       ```
   
 * And also in the Plugin Card on that page:
 * ![](https://i0.wp.com/i.imgur.com/lqIDtLH.png?ssl=1)
    -  This topic was modified 3 months, 1 week ago by [mountbatt](https://wordpress.org/support/users/mountbatt/).

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

 *  Plugin Contributor [CoolHappy](https://wordpress.org/support/users/narinder-singh/)
 * (@narinder-singh)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/warning-undefined-array-key-name/#post-18837919)
 * Hi@mountbatt ,
   Thank you for the clarification.This may be related to the fact
   that installed plugin slug is `**polylang-pro**`, while the dependency in Connect
   Polylang for Elementor is declared as:
 * **Requires Plugins: polylang, elementor**
 * Since WordPress checks dependencies **strictly **by plugin **slug**, if it looks
   for `polylang` but the installed plugin is registered as `polylang-pro`, the 
   dependency data may not resolve correctly. In some cases, this can trigger the**“
   Undefined array key ‘name’”** warning on the Plugins page.
   As a first test, please
   try modifying the dependency line so that it only** keeps Elementor** and **removes
   Polylang**, like this:
 * **Requires Plugins: elementor**
 * Then refresh the Plugins page and check whether the warning still appears.
   This
   change will not affect functionality, as the plugin already performs its own 
   runtime checks for required plugins.Additionally, could you please share:Your
   PHP version
    - Whether `WP_DEBUG` is enabled
    - Site Health → Info details
 * This will help us investigate the issue more thoroughly on our end.
 * Thanks!
 *  Thread Starter [mountbatt](https://wordpress.org/support/users/mountbatt/)
 * (@mountbatt)
 * [3 months, 1 week ago](https://wordpress.org/support/topic/warning-undefined-array-key-name/#post-18837993)
 * Hi!
 * Thanks for your reply! 
   I checked the `connect-polylang-elementor.php` file and
   renamed `polylang` to `polylang-pro` but the error message still appears. If 
   I remove `polylang` from the `Requires Plugins` part, it works.
 * I use Polylang Pro 3.7.3
 * PHP is 8.3.21

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

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwarning-undefined-array-key-name%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/connect-polylang-elementor/assets/icon-256x256.png?rev=2676314)
 * [Connect Polylang for Elementor](https://wordpress.org/plugins/connect-polylang-elementor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/connect-polylang-elementor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/connect-polylang-elementor/)
 * [Active Topics](https://wordpress.org/support/plugin/connect-polylang-elementor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/connect-polylang-elementor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/connect-polylang-elementor/reviews/)

## Tags

 * [header](https://wordpress.org/support/topic-tag/header/)

 * 2 replies
 * 2 participants
 * Last reply from: [mountbatt](https://wordpress.org/support/users/mountbatt/)
 * Last activity: [3 months, 1 week ago](https://wordpress.org/support/topic/warning-undefined-array-key-name/#post-18837993)
 * Status: not resolved