Title: PHP errors in pCurlConnection.php
Last modified: November 2, 2016

---

# PHP errors in pCurlConnection.php

 *  Resolved [ioCreativeWebmaster](https://wordpress.org/support/users/iocreativewebmaster/)
 * (@iocreativewebmaster)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/)
 * Hello,
 * We are hosting a site at WPEngine and are attempting to use the most recent version
   of postie and a gmail account using pop3-ssl, cURL. I have turned on Allow less
   secure apps in gmail and I get this error:
 * Warning: array_filter() expects parameter 2 to be a valid callback, function ‘
   popoutput’ not found or invalid function name in /nas/content/staging/nwicis/
   wp-content/plugins/postie/lib/pCurlConnection.php on line 85
 * Warning: array_walk() expects parameter 1 to be array, null given in /nas/content/
   staging/nwicis/wp-content/plugins/postie/lib/pCurlConnection.php on line 86
 * Warning: array_merge(): Argument #2 is not an array in /nas/content/staging/nwicis/
   wp-content/plugins/postie/lib/pCurlConnection.php on line 87
 * When I check those lines in the pCurlConnection.php and copy the function popoutput
   and try searching for it in online documentation I can find no reference to the
   function. Is there something I can do to get this working? These seem to be the
   only outstanding issue. I can see that it can pull the accurate email count but
   it doesn’t post the emails in that account.
 * Any help would be appreciated.

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/#post-8388762)
 * What version of PHP are you running? “Test Config” will tell you.
 * Have you tried “Sockets”?
 *  Thread Starter [ioCreativeWebmaster](https://wordpress.org/support/users/iocreativewebmaster/)
 * (@iocreativewebmaster)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/#post-8388795)
 * Hello and thanks for the quick response. Out PHP version is 5.5.9
 * Sockets gives me a different error related to my shared server php config.
    This
   is what I get with Sockets:
 * Warning: stream_select(): You MUST recompile PHP with a larger value of FD_SETSIZE.
   It is set to 1024, but you have descriptors numbered at least as high as 1216.–
   enable-fd-setsize=2048 is recommended, but you may want to set it to equal the
   maximum number of open files supported by your system, in order to avoid seeing
   this error again at a later date. in /nas/content/staging/nwicis/wp-content/plugins/
   postie/lib/pSocketConnection.php on line 185
 * It pops up three times and doesn’t connect. With cURL I can connect but not fetch
   any of the emails. I can send you the debug results for both connection typs 
   if you would like. With cURL I can connect to the email account but not fetch
   the emails it sees in either pop3-ssl or imap-ssl.
 * TIA for all the help.
 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/#post-8388920)
 * Please send a debug run to [help@postieplugin.com](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/help@postieplugin.com?output_format=md)
 *  Thread Starter [ioCreativeWebmaster](https://wordpress.org/support/users/iocreativewebmaster/)
 * (@iocreativewebmaster)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/#post-8392750)
 * Hello Wayne,
 * I have emailed the sockets and cURL debug runs to you.
 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/#post-8393704)
 * Thanks for the logs, I did find the issue and released the fix in 1.8.17.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP errors in pCurlConnection.php’ is closed to new replies.

 * ![](https://ps.w.org/postie/assets/icon-256x256.png?rev=970083)
 * [Postie](https://wordpress.org/plugins/postie/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postie/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postie/)
 * [Active Topics](https://wordpress.org/support/plugin/postie/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postie/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postie/reviews/)

## Tags

 * [gmail](https://wordpress.org/support/topic-tag/gmail/)
 * [wpengine](https://wordpress.org/support/topic-tag/wpengine/)

 * 5 replies
 * 2 participants
 * Last reply from: [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/php-errors-in-pcurlconnection-php/#post-8393704)
 * Status: resolved