- Posts: 11
COMMUNITY FORUM
New K2 item on PHP 8.0
- Zoran Hajtl
- Topic Author
- Offline
- New Member
Less
More
2 years 2 months ago #180331
by Zoran Hajtl
New K2 item on PHP 8.0 was created by Zoran Hajtl
Running K2 under PHP 8.02 throws the following error when trying to save an item:
0 strtoupper(): Argument #1 ($string) must be of type string, array given
Despite the display of this error, the article will be correctly published on the site.
I installed K2 v2.10.4 (dev) but the problem remained.
Regards,
Zoran
0 strtoupper(): Argument #1 ($string) must be of type string, array given
Despite the display of this error, the article will be correctly published on the site.
I installed K2 v2.10.4 (dev) but the problem remained.
Regards,
Zoran
Please Log in or Create an account to join the conversation.
- Hans De Wit
- Offline
- New Member
Less
More
- Posts: 5
2 years 2 months ago #180337
by Hans De Wit
Replied by Hans De Wit on topic New K2 item on PHP 8.0
Try to install verion 2.11.0
Works without errors for me
Works without errors for me
Please Log in or Create an account to join the conversation.
- Zoran Hajtl
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
2 years 2 months ago #180342
by Zoran Hajtl
Replied by Zoran Hajtl on topic New K2 item on PHP 8.0
Please can you give me the link. I can only find version 2.10.4 on the site.
Please Log in or Create an account to join the conversation.
- Dejan Bojovic
- Offline
- New Member
Less
More
- Posts: 17
2 years 1 month ago #180377
by Dejan Bojovic
Replied by Dejan Bojovic on topic New K2 item on PHP 8.0
Please Log in or Create an account to join the conversation.
- Zoran Hajtl
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
2 years 1 month ago #180378
by Zoran Hajtl
Replied by Zoran Hajtl on topic New K2 item on PHP 8.0
Unfortunately, the problem remains. And with 2.11.0 it reports the same error.
Please Log in or Create an account to join the conversation.
- Dejan Bojovic
- Offline
- New Member
Less
More
- Posts: 17
2 years 1 month ago #180379
by Dejan Bojovic
Replied by Dejan Bojovic on topic New K2 item on PHP 8.0
PHP 8.0.23-1.1.1
K2 2.11.0
Everything works OK for me. I only have a problem with JA K2 filter and PHP 8
K2 2.11.0
Everything works OK for me. I only have a problem with JA K2 filter and PHP 8
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
2 years 1 month ago #180389
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic New K2 item on PHP 8.0
@Zoran The issue may not come from K2 but some other plugin (either of K2 or System type).
Switch error reporting to maximum in Joomla's Global Configuration in case the error becomes more verbose or check the error log that is output by your server (e.g. error_log at the root of the site).
Switch error reporting to maximum in Joomla's Global Configuration in case the error becomes more verbose or check the error log that is output by your server (e.g. error_log at the root of the site).
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Zoran Hajtl
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
2 years 1 month ago #180390
by Zoran Hajtl
Replied by Zoran Hajtl on topic New K2 item on PHP 8.0
Hmm, I set the error to Maximum (photo attached), but it doesn't show me any errors! (which is impossible )
K2 works fine for me on T3 Framework. Is this site using the EF4 JM Framework (latest version)?
K2 works fine for me on T3 Framework. Is this site using the EF4 JM Framework (latest version)?
Please Log in or Create an account to join the conversation.
- Dejan Bojovic
- Offline
- New Member
Less
More
- Posts: 17
2 years 1 month ago #180391
by Dejan Bojovic
Replied by Dejan Bojovic on topic New K2 item on PHP 8.0
Open the file in the root site error_log
Please Log in or Create an account to join the conversation.
- Hans De Wit
- Offline
- New Member
Less
More
- Posts: 5
2 years 1 month ago - 2 years 1 month ago #180394
by Hans De Wit
Replied by Hans De Wit on topic New K2 item on PHP 8.0
It can be a template problem or other plugin. You need to have the error log to see what causes the error.
Last edit: 2 years 1 month ago by Hans De Wit.
Please Log in or Create an account to join the conversation.