Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted April 16, 2024Apr 16 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, 2024Apr 16 by Genestoy
April 16, 2024Apr 16 Solution 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.
April 16, 2024Apr 16 Author 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
April 16, 2024Apr 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
April 16, 2024Apr 16 Author 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.