Problem
After performing a WHMCS software update, emails that the system imported to the support ticket system bounce back to the sender with the following error:
Argument 7 passed to processPoppedTicket() must be an instance of WHMCS\Mail\AutoSubmittedHeader, array given, called in /path/to/crons/pop.php on line 0
For more information about email importing and the
pop.php file, see Email Importing.Cause
This issue is due to the presence of a pop.php file from an older version of WHMCS.
This may occur if you have customized the location of the crons directory and:
- The
$crons_dirvalue is missing from theconfiguration.phpfile. As a result, the automatic updater did not update thecronsfolder. - During a manual update, the new
cronsdirectory contents did not copy to the custom location.
Solution
To resolve this issue:
- Download the full release files or contact your license reseller to ask for them.
- Upload a new set of files from the
cronsdirectory to the custom location on your server, overwriting the existing files. - Make certain that you have completed all of our recommended steps for
cronsdirectory customization.For more information, see Move the Cron Directory.
Last modified: 2025 July 28