• Resolved ioCreativeWebmaster

    (@iocreativewebmaster)


    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

    (@wayneallen-1)

    What version of PHP are you running? “Test Config” will tell you.

    Have you tried “Sockets”?

    Thread Starter ioCreativeWebmaster

    (@iocreativewebmaster)

    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

    (@wayneallen-1)

    Please send a debug run to [email protected]

    Thread Starter ioCreativeWebmaster

    (@iocreativewebmaster)

    Hello Wayne,

    I have emailed the sockets and cURL debug runs to you.

    Plugin Author Wayne Allen

    (@wayneallen-1)

    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.