• Dear support team,

    on top of non-admin profile pages, I get:

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/elementor/core/app/app.php on line 53

    Warning: Invalid argument supplied for foreach() in …/wp-admin/includes/plugin.php on line 1904

    Admin profile doesn‘t show the warnings.

    All latest WP, theme & plug-in updates and PHP 7.4 are running, site works fine.

    What would you suggest?

    Best regards

    Michael

    • This topic was modified 4 years, 2 months ago by Michael.
Viewing 6 replies - 1 through 6 (of 6 total)
  • We get something like that to:

    Warning: Invalid argument supplied for foreach() in …/wp-content/plugins/elementor/core/app/app.php on line 53

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/elementor/core/app/app.php:53) in …/public_html/wp-includes/functions.php on line 6270

    Warning: Cannot modify header information – headers already sent by (output started at …/public_html/wp-content/plugins/elementor/core/app/app.php:53) in /var/www/leonharddenmark.dk/public_html/wp-includes/pluggable.php on line 1296

    Warning: Cannot modify header information – headers already sent by (output started at …/wp-content/plugins/elementor/core/app/app.php:53) in /var/www/leonharddenmark.dk/public_html/wp-includes/pluggable.php on line 1299

    Same Issue than the others too.
    Any idea ?

    Best regards

    • This reply was modified 4 years, 2 months ago by fpgo.

    I am also experiencing this error on Elementor v3.0.5, whenever one of our WordPress ‘Contributor’ users natively logs-in to our site which utilizes Elementor.

    I notice that /elementor/core/app.php line 53 is the function fix_submenu( $menu ), which contains a self-described ‘Hack’ for when is_network_admin() is not true.

    /wp-includes/functions.php line 6270 is this function:

    function send_frame_options_header() {
    	header( 'X-Frame-Options: SAMEORIGIN' );
    }

    ERROR RECEIVED:

    Warning: Invalid argument supplied for foreach() in /public_html/wp-content/plugins/elementor/core/app/app.php on line 53

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/elementor/core/app/app.php:53) in /public_html/wp-includes/functions.php on line 6270

    Hello,
    Same problem described by other users.
    Any solutions planned?

    Thank you

    Same

    Thread Starter Michael

    (@mitfi)

    Hi support team,

    the warnings persist even with today‘s update to Elementor version 3.0.6.

    Best regards

    Michael

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Warning: Invalid argument supplied to foreach() in …’ is closed to new replies.