New PHP error never happened before

[### Website URL

Error Message

Fatal error : Uncaught Error: Call to undefined function sleep() in /home/vol9_4/ Stack trace: #0 /home/vol9_4/ Bitfinex->bitfinex_updateMyLends() #1 {main} thrown in /home/vol9_4/ on line 295

Other Information

My site started being down since yesterday. It worked well before? Is there any upgrades caused this error?


The sleep() function has always been disabled on free hosting, however it has been totally removed with the update to PHP8.2.

To fix this, just remove the sleep() function from the file. It won’t change how the code works, as the function never worked in the past anyways, and was just ignored.


I fixed this error, but another occurs:

autoLend.js:349 GET 508 (Loop Detected)

The error code shows in my chrome when I load my website
However, when I run the php solely, it works well.

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.