• Resolved testugyen

    (@testugyen)


    Hi Constant Contact Support team,

    I found that your plugin array_merge(): Argument #1 is not a array – your plugin detects this error : Warning: array_merge(): Argument #1 is not an array in /var/www/wp-content/plugins/constant-contact-forms/includes/class-admin.php on line 386.

    Looking forward hearing from you, if you have any ideas in this case or have solutions.

    With best regards,
    Dorji

    • This topic was modified 6 years, 7 months ago by testugyen.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Constant Contact

    (@constantcontact)

    Good day Dorji,

    That’s a curious issue, as it’s part of a spot that we have customized for the area in this spot (Click for a larger version):

    https://cloudup.com/cCdS2c_UWZq

    The array_merge() line in question is:

    return array_merge( $links, $add_links );
    

    We don’t edit/alter the $links variable until this spot specifically, which says to us that somehow, it’s not an array from the start, when passed to our code.

    How comfortable would you be with editing the code? Or would you prefer we provide a hotfixed copy of the plugin to help address that error showing up?

    Thread Starter testugyen

    (@testugyen)

    Hi Constant Contact team,

    It would be great if you provide a hotfixed copy of the plugin to resolve the above mentioned problem.

    With best regards,
    Dorji

    Plugin Author Constant Contact

    (@constantcontact)

    Please give this version a try.

    https://www.dropbox.com/s/c0ox76bb786jgw8/constant-contact-forms-array-fix.zip?dl=0

    It includes all of the 1.3.7 changes that got released yesterday afternoon, so you won’t have to miss out on improvements made there.

    It should extract out to a matching folder name for what’s already on your server, so just need to upload via FTP and let it overwrite current files. Existing forms that you already created should not be affected at all.

    Thread Starter testugyen

    (@testugyen)

    Dear Constant Contact Team,

    Thanks for an update and appreciate your service.

    With best regards,
    Dorji

    Plugin Author Constant Contact

    (@constantcontact)

    You’re welcome ??

    Plugin Author Constant Contact

    (@constantcontact)

    This will be addressed in the next major version of the plugin.

    Marking as resolved.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘array_merge(): Argument #1 is not an array’ is closed to new replies.