WordPress.org

Ready to get started?Download WordPress

Forums

Constant Contact for WordPress
[resolved] Widget Signup Form not working. Throws PHP erros (9 posts)

  1. Drew Pearce
    Member
    Posted 1 year ago #

    Running version 2.4.1 of the plugin. Using a signup form widget. When submitting the form, I get two php errors: Warning: Wrong parameter count for array_unique() in /path/to/plugins/constant-contact-api/functions.php on line 871
    and
    Warning: Invalid argument supplied for foreach() in /path/to/plugins/constant-contact-api/functions.php on line 877

    http://wordpress.org/extend/plugins/constant-contact-api/

  2. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    I'll fix this issue in a future release, but please know that if you're running a live site, you should have PHP error display turned off. What these are are PHP warnings, not serious errors.

  3. Zack Katz
    Member
    Plugin Author

    Posted 1 year ago #

    By the way, it sounds like the issue is that there are no lists selected for the form.

  4. Bryce Redford
    Member
    Posted 1 year ago #

    Hi this is an ongoing issue and prevents users signing in using the signup form.

    This error occurs when the form is selected however it does suggest no list selected.

  5. Davidsdesk
    Member
    Posted 1 year ago #

    I am having the same problem as Bryce, above. Same error on the same line of functions.php. A checkbox is displayed and a list is selected, but I get the PHP error warnings and the form shows the message "Please select at least 1 list." Your plugin is listed as the "official" Constant Contact plugin and three months ago you indicated that it would be fixed in a future release. As the previous post mentions, this is an ongoing issue that is preventing users from signing up with Constant Contact. Is there any advice you can provide to help resolve this.

    Thanks,

    David

  6. sarett
    Member
    Posted 1 year ago #

    I have the exact same problem Bryce and David.
    Is there a practical solution?

    Thanks
    Sara

  7. Davidsdesk
    Member
    Posted 1 year ago #

    The developer doesn't seem to be responding. I'm surprised that this continues to be listed as the "Official Constant Contact Plugin".

  8. Bryce Redford
    Member
    Posted 1 year ago #

    Worth checking what version of PHP you are running, I think the latest version might fix the problem

  9. Drew Pearce
    Member
    Posted 1 year ago #

    Sorry to have abandoned the thread.
    1. I know what a PHP warning is, the problem is that the code is still broken and as was pointed out prevents users from signing up.
    2. There are lists selected when the error pops up.

    It's a moot point now. We've moved on.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic