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
  • blocka's Avatar Topic Author
  • Offline
  • Platinum Member
  • Platinum Member
More
1 month 4 weeks ago #257796 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?


 

Please Log in to join the conversation.

More
1 month 4 weeks ago #257800 by jelo

Anyone have any insight into what's up? Is it that LS can't run under PHP 8.1 or 8.2 yet?
 
If you look at the supported versions of PHP you will see that LS5 is supported till PHP 8.0.X.


 

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
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 month 3 weeks ago #258029 by DenisChenu
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

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.

Lime-years ahead

Online-surveys for every purse and purpose