• Hi,
    I am getting this error message:

    Invalid argument supplied for foreach() in /home/content/35/7943535/html/2moveabroad/wp-content/plugins/landing-pages/shared/classes/menu.class.php on line 544

    Line 544: Is blank, but the script is:

    if ($landing_page_status){
    
                  $menu_items['landingpagetemplates'] = array(
    
                    'parent' => $templates_menu,
    
                    'title'  => __( 'Landing Page Templates', 'edd-toolbar' ),
    
                    'href'   => admin_url( 'edit.php?post_type=landing-page&page=lp_manage_templates' ),
    
                    'meta'   => array( 'target' => '', 'title' => __( 'Landing Page Settings', 'edd-toolbar' ) )
    
                  );

    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]

    I am not a developer but can anyone guide me what to do with this error?

  • The topic ‘Warning: Invalid argument supplied for for each’ is closed to new replies.