Keyword

Articles return error 500 after changing php to 8.1

  • Tomas Salat
  • Tomas Salat's Avatar Topic Author
  • Offline
  • New Member
More
1 year 7 months ago #180881 by Tomas Salat
Hi,

I have installed the latest K2 v2.11.20230324, and tried to change the php to 8.1 (8.0 and 8.2 as well), and apart from an error about 0 count(): Argument #1 ($var) must be of type Countable|array, null given which was solvable, any article after clicking "read more" will return HTTP 500 error. The debug console will not show anything, and I have no idea why I cant access the articles/content.

any idea?

thx, tomas

Please Log in or Create an account to join the conversation.

  • Tomas Salat
  • Tomas Salat's Avatar Topic Author
  • Offline
  • New Member
More
1 year 7 months ago #180883 by Tomas Salat
Replied by Tomas Salat on topic Articles return error 500 after changing php to 8.1

Hi,

I have installed the latest K2 v2.11.20230324, and tried to change the php to 8.1 (8.0 and 8.2 as well), and apart from an error about 0 count(): Argument #1 ($var) must be of type Countable|array, null given which was solvable, any article after clicking "read more" will return HTTP 500 error. The debug console will not show anything, and I have no idea why I cant access the articles/content.

any idea?

thx, tomas

 

It was caused by sigplus plugin since it was outdated, heh.
So, all good to for me on php 8.1.

tomas

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum