COMMUNITY FORUM
Warning when click the Extra Fields tab
- LocaLiceR
- Topic Author
- Offline
- Junior Member
Less
More
15 years 4 months ago #68127
by LocaLiceR
Warning when click the Extra Fields tab was created by LocaLiceR
When I click the Extra Fields tab on the 'Add/Edit Item' screen, the following warning is prompted:
Warning: Invalid argument supplied for foreach() in [path_to]\administrator\components\com_k2\views\item\tmpl\default.php on line 270
Environment: Apache 2.2.11, PHP 5.2.9-2, MySQL 5.1.33, Joomla! 1.5.11, Firefox 3.5 RC2, WampServer 2.0h
Warning: Invalid argument supplied for foreach() in [path_to]\administrator\components\com_k2\views\item\tmpl\default.php on line 270
Environment: Apache 2.2.11, PHP 5.2.9-2, MySQL 5.1.33, Joomla! 1.5.11, Firefox 3.5 RC2, WampServer 2.0h
Please Log in or Create an account to join the conversation.
- Tibor Tóth
- Offline
- New Member
Less
More
- Posts: 2
15 years 4 months ago #68128
by Tibor Tóth
Replied by Tibor Tóth on topic Warning when click the Extra Fields tab
Hi Tamás!
This bug accours, when you start with blank installation of K2. There are NO extrafields in database.
Dev team work on it - in final code resolve this, hope. :)
This bug accours, when you start with blank installation of K2. There are NO extrafields in database.
Dev team work on it - in final code resolve this, hope. :)
Please Log in or Create an account to join the conversation.
- LocaLiceR
- Topic Author
- Offline
- Junior Member
15 years 4 months ago #68129
by LocaLiceR
Replied by LocaLiceR on topic Warning when click the Extra Fields tab
Hi, Tibor!
I tested more, and I noticed the following with a clean install with the below steps:
1) I added an extra field group
2) i added some extra fields
3) I added a category
4) I opened the Add/Edit Item screen
5) I switched to the Extra Field tab and the error message mentioned in my starting post appeared.
So, it is not true, that this error persists without no extra fields :)
The following info regarding this issue may be interesting for the dev team :)
When I selected the category in the 'Details' section on the right, the error message disappeared and the "This category doesn't have assigned extra fields" information was displayed.
I tested more, and I noticed the following with a clean install with the below steps:
1) I added an extra field group
2) i added some extra fields
3) I added a category
4) I opened the Add/Edit Item screen
5) I switched to the Extra Field tab and the error message mentioned in my starting post appeared.
So, it is not true, that this error persists without no extra fields :)
The following info regarding this issue may be interesting for the dev team :)
When I selected the category in the 'Details' section on the right, the error message disappeared and the "This category doesn't have assigned extra fields" information was displayed.
Please Log in or Create an account to join the conversation.
- Lefteris
- Offline
- Moderator
Less
More
- Posts: 8743
15 years 4 months ago #68130
by Lefteris
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Lefteris on topic Warning when click the Extra Fields tab
Fixed in v2 final. Thanks for reporting this issue to us.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.