test melih
 melih
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • gmerino Friend
    #684160

    Hi,

    I am trying to deploy a responsive grid for K2 into Uber template but it seems there is a problem when it tries to list items and category. It happens when I’m trying to run over all items through a foreach method returning me:

    Warning: Invalid argument supplied for foreach() in ….default.php line X

    My question is, can I integrate K2 properly with Uber/T3 framework?

    Thanks a lot!

    Adam M Moderator
    #684315

    Hi @gmerino,

    Actually we have many templates are using with K2 (at the moment, we haven’t had any demo with Uber template yet) and you can use K2 with Uber without any problem.

    Regrading the error message, you might want to recheck your modified code instead.

    Adam M Moderator
    #748733

    Hi @gmerino,

    Actually we have many templates are using with K2 (at the moment, we haven’t had any demo with Uber template yet) and you can use K2 with Uber without any problem.

    Regrading the error message, you might want to recheck your modified code instead.

    gmerino Friend
    #686073

    Hi Adam,

    It is currently working into another templated based on Expose framework. And what I’m doing is:

    foreach($items as $key=>$item)

    It’s weird…it should be working properly and this is why I’m asking if K2 works.

    gmerino Friend
    #748929

    Hi Adam,

    It is currently working into another templated based on Expose framework. And what I’m doing is:

    foreach($items as $key=>$item)

    It’s weird…it should be working properly and this is why I’m asking if K2 works.

    jooservices Friend
    #686074

    <em>@gmerino 492449 wrote:</em><blockquote>Hi,

    I am trying to deploy a responsive grid for K2 into Uber template but it seems there is a problem when it tries to list items and category. It happens when I’m trying to run over all items through a foreach method returning me:

    Warning: Invalid argument supplied for foreach() in ….default.php line X

    My question is, can I integrate K2 properly with Uber/T3 framework?

    Thanks a lot!</blockquote>

    About your error code please check variable before foreach

    if (is_array($items)) { do your code }

    jooservices Friend
    #748930

    <em>@gmerino 492449 wrote:</em><blockquote>Hi,

    I am trying to deploy a responsive grid for K2 into Uber template but it seems there is a problem when it tries to list items and category. It happens when I’m trying to run over all items through a foreach method returning me:

    Warning: Invalid argument supplied for foreach() in ….default.php line X

    My question is, can I integrate K2 properly with Uber/T3 framework?

    Thanks a lot!</blockquote>

    About your error code please check variable before foreach

    if (is_array($items)) { do your code }

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

This topic contains 7 replies, has 3 voices, and was last updated by  jooservices 9 years, 4 months ago.

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