*

Dan Dan

  • ***
  • 40 posts
Error Osclass 4.2.1 -Admin panel - Add Item Button
« on: December 12, 2020, 11:02:46 PM »
In the administration panel. Add Item Button:
 Warning: count(): Parameter must be an array or an object that implements Countable in C:\wamp64\www\mysite.com\oc-includes\osclass\frm\Item.form.class.php on line 682
Linie 682:
Code: [Select]
    if(count($cities) >= 1 || $generate_blank == true) {
      if( Session::newInstance()->_getForm('cityId') > 0 ) {
        $item['fk_i_city_id'] = Session::newInstance()->_getForm('cityId');
      }
« Last Edit: December 13, 2020, 02:25:16 PM by Dan Dan »

*

MB Themes

Re: Error Osclass 4.2.1 -Admin panel - Add Item Button
« Reply #1 on: December 14, 2020, 10:13:05 AM »
@Dan
Thanks, will be fixed in 4.2.2
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots