Error in cron job after upgrading to latest version

zeoz

Member
Aug 28, 2017
5
2
3
Australia
cPanel Access Level
Root Administrator
Hello everyone.

i recently upgrade whm in the latest version. Since then my cronjob start getting the error:

<br />
<b>Fatal error</b>: Directive 'asp_tags' is no longer available in PHP in
<b>Unknown</b> on line <b>0</b><br />

any idea how to fix that?

thanks!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

Check to see if you are using a custom php.ini file under the account associated with that cron job. If one exists, try moving it out of the way to see if that solves the issue, and then make any custom changes to the account's PHP configuration using the MultiPHP INI Editor option in cPanel.

Thank you.
 

zeoz

Member
Aug 28, 2017
5
2
3
Australia
cPanel Access Level
Root Administrator
Hello,

Check to see if you are using a custom php.ini file under the account associated with that cron job. If one exists, try moving it out of the way to see if that solves the issue, and then make any custom changes to the account's PHP configuration using the MultiPHP INI Editor option in cPanel.

Thank you.
Hi Michael

i dont have any custom php.ini file. The only cronjob im running tho to this account is the one from whmcs.

thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

Could you provide more details about the specific cron job you have enabled (e.g. specific command, how it's configured)? You may also want to consult with the WHMCS support team at:

WHMCS Community Forums

Thank you.
 

zeoz

Member
Aug 28, 2017
5
2
3
Australia
cPanel Access Level
Root Administrator
Hello,

Could you provide more details about the specific cron job you have enabled (e.g. specific command, how it's configured)? You may also want to consult with the WHMCS support team at:

WHMCS Community Forums

Thank you.
the only crons im running are the default ones below:

*/5 * * * * php -q /home/username/crons/cron.php
php -q /home/user/public_html/whmcs/crons/domainsync.php

thanks!!
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,268
463
Hello,

Are you sure no custom php.ini file exists in /home/username/ directory? If there's no php.ini file, feel free to open a support ticket using the link in my signature so we can take a closer look.

Thank you.