- Posts: 7
COMMUNITY FORUM
Error after upgrade PHP to version 7.2
- Igor
- Topic Author
- Offline
- New Member
Less
More
5 years 10 months ago #170954
by Igor
Error after upgrade PHP to version 7.2 was created by Igor
Hello,
after upgrade PHP to 7.2 I receive this error message when open all article:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/editfi5/public_html/editnews/components/com_k2/models/item.php on line 763
Before and after article like here:
editfiume.info/editnews/politica/3632-il-fronte-dei-lavoratori-punta-in-alto
What I can do?
after upgrade PHP to 7.2 I receive this error message when open all article:
Warning: count(): Parameter must be an array or an object that implements Countable in /home/editfi5/public_html/editnews/components/com_k2/models/item.php on line 763
Before and after article like here:
editfiume.info/editnews/politica/3632-il-fronte-dei-lavoratori-punta-in-alto
What I can do?
Please Log in or Create an account to join the conversation.
- Mohamed Abdelaziz
- Offline
- Platinum Member
- Joomla Developer
5 years 10 months ago #170955
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 after upgrade PHP to version 7.2
Hi Igor,
This is just a warning, not error.
As a quick solution, go to Global Configuration > Server
Set Error Reporting to None
This will hide the message.
Then, you can try to update K2 to the latest dev release, this warning should have been resolved.
This is just a warning, not error.
As a quick solution, go to Global Configuration > Server
Set Error Reporting to None
This will hide the message.
Then, you can try to update K2 to the latest dev release, this warning should have been resolved.
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 9 months ago #170986
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Error after upgrade PHP to version 7.2
This has been fixed in K2 v2.9.1. Simply install on top 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.
- Igor
- Topic Author
- Offline
- New Member
Less
More
- Posts: 7
5 years 9 months ago #171010
by Igor
Replied by Igor on topic Error after upgrade PHP to version 7.2
Thanks to all. In the end I put 2.9.1 and all is fine
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
5 years 9 months ago #171015
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Error after upgrade PHP to version 7.2
Great! If you spot anything else, let me know.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- John
- Offline
- New Member
Less
More
- Posts: 2
4 years 11 months ago #173991
by John
Replied by John on topic Error after upgrade PHP to version 7.2
Hi Everyone I tried to install the github package but still not working the error still on the end of every article
www.new.pickuptrucks.de/berichte/item/217-road-ranger
Is there anyone can help me for this? I am using 7.2 php version then when I tried to which to 7.1 its working fine but I want to use 7.2 version so I don't have any issue on the future
Thanks
www.new.pickuptrucks.de/berichte/item/217-road-ranger
Is there anyone can help me for this? I am using 7.2 php version then when I tried to which to 7.1 its working fine but I want to use 7.2 version so I don't have any issue on the future
Thanks
Please Log in or Create an account to join the conversation.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago #174019
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on topic Error after upgrade PHP to version 7.2
Your page is currently inaccessible.
Just make sure your template overrides are updated wherever you have a "count(...)" reference. Just compare it to the source K2 template files, it's not difficult.
Just make sure your template overrides are updated wherever you have a "count(...)" reference. Just compare it to the source K2 template files, it's not difficult.
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.