Support » Fixing WordPress » array_map() [function.array-map]: Argument #2

  • Resolved jspenc02

    (@jspenc02)


    I have these error after installing CalPress Pro and updating to 3.9, my themes, plugins. What do I need to do to resolve??

    Warning: array_map() [function.array-map]: Argument #2 should be an array in /home/content/j/s/p/jspenc02/html/covaems/wp-includes/post.php on line 2001

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/j/s/p/jspenc02/html/covaems/wp-includes/post.php:2001) in /home/content/j/s/p/jspenc02/html/covaems/wp-includes/option.php on line 747

    Warning: Cannot modify header information – headers already sent by (output started at /home/content/j/s/p/jspenc02/html/covaems/wp-includes/post.php:2001) in /home/content/j/s/p/jspenc02/html/covaems/wp-includes/option.php on line 748

    Thanks,

    Jason

Viewing 5 replies - 1 through 5 (of 5 total)
  • Is this a plugin or a theme?
    Where did you download it from?

    CalPress is a calendar plugin that I downloaded from the “add new” plugin page. I have tried to delete it but then I get this error:

    Error establishing a database connection

    This either means that the username and password information in your wp-config.php file is incorrect or we can’t contact the database server at cov1234308580737.db.4241856.hostedresource.com. This could mean your host’s database server is down.

    Are you sure you have the correct username and password?
    Are you sure that you have typed the correct hostname?
    Are you sure that the database server is running?

    Called my hosting service, it was google forms plugin that was causing problems.

    What version of the Google Forms plugin do you have installed? What version of PHP are you using?

    With the help of @nej_simon I have found and fixed the array_map() problem with Google Forms. I have released v0.68 which fixes the problem.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘array_map() [function.array-map]: Argument #2’ is closed to new replies.