Daniel F Posted December 2, 2022 Posted December 2, 2022 4 hours ago, Andreas Grace said: My whole account is set to run on PHP 8.1, I can't think of anything accessing the database running PHP 7. As mentioned in the ticket, it seems that there's still a cron using the php7 interpreter path. @Arcade King could you please check Plesk or your cron table and ensure that you're not affected by the same issue.   The reason that this issue happened now, even if PHP8 or PHP8.1 was used for months is, that you wouldn't have noticed till yet if the task was called with php7 or 8, but now we're using a php function inside the mail class which is only available in PHP8.
Andreas Grace Posted December 2, 2022 Posted December 2, 2022 Thanks for the help, my issue was solved. A cron task was left running using specifically older PHP version /opt/cpanel/ea-php74/root/usr/bin/php Â
Marc Posted December 2, 2022 Posted December 2, 2022 1 minute ago, Andreas Grace said: Thanks for the help, my issue was solved. A cron task was left running using specifically older PHP version /opt/cpanel/ea-php74/root/usr/bin/php  Glad to hear you have that resolved 🙂Â
Arcade King Posted December 3, 2022 Posted December 3, 2022 On 12/2/2022 at 7:52 PM, Daniel F said: As mentioned in the ticket, it seems that there's still a cron using the php7 interpreter path. @Arcade King could you please check Plesk or your cron table and ensure that you're not affected by the same issue.   The reason that this issue happened now, even if PHP8 or PHP8.1 was used for months is, that you wouldn't have noticed till yet if the task was called with php7 or 8, but now we're using a php function inside the mail class which is only available in PHP8. Server OP sorted it thanks for the information.
Marc Posted December 4, 2022 Posted December 4, 2022 On 12/3/2022 at 10:47 PM, Arcade King said: Server OP sorted it thanks for the information. Glad to hear you got the problem resolved 🙂Â
S. Rose Posted December 5, 2022 Posted December 5, 2022 Having the same issue. Our community has been running on 8.1 for months now, but since the last update many tasks are getting locked constantly and we need to keep unlocking them. Can you please advise?
teraßyte Posted December 5, 2022 Posted December 5, 2022 Are you using a cronjob to run your tasks? If yes, have you already checked it is also running with PHP 8 and not an older PHP version?
S. Rose Posted December 5, 2022 Posted December 5, 2022 2 hours ago, teraßyte said: Are you using a cronjob to run your tasks? If yes, have you already checked it is also running with PHP 8 and not an older PHP version? I am. I reached out to our hosting company, and they confirmed that the cron job is also running with PHP v8Â
Marc Posted December 5, 2022 Posted December 5, 2022 6 hours ago, S. Rose said: I am. I reached out to our hosting company, and they confirmed that the cron job is also running with PHP v8 Please have your hosting company check there isnt another task running PHP 7 also, as it looks like you may have. S. Rose 1
S. Rose Posted December 15, 2022 Posted December 15, 2022 On 12/5/2022 at 6:58 AM, Marc Stridgen said: Please have your hosting company check there isnt another task running PHP 7 also, as it looks like you may have. Thanks. That actually helped SeNioR- 1
Marc Posted December 15, 2022 Posted December 15, 2022 2 hours ago, S. Rose said: Thanks. That actually helped Glad to hear it 🙂Â
Recommended Posts