- Posts: 409
- Thank you received: 34
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
PHP Fatal error: During inheritance of Countable when executing cronjob
- blocka
- Topic Author
- Offline
- Platinum Member
Less
More
1 month 4 weeks ago #257796
by blocka
PHP Fatal error: During inheritance of Countable when executing cronjob was created by blocka
Please help us help you and fill where relevant:
Your LimeSurvey version: 5.6.56+240227
Own server or LimeSurvey hosting: own
Survey theme/template: Any
==================
I have scheduled the cron job:
php /home/account/public_html/application/commands/console.php plugin cron
This executes fine under PHP 7.4 and PHP 8.0, but when I try to run LS under PHP 8.1 or 8.2, the cron job fails with the error:
PHP Fatal error: During inheritance of Countable: Uncaught in /home/account/public_html/vendor/twig/twig/src/Node/Node.php on line 23
I've attached the full error output.
Anyone have any insight into what's up? Is it that LS can't run under PHP 8.1 or 8.2 yet?
Your LimeSurvey version: 5.6.56+240227
Own server or LimeSurvey hosting: own
Survey theme/template: Any
==================
I have scheduled the cron job:
php /home/account/public_html/application/commands/console.php plugin cron
This executes fine under PHP 7.4 and PHP 8.0, but when I try to run LS under PHP 8.1 or 8.2, the cron job fails with the error:
PHP Fatal error: During inheritance of Countable: Uncaught in /home/account/public_html/vendor/twig/twig/src/Node/Node.php on line 23
I've attached the full error output.
Anyone have any insight into what's up? Is it that LS can't run under PHP 8.1 or 8.2 yet?
Attachments:
Please Log in to join the conversation.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
1 month 4 weeks ago #257800
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic PHP Fatal error: During inheritance of Countable when executing cronjob
If you look at the supported versions of PHP you will see that LS5 is supported till PHP 8.0.X.Anyone have any insight into what's up? Is it that LS can't run under PHP 8.1 or 8.2 yet?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in to join the conversation.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
1 month 3 weeks ago #258029
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic PHP Fatal error: During inheritance of Countable when executing cronjob
Issue with PHP8.1 and PHP8.2 with LimeSurvey 5 and error_reportuing=E8ALL are know and not really fixable currently
error_reporting = 0 muts work on your php cli configuration
error_reporting = 0 muts work on your php cli configuration
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Please Log in to join the conversation.