Jump to content

error pop.php


Recommended Posts

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

err2.png

err1.png

Link to comment
Share on other sites

  • 1 month later...

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 by arsen99
Link to comment
Share on other sites

  • 2 weeks later...
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 by ricardo santos
Link to comment
Share on other sites

  • WHMCS Technical Analyst II

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. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated