ricardo santos Posted January 19, 2020 Share Posted January 19, 2020 hello how to fix this error in cronjob (pop.php): [WHMCS Application] ERROR: Error: Call to undefined function WHMCS\imap_errors() in /home/admin/domains/domain.com/public_html/client/vendor/whmcs/whmcs-foundation/lib/WhmcsMailbox.php:0 Stack trace: #0 /home/admin/domains/domain.com/crons/pop.php(0): WHMCS\WhmcsMailbox->__construct('{mail.domain...', 'support@domain...', 'pass', '/tmp', 'utf-8') #1 {main} {"exception":"[object] (Error(code: 0): Call to undefined function WHMCS\\imap_errors() at /home/admin/domains/domain.com/public_html/client/vendor/whmcs/whmcs-foundation/lib/WhmcsMailbox.php:0)"} [] Error: Call to undefined function WHMCS\imap_errors() in /home/admin/domains/domain.com/public_html/client/vendor/whmcs/whmcs-foundation/lib/WhmcsMailbox.php:0 #0 /home/admin/domains/domain.com/crons/pop.php(0): WHMCS\WhmcsMailbox->__construct('{mail.domain...', 'support@domain...', 'pass!~9z'5...', '/tmp', 'utf-8') #1 {main} thanks 0 Quote Link to comment Share on other sites More sharing options...
ricardo santos Posted January 20, 2020 Author Share Posted January 20, 2020 can anyone help me? 0 Quote Link to comment Share on other sites More sharing options...
arsen99 Posted March 3, 2020 Share Posted March 3, 2020 (edited) Hello Did you solve this problem? I have the same, the pop doesn;t work and I get this error: root@mail:~# php -q /home/admin/web/mydomain/public_html/crons/pop.php PHP Fatal error: Call to undefined function imap_errors() thanks Edited March 3, 2020 by arsen99 0 Quote Link to comment Share on other sites More sharing options...
WHMCS ChrisD Posted March 3, 2020 Share Posted March 3, 2020 @arsen99 Could you provide the full error message that you are getting please? 1 Quote Link to comment Share on other sites More sharing options...
ricardo santos Posted March 16, 2020 Author Share Posted March 16, 2020 (edited) On 3/4/2020 at 1:55 AM, WHMCS ChrisD said: @arsen99 Could you provide the full error message that you are getting please? On 3/3/2020 at 8:54 PM, arsen99 said: Hello Did you solve this problem? I have the same, the pop doesn;t work and I get this error: root@mail:~# php -q /home/admin/web/mydomain/public_html/crons/pop.php PHP Fatal error: Call to undefined function imap_errors() thanks for pipe: I guess it’s an email pipe, you should add it with | to email forwarders, not cronjobs. Just go to email forwarders section and add the pipe as destination 🙂 and for pop.php i have no idea 😐 Edited March 16, 2020 by ricardo santos 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Technical Analyst II WHMCS Alex Posted March 16, 2020 WHMCS Technical Analyst II Share Posted March 16, 2020 Hello @ricardo santos, Thanks for your post! That error indicates your PHP configuration is missing the IMAP extension. You will want to have your server administrator or hosting provider install and compile that into the PHP build used by your servers command line interface to resolve that error. I hope this helps. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.