Totara Learn Open Discussions

Error while running Cron

 
Nikhil Bansal
Error while running Cron
by Nikhil Bansal - Wednesday, 3 March 2021, 2:10 AM
Group Partners

Hi,


We are getting attached error on running the cron job (Exception - Maximum function nesting level of 256 reached).

The server on which the Totara is hosted doesn't have internet. 

Can you confirm this issue arises when internet connection isn't there? Is internet required for running Cron job? 


Regards,

Nikhil


David
Re: Error while running Cron
by David Shaw - Thursday, 4 March 2021, 7:40 AM
 

Hi Nikhil,

I saw that the other day on one of our demo sites.  I'm not 100% certain what the cause was but it was linked to one of the performance activities (turning on debugging let me see where the issue was).

I just deleted that performance activity and it went away (it was a demo site and I was looking for a quick fix so didn't into it much more closely)

I have a feeling it has something to do with the server setup.  When I looked for that error in google it talked about xdebug being turned on in the php config, so maybe start by checking if that's turned on for you.

David