• The contact form isn’t currently working on my website. And inside the admin section under the “mail” tab.

    I have this error.

    Warning: Invalid argument supplied for foreach() in /home//public_html/mywebsite.com/wp-content/plugins/contact-form-7/includes/contact-form.php on line 554

    Not sure why this is occurring?

    Thanks

    https://wordpress.org/plugins/contact-form-7/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What do you have in the Form field under the Form tab?

    Thread Starter collegegradrob

    (@collegegradrob)

    <form>
    <div class=”form-inline row”>
    <div class=”form-group col-sm-6″>
    <label for=”first-name”>First Name:</label>
    <input type=”text” class=”form-control” id=”first-name” placeholder=”Jane”>
    </div>
    <div class=”form-group col-sm-6″>
    <label for=”last-name”>Last Name:</label>
    <input type=”text” class=”form-control” id=”last-name” placeholder=”Doe”>
    </div>
    <div class=”form-group col-sm-6″>
    <label for=”email”>Email:</label>
    <input type=”email” class=”form-control” id=”email” placeholder=”jane.doe@example.com”>
    </div>
    <div class=”form-group col-sm-6″>
    <label for=”phone-number”>Phone:</label>
    <input type=”email” class=”form-control” id=”phone-number” placeholder=”555-555-5555″>
    </div>
    <div class=”form-group submit-group col-sm-6″>
    <button type=”submit” class=”btn btn-default”>Send</button>
    </div>
    </div>
    </form>

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Invalid Arguement’ is closed to new replies.