WordPress.org

Ready to get started?Download WordPress

Forums

[Plugin: Constant Contact for WordPress] Wrong Datatype error message (7 posts)

  1. edwardjross
    Member
    Posted 4 years ago #

    Seems like I have everything configured and working properly and I get this error when trying to sign up for a newsletter.

    Warning: in_array() [function.in-array]: Wrong datatype for second argument ... wp-content/plugins/constant-contact-api/constant-contact-api-widget.php on line 303

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

  2. jamesbenson
    Member
    Posted 4 years ago #

    A fix for this will be released ASAP.
    It appears as though your server has full PHP error reporting turned on, a live website should never show PHP errors, I suggest you contact your webhost and ask them to disable PHP error reporting.

  3. senthilkumars
    Member
    Posted 4 years ago #

    /themes/your-theme/indesx.php
    Place the below code

    <?php
    //Disable Error Reporting
    error_reporting(0);
    ?>

    (or)

    <?php
    ini_set('display_errors','Off');
    ?>

    This will escape the errors

  4. senthilkumars
    Member
    Posted 4 years ago #

    the above code will work fine

  5. senthilkumars
    Member
    Posted 4 years ago #

    It will work fine.

    Regards.,
    Senthil()

  6. senthilkumars
    Member
    Posted 4 years ago #

    It will work fine.

    Regards.,
    senthil(endofourworld.com)

  7. Zack Katz
    Member
    Posted 4 years ago #

    I've just updated the plugin, and the new version should fix this bug, although turning off error reporting is indeed a good idea.

    Upgrading to 1.1.2 will fix this issue, and will also provide you with a nice plugin menu icon :-)

Topic Closed

This topic has been closed to new replies.

About this Topic