Jump to content

4.7.5 Locked Tasks Issues


Go to solution Solved by Jim M,

Recommended Posts

Posted
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.

Posted
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 🙂 

Posted
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.

Posted
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 🙂 

Posted

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?

Posted
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 

Posted
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.

  • 2 weeks later...
Posted
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...