Warning: [mysql error 1054] Nezn-Bámý sloupec 'nb_categories' v field list

INSERT IGNORE INTO piwigo_user_cache_categories
  (user_id,cat_id,date_last,max_date_last,nb_images,count_images,nb_categories,count_categories)
  VALUES('2','9','2019-09-07 05:46:29','2019-09-07 05:46:29','363','363','0','0')
  , ('2','8','2019-02-09 09:57:56','2019-02-09 09:57:56','59','59','0','0')
  , ('2','7','2019-04-13 06:30:49','2019-04-13 06:30:49','313','313','0','0')
  , ('2','6','2019-06-23 18:10:53','2019-06-23 18:10:53','873','873','0','0')
  , ('2','5','2019-09-07 05:45:45','2019-09-07 05:45:45','857','857','0','0') in /DISK2/WWW/pivovary.info/beergirl/include/dblayer/functions_mysqli.inc.php on line 845
Warning: [mysql error 1054] Nezn-Bámý sloupec 'last_photo_date' v field list

INSERT IGNORE INTO piwigo_user_cache
  (user_id, need_update, cache_update_time, forbidden_categories, nb_total_images,
    last_photo_date,
    image_access_type, image_access_list)
  VALUES
  (2,'false',1575821789,'0',2465,'2019-09-07 05:46:29','NOT IN','0') in /DISK2/WWW/pivovary.info/beergirl/include/dblayer/functions_mysqli.inc.php on line 845
Warning: [mysql error 1054] Nezn-Bámý sloupec 'nb_available_tags' v field list

UPDATE piwigo_user_cache
  SET nb_available_tags = '0'
  WHERE user_id = '2' in /DISK2/WWW/pivovary.info/beergirl/include/dblayer/functions_mysqli.inc.php on line 845
Warning: [mysql error 1054] Nezn-Bámý sloupec 'nb_available_comments' v field list

UPDATE piwigo_user_cache
  SET nb_available_comments = '0'
  WHERE user_id = '2' in /DISK2/WWW/pivovary.info/beergirl/include/dblayer/functions_mysqli.inc.php on line 845
Warning: [mysql error 1054] Nezn-Bámý sloupec 'nb_categories' v field list

SELECT
    c.*,
    user_representative_picture_id,
    nb_images,
    date_last,
    max_date_last,
    count_images,
    nb_categories,
    count_categories
  FROM piwigo_categories c
    INNER JOIN piwigo_user_cache_categories ucc
    ON id = cat_id
    AND user_id = 2
  WHERE id_uppercat is NULL
      
  ORDER BY rank in /DISK2/WWW/pivovary.info/beergirl/include/dblayer/functions_mysqli.inc.php on line 845
Fatal error: Call to a member function fetch_assoc() on boolean in /DISK2/WWW/pivovary.info/beergirl/include/dblayer/functions_mysqli.inc.php on line 226