• mountbatt

    (@mountbatt)


    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:

    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:

    • This topic was modified 1 month ago by mountbatt.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor CoolHappy

    (@narinder-singh)

    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

    (@mountbatt)

    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 to reply to this topic.