- Posts: 11
COMMUNITY FORUM
error with extra fields v2.9 php 7.2
- Brigitte Kuschel
- Topic Author
- Offline
- New Member
Less
More
5 years 10 months ago #170856
by Brigitte Kuschel
error with extra fields v2.9 php 7.2 was created by Brigitte Kuschel
Hello,
i love the extra fields of k2.
i upgrade to joomla 3.9.1 and newest version k2 v2.9 no problem at all.
i installed the newest simple image gallery pro too.
but set server to php 7.2 i have an error with it (it works fine on php 7.1.)
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/www/nbm/administrator/components/com_k2/views/item/view.html.php on line 442
and at the extra file tab
Warning: count(): Parameter must be an array or an object that implements Countable in /home/www/nbm/administrator/components/com_k2/models/extrafield.php on line 211
The error ist only at new items. At old items, there is no error.
at frontend there is no error
Can somebody please help me?
THank you very much.
Brigitte
i love the extra fields of k2.
i upgrade to joomla 3.9.1 and newest version k2 v2.9 no problem at all.
i installed the newest simple image gallery pro too.
but set server to php 7.2 i have an error with it (it works fine on php 7.1.)
Warning: sizeof(): Parameter must be an array or an object that implements Countable in /home/www/nbm/administrator/components/com_k2/views/item/view.html.php on line 442
and at the extra file tab
Warning: count(): Parameter must be an array or an object that implements Countable in /home/www/nbm/administrator/components/com_k2/models/extrafield.php on line 211
The error ist only at new items. At old items, there is no error.
at frontend there is no error
Can somebody please help me?
THank you very much.
Brigitte
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
- Offline
- Platinum Member
- Joomla Developer
5 years 10 months ago #170861
by Mohamed Abdelaziz
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Replied by Mohamed Abdelaziz on topic error with extra fields v2.9 php 7.2
Hello
This is not an error, it is only a tip to enhance the code.
To hide these messages, got Global Configuration ==> Server and set Error Reporting to None
This is not an error, it is only a tip to enhance the code.
To hide these messages, got Global Configuration ==> Server and set Error Reporting to None
Multiple Extra Fields Groups for K2
AutoMeta for K2
Chained Fields for K2
More K2 Extensions In My Extensions Store
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 10 months ago #170867
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic error with extra fields v2.9 php 7.2
Most of these warnings in PHP 7.2 have been corrected in K2 v2.9.1 (dev) which you can install directly from: github.com/getk2/k2/archive/master.zip
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Brigitte Kuschel
- Topic Author
- Offline
- New Member
Less
More
- Posts: 11
5 years 10 months ago #170881
by Brigitte Kuschel
Replied by Brigitte Kuschel on topic error with extra fields v2.9 php 7.2
Thank you very much. This worked fine.
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 10 months ago #170889
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic error with extra fields v2.9 php 7.2
You're welcome :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.