Genestoy Posted April 16 Posted April 16 (edited) I upgraded my test board from 4.7.1.2 to 4.7.16 and during the night I am getting this fatal error email from my host and I am running PHP 8.1... Fatal error: The task was called with PHP version 7.3.33 while PHP 8.0.0 is required. in /home/casitafo/public_html/invboard4/applications/core/interface/task/task.php on line 39 So before I upgrade my live board I would like to get this resolved, so can somebody tell me what is going on? I suspect it has something to do with an application and not a plugin but which one? Thanks Edited April 16 by Genestoy
Solution Jim M Posted April 16 Solution Posted April 16 The crontask is still set to use PHP 7, you'll need to change it to using PHP 8.1. Go to ACP -> System -> Advanced Configuration and copy the cron task provided there to your cron setup on your server. If you are unsure how to perform this, please contact your hosting provider.
Genestoy Posted April 16 Author Posted April 16 Thanks Jim, I changed the cron to the 8.1 on my server. Question both my live and test board have been set forever to...."Run Automatically with Traffic (Default)" in the ACP, is that still OK? Thanks
Marc Posted April 16 Posted April 16 If that is the method in which you wish for them to run, yes. If you wish them to run as recommended, you would switch to running via cron
Genestoy Posted April 16 Author Posted April 16 OK, thanks guys, I won't know if I fixed it until tomorrow as the error email comes in the middle of the night, should be no problem though. Marc 1
Genestoy Posted April 17 Author Posted April 17 No error last night so all is good! 😆 Thanks again
Recommended Posts