Keyword

fatal error after php 8.0 Update

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 year 4 months ago #180582 by Franz Heine
fatal error after php 8.0 Update was created by Franz Heine
i receive this error affter updateing my site to php 8.0
Fatal error: Array and string offset access syntax with curly braces is no longer supported in /www/htdocs/w01a9b4f/projekt-lastschrift/media/k2/assets/vendors/verot/class.upload.php/src/class.upload.php on line 2726

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

  • Litho-Verlag e.K.
  • Litho-Verlag e.K.'s Avatar
  • Offline
  • Senior Member
More
1 year 4 months ago #180583 by Litho-Verlag e.K.
Replied by Litho-Verlag e.K. on topic fatal error after php 8.0 Update
will not work at all. go back to php 7.4
egards
litho

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 year 4 months ago #180584 by Franz Heine
Replied by Franz Heine on topic fatal error after php 8.0 Update
But it doesnt make sense. The Support for php7 ended. Thats a real security issue. Is there a plan, when k2 will be ready for php8?

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

More
1 year 4 months ago #180587 by JoomlaWorks
Replied by JoomlaWorks on topic fatal error after php 8.0 Update
@Franz Heine
a) This is actually a third-party library issue, not K2. And it's fixed in K2 v2.11 (dev) here: getk2.org/downloads/?f=K2_Development_Release.zip

b) Sticking to PHP 7.4 does not mean your site is at grave danger to get hacked any day now... Most security issues usually relate to performance/reliability, especially on 7.2+ releases.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 year 4 months ago #180600 by Franz Heine
Replied by Franz Heine on topic fatal error after php 8.0 Update
Thx Fotis,

worked! But ive receive following error in the backend:

strtoupper(): Argument #1 ($string) must be of type string, array given
/www/htdocs/w01a9b4f/projekt-lastschrift/libraries/legacy/request/request.php:99

and following on the frontend (debug is active:

Warning: Attempt to read property "alias" on null in /www/htdocs/w01a9b4f/projekt-lastschrift/components/com_k2/router.php on line 283

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

More
1 year 3 months ago #180613 by JoomlaWorks
Replied by JoomlaWorks on topic fatal error after php 8.0 Update
The "strtoupper" error is not coming from K2 but something else.

The warning on K2's router is now fixed - simply install getk2.org/downloads/?f=K2_Development_Release.zip on top.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 year 3 months ago - 1 year 3 months ago #180706 by Franz Heine
Replied by Franz Heine on topic fatal error after php 8.0 Update
ive updated to k2 V2.11.

And the "strtoupper" error just appears, when i save a k2 item. IT saves the information, but i receive this info.

Do you have maybe a ideal? Because it seems, that just ive this problem.

UPDATE: Foud the error, caused by this plugin:
extensions.joomla.org/extension/additional-categories-for-k2/

Ill contact the programer
Last edit: 1 year 3 months ago by Franz Heine.

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


Powered by Kunena Forum