test
Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • tomofsweden Friend
    #182618

    After upgrading K2 and The Wall template I am getting a Fatal error: and the page doesn’t load anything else except the link to the rss feed.

    Fatal error: Call to undefined method K2ViewItemlist::buildAliasBasedExtraFields() in /home/xxxxx.com/components/com_k2/models/item.php on line 1492

    http://macrame101.com

    server is php 5.3
    Joomla is 2.5.8

    digitalmediaguy Friend
    #474410

    Same here! :-/

    Zach Stein Friend
    #474441

    Same issue after updating K2 2.6.2. They did add/change some things with the extra fields and groups in this K2 update. Thankfully I only had one page using “double-grid” and similar styles, so I’m not too bad. Removing the extra field style from the k2 item is the a temporary solution, but found I had to do it through the database backend as k2 was still leaving a value even though it was now showing none/empty. In the database, the k2 item’s extra_fields is something like ‘[{“id”:”2″,”value”:””}]’ when an empty field should be ‘[]’

    HeR0 Friend
    #474485

    Hi Guys,

    The K2 component latest version has more changes to make it compatible with Joomla 3.0.x . So i think that upgrading this component is not necessary when you still running website on Joomla 2.5.x .

    Regards,

    buttman Friend
    #474689

    Seriously? How about new features offered by Extra Fields in K2 since 2.6.2.? I really counted on them and now your advice is not to upgrade and stick to the old version K2. How about future K2 upgrades? Come on, I’m sure you can fix this issue.

    Cheers,

    Olek

    Saguaros Moderator
    #474704

    Hi there,

    Currently, we only have this JA Wall template with K2 version updated to 2.5.7

    We are running full capacity in releasing monthly template and upgrading J!2.5 templates to be compatible with J25 and J30. We would love to get all of our products up to its latest version,

    Give us some time to get JA Wall updated for latest K2 version.

    Regards.

    digitalmediaguy Friend
    #474740

    BUT WE ALL HAVE BROKEN WEBSITES NOW….??? 🙁

    For those of us who did upgrade… Can you please provide a fix? Is there a way to go back down to the working version of k2 without loosing data? A way to preserve all my k2 items, tags, categories, etc?

    A fix would be appreciated… There are MANY customers that have this problem from what I’ve read…

    PRETTY PRETTY PLEASE?!?!?!

    buttman Friend
    #474742

    No worries. Simply download 2.6.1 from K2 website and install it over 2.6.2. Your site will be immediately up and running again.

    PS. You can get earlier versions from the blog section of K2 headquarters.

    inetis Friend
    #479105

    You must replace code that get the extra fields in the template.

    For example:
    [PHP]if(count($this->item->extra_fields)) {
    $extra_fields=K2ModelItem::getItemExtraFields($this->item->extra_fields);
    if (count($extra_fields)) {
    foreach ($extra_fields as $key=>$extraField) {
    if ($extraField->name == ‘FIELD NAME’) {
    $the_value = $extraField->value;
    break;
    }
    }
    }
    }[/PHP]

    with this one:
    [PHP]$the_value = $this->item->extraFields->FIELD_ALIAS->value;[/PHP]

    Then you have to edit the K2 category and set “show” to the “Extra Fields” in “Item view options in category listings”.

Viewing 9 posts - 1 through 9 (of 9 total)

This topic contains 9 replies, has 7 voices, and was last updated by  inetis 12 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum