string(150) "SELECT  COUNT(*) FROM `publication`
  
 WHERE ((`publication`.`topics` IN (5)) OR (`publication`.`topic` IN (5))) AND (`publication`.`lang` = :lang2)
"
object(PDOException)#93 (8) {
  ["message":protected]=>
  string(93) "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'publication.topics' in 'where clause'"
  ["string":"Exception":private]=>
  string(0) ""
  ["code":protected]=>
  string(5) "42S22"
  ["file":protected]=>
  string(58) "/public_html/laPuzzle/system/Som/Model/Mapper/Abstract.php"
  ["line":protected]=>
  int(307)
  ["trace":"Exception":private]=>
  array(9) {
    [0]=>
    array(6) {
      ["file"]=>
      string(58) "/public_html/laPuzzle/system/Som/Model/Mapper/Abstract.php"
      ["line"]=>
      int(307)
      ["function"]=>
      string(7) "execute"
      ["class"]=>
      string(12) "PDOStatement"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [1]=>
    array(6) {
      ["file"]=>
      string(58) "/public_html/laPuzzle/system/Som/Model/Mapper/Abstract.php"
      ["line"]=>
      int(563)
      ["function"]=>
      string(5) "query"
      ["class"]=>
      string(25) "Som_Model_Mapper_Abstract"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        &string(150) "SELECT  COUNT(*) FROM `publication`
  
 WHERE ((`publication`.`topics` IN (5)) OR (`publication`.`topic` IN (5))) AND (`publication`.`lang` = :lang2)
"
        [1]=>
        &array(1) {
          ["lang2"]=>
          string(2) "ru"
        }
      }
    }
    [2]=>
    array(6) {
      ["file"]=>
      string(51) "/public_html/laPuzzle/system/Som/Model/Abstract.php"
      ["line"]=>
      int(970)
      ["function"]=>
      string(8) "getCount"
      ["class"]=>
      string(25) "Som_Model_Mapper_Abstract"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(2) {
        [0]=>
        object(Publication_Model_Article)#91 (12) {
          ["_errors"]=>
          array(0) {
          }
          ["_data":protected]=>
          array(14) {
            ["id"]=>
            NULL
            ["title"]=>
            NULL
            ["descr"]=>
            NULL
            ["message"]=>
            NULL
            ["date_add"]=>
            NULL
            ["date_update"]=>
            NULL
            ["topic"]=>
            NULL
            ["custom_url"]=>
            NULL
            ["seo_description"]=>
            NULL
            ["seo_keywords"]=>
            NULL
            ["lang"]=>
            NULL
            ["id_channel"]=>
            int(0)
            ["tomain"]=>
            NULL
            ["pub_source"]=>
            NULL
          }
          ["_linkData":protected]=>
          array(0) {
          }
          ["_extraData":protected]=>
          array(0) {
          }
          ["_oldData":protected]=>
          array(0) {
          }
          ["_e":protected]=>
          NULL
          ["showValidateErrors"]=>
          bool(true)
          ["validators":protected]=>
          array(0) {
          }
          ["ignoreValidateFields":protected]=>
          array(0) {
          }
          ["_requiredFields":"Som_Model_Abstract":private]=>
          array(0) {
          }
          ["_m":"Component":private]=>
          NULL
          ["_e":"Component":private]=>
          NULL
        }
        [1]=>
        &array(2) {
          [0]=>
          array(1) {
            [0]=>
            array(2) {
              [0]=>
              array(4) {
                [0]=>
                string(5) "topic"
                [1]=>
                array(1) {
                  [0]=>
                  string(1) "5"
                }
                [2]=>
                string(1) "="
                [3]=>
                string(2) "OR"
              }
              [1]=>
              array(3) {
                [0]=>
                string(6) "topics"
                [1]=>
                array(1) {
                  [0]=>
                  string(1) "5"
                }
                [2]=>
                string(1) "="
              }
            }
          }
          [1]=>
          array(2) {
            [0]=>
            string(4) "lang"
            [1]=>
            string(2) "ru"
          }
        }
      }
    }
    [3]=>
    array(6) {
      ["file"]=>
      string(59) "/public_html/site/modules/Publication/DefaultController.php"
      ["line"]=>
      int(151)
      ["function"]=>
      string(5) "count"
      ["class"]=>
      string(18) "Som_Model_Abstract"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        &array(2) {
          [0]=>
          array(1) {
            [0]=>
            array(2) {
              [0]=>
              array(4) {
                [0]=>
                string(5) "topic"
                [1]=>
                array(1) {
                  [0]=>
                  string(1) "5"
                }
                [2]=>
                string(1) "="
                [3]=>
                string(2) "OR"
              }
              [1]=>
              array(3) {
                [0]=>
                string(6) "topics"
                [1]=>
                array(1) {
                  [0]=>
                  string(1) "5"
                }
                [2]=>
                string(1) "="
              }
            }
          }
          [1]=>
          array(2) {
            [0]=>
            string(4) "lang"
            [1]=>
            string(2) "ru"
          }
        }
      }
    }
    [4]=>
    array(4) {
      ["function"]=>
      string(14) "actionShowList"
      ["class"]=>
      string(29) "Publication_DefaultController"
      ["type"]=>
      string(2) "->"
      ["args"]=>
      array(0) {
      }
    }
    [5]=>
    array(4) {
      ["file"]=>
      string(54) "/public_html/laPuzzle/modules/Pages/PageController.php"
      ["line"]=>
      int(157)
      ["function"]=>
      string(14) "call_user_func"
      ["args"]=>
      array(1) {
        [0]=>
        &array(2) {
          [0]=>
          object(Publication_DefaultController)#79 (12) {
            ["_bootstrap":protected]=>
            NULL
            ["_module":protected]=>
            NULL
            ["blocks"]=>
            object(LaContainer)#83 (2) {
              ["_data":protected]=>
              array(2) {
                ["title"]=>
                string(12) "Журнал"
                ["metaTitle"]=>
                string(44) "Журнал - Банковское дело"
              }
              ["_index":protected]=>
              int(0)
            }
            ["layout"]=>
            string(13) "content.phtml"
            ["_cnf":protected]=>
            array(26) {
              ["site_id"]=>
              string(32) "9c0cd53fb654476f73561f4a8f147e68"
              ["charset"]=>
              string(5) "utf-8"
              ["siteTitle"]=>
              string(29) "Банковское дело"
              ["slow_log"]=>
              bool(true)
              ["route"]=>
              array(2) {
                ["page"]=>
                string(34) "%page%/:module/:controller/:action"
                ["default"]=>
                string(12) "%page%/:args"
              }
              ["new_install"]=>
              int(0)
              ["db"]=>
              array(2) {
                ["adapter"]=>
                string(5) "mysql"
                ["params"]=>
                array(8) {
                  ["host"]=>
                  string(9) "127.0.0.1"
                  ["port"]=>
                  string(4) "3306"
                  ["username"]=>
                  string(8) "bankdelo"
                  ["password"]=>
                  string(8) "bankdelo"
                  ["dbname"]=>
                  string(8) "bankdelo"
                  ["charset"]=>
                  string(4) "utf8"
                  ["collate"]=>
                  string(15) "utf8_unicode_ci"
                  ["profiler"]=>
                  bool(false)
                }
              }
              ["path"]=>
              array(10) {
                ["root"]=>
                string(13) "/public_html/"
                ["application"]=>
                string(22) "/public_html/laPuzzle/"
                ["libs"]=>
                string(27) "/public_html/laPuzzle/libs/"
                ["modules"]=>
                string(30) "/public_html/laPuzzle/modules/"
                ["models"]=>
                string(29) "/public_html/laPuzzle/models/"
                ["system"]=>
                string(29) "/public_html/laPuzzle/system/"
                ["themes"]=>
                string(29) "/public_html/laPuzzle/themes/"
                ["sitethemes"]=>
                string(25) "/public_html/site/themes/"
                ["files"]=>
                string(31) "/public_html/site/public/files/"
                ["tmp_img"]=>
                string(33) "/public_html/site/public/tmp/img/"
              }
              ["url"]=>
              array(4) {
                ["base"]=>
                string(23) "https://www.bankdelo.ru"
                ["public"]=>
                string(36) "https://www.bankdelo.ru/site/public/"
                ["files"]=>
                string(42) "https://www.bankdelo.ru/site/public/files/"
                ["tmp_img"]=>
                string(44) "https://www.bankdelo.ru/site/public/tmp/img/"
              }
              ["cache"]=>
              array(2) {
                ["on"]=>
                bool(false)
                ["memcache"]=>
                array(3) {
                  ["on"]=>
                  bool(true)
                  ["host"]=>
                  string(0) ""
                  ["port"]=>
                  string(0) ""
                }
              }
              ["multihost"]=>
              bool(false)
              ["cpanel"]=>
              string(24) "Cpanel_DefaultController"
              ["mod_list"]=>
              array(34) {
                [0]=>
                string(6) "Cpanel"
                [1]=>
                string(4) "File"
                [2]=>
                string(4) "Draw"
                [3]=>
                string(11) "CKTemplates"
                [4]=>
                string(7) "Sitemap"
                [5]=>
                string(4) "Test"
                [6]=>
                string(4) "Lang"
                [7]=>
                string(3) "Acl"
                [8]=>
                string(4) "Main"
                [9]=>
                string(9) "Installer"
                [10]=>
                string(6) "Socket"
                [11]=>
                string(4) "User"
                [12]=>
                string(10) "ExtraField"
                [13]=>
                string(5) "Pages"
                [14]=>
                string(13) "CodeGenerator"
                [15]=>
                string(3) "GEO"
                [16]=>
                string(11) "FormCreator"
                [17]=>
                string(7) "Captcha"
                [18]=>
                string(5) "Event"
                [19]=>
                string(7) "Banners"
                [20]=>
                string(11) "Publication"
                [21]=>
                string(8) "Document"
                [22]=>
                string(5) "Video"
                [23]=>
                string(7) "Mistake"
                [24]=>
                string(7) "Members"
                [25]=>
                string(4) "Poll"
                [26]=>
                string(8) "Feedback"
                [27]=>
                string(9) "Accordion"
                [28]=>
                string(7) "CEvents"
                [29]=>
                string(8) "Carousel"
                [30]=>
                string(7) "Gallery"
                [31]=>
                string(7) "SiteMap"
                [32]=>
                string(4) "Menu"
                [33]=>
                string(4) "Form"
              }
              ["page_mod"]=>
              string(20) "Pages_PageController"
              ["hashsalt"]=>
              string(0) ""
              ["secret_key"]=>
              string(12) "%secret_key%"
              ["cookiepath"]=>
              string(1) "/"
              ["cookiedomain"]=>
              string(11) "bankdelo.ru"
              ["theme"]=>
              string(8) "lapuzzle"
              ["headrc_consolidate"]=>
              bool(false)
              ["headrc_minify"]=>
              bool(false)
              ["adminemail"]=>
              string(17) "reclama@tpnews.ru"
              ["defaulttimezone"]=>
              string(13) "Europe/Moscow"
              ["pdf_service_url"]=>
              string(36) "https://www.bankdelo.ru/pdfconverter"
              ["debug"]=>
              array(1) {
                ["on"]=>
                bool(false)
              }
              ["save_log"]=>
              bool(false)
            }
            ["_db":protected]=>
            object(Som_Model_Mapper_Mysql)#2 (5) {
              ["tableQuote"]=>
              string(1) "`"
              ["typesMap":protected]=>
              array(4) {
                ["link"]=>
                array(1) {
                  ["convertor"]=>
                  object(Closure)#4 (2) {
                    ["this"]=>
                    *RECURSION*
                    ["parameter"]=>
                    array(2) {
                      ["$field"]=>
                      string(10) ""
                      ["$value"]=>
                      string(10) ""
                    }
                  }
                }
                ["timestamp without time zone"]=>
                array(1) {
                  ["convertor"]=>
                  object(Closure)#5 (2) {
                    ["this"]=>
                    *RECURSION*
                    ["parameter"]=>
                    array(2) {
                      ["$field"]=>
                      string(10) ""
                      ["$value"]=>
                      string(10) ""
                    }
                  }
                }
                ["bigint"]=>
                array(1) {
                  ["convertor"]=>
                  object(Closure)#6 (2) {
                    ["this"]=>
                    *RECURSION*
                    ["parameter"]=>
                    array(2) {
                      ["$field"]=>
                      string(10) ""
                      ["$value"]=>
                      string(10) ""
                    }
                  }
                }
                ["int"]=>
                array(1) {
                  ["convertor"]=>
                  object(Closure)#7 (2) {
                    ["this"]=>
                    *RECURSION*
                    ["parameter"]=>
                    array(2) {
                      ["$field"]=>
                      string(10) ""
                      ["$value"]=>
                      string(10) ""
                    }
                  }
                }
              }
              ["_dbinfo":protected]=>
              array(0) {
              }
              ["_affected_rows":protected]=>
              int(1)
              ["_adapter":protected]=>
              object(PDO)#3 (0) {
              }
            }
            ["_user":protected]=>
            object(User_Model_User)#36 (13) {
              ["_changedPass":"User_Model_User":private]=>
              bool(false)
              ["_errors"]=>
              array(0) {
              }
              ["_data":protected]=>
              array(22) {
                ["user_id"]=>
                NULL
                ["login"]=>
                NULL
                ["email"]=>
                NULL
                ["name"]=>
                NULL
                ["lastname"]=>
                NULL
                ["middlename"]=>
                NULL
                ["password"]=>
                NULL
                ["passfunc"]=>
                NULL
                ["passsalt"]=>
                NULL
                ["lostpass"]=>
                NULL
                ["ip"]=>
                string(14) "100.26.176.182"
                ["regdate"]=>
                NULL
                ["birthdate"]=>
                NULL
                ["logcount"]=>
                int(0)
                ["lastlog"]=>
                int(0)
                ["lastvisit"]=>
                int(0)
                ["sid"]=>
                string(0) ""
                ["sidtime"]=>
                int(0)
                ["token"]=>
                string(0) ""
                ["banexpire"]=>
                int(0)
                ["timezone"]=>
                string(13) "Europe/Moscow"
                ["gender"]=>
                int(0)
              }
              ["_linkData":protected]=>
              array(0) {
              }
              ["_extraData":protected]=>
              array(0) {
              }
              ["_oldData":protected]=>
              array(1) {
                ["ip"]=>
                NULL
              }
              ["_e":protected]=>
              NULL
              ["showValidateErrors"]=>
              bool(true)
              ["validators":protected]=>
              array(0) {
              }
              ["ignoreValidateFields":protected]=>
              array(0) {
              }
              ["_requiredFields":"Som_Model_Abstract":private]=>
              array(0) {
              }
              ["_m":"Component":private]=>
              NULL
              ["_e":"Component":private]=>
              NULL
            }
            ["_acl":protected]=>
            object(Acl)#84 (12) {
              ["_errors"]=>
              array(0) {
              }
              ["_data":protected]=>
              array(9) {
                ["id"]=>
                NULL
                ["user_group_id"]=>
                int(0)
                ["user_id"]=>
                NULL
                ["aco"]=>
                NULL
                ["description"]=>
                string(0) ""
                ["allow"]=>
                int(0)
                ["created_by"]=>
                NULL
                ["created"]=>
                NULL
                ["module_name"]=>
                string(0) ""
              }
              ["_linkData":protected]=>
              array(0) {
              }
              ["_extraData":protected]=>
              array(0) {
              }
              ["_oldData":protected]=>
              array(0) {
              }
              ["_e":protected]=>
              NULL
              ["showValidateErrors"]=>
              bool(true)
              ["validators":protected]=>
              array(0) {
              }
              ["ignoreValidateFields":protected]=>
              array(0) {
              }
              ["_requiredFields":"Som_Model_Abstract":private]=>
              array(0) {
              }
              ["_m":"Component":private]=>
              NULL
              ["_e":"Component":private]=>
              NULL
            }
            ["_params":protected]=>
            array(4) {
              ["TITLE"]=>
              string(46) "Журнал «Банковское дело»"
              ["t_5"]=>
              string(1) "1"
              ["template"]=>
              string(23) "listArticleMagazine.php"
              ["show_template"]=>
              string(23) "showArticleMagazine.php"
            }
            ["redirectBack"]=>
            bool(true)
            ["_e":"Component":private]=>
            NULL
            ["_m":"Component":private]=>
            NULL
          }
          [1]=>
          string(14) "actionShowList"
        }
      }
    }
    [6]=>
    array(6) {
      ["file"]=>
      string(54) "/public_html/laPuzzle/modules/Pages/PageController.php"
      ["line"]=>
      int(69)
      ["function"]=>
      string(19) "runControllerAction"
      ["class"]=>
      string(20) "Pages_PageController"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        &array(8) {
          ["action"]=>
          string(8) "showList"
          ["module"]=>
          string(11) "Publication"
          ["controller"]=>
          string(29) "Publication_DefaultController"
          ["uri"]=>
          string(6) "%page%"
          ["actionParams"]=>
          array(0) {
          }
          ["layout"]=>
          string(13) "content.phtml"
          ["modulesParams"]=>
          array(4) {
            ["TITLE"]=>
            string(46) "Журнал «Банковское дело»"
            ["t_5"]=>
            string(1) "1"
            ["template"]=>
            string(23) "listArticleMagazine.php"
            ["show_template"]=>
            string(23) "showArticleMagazine.php"
          }
          ["blocks"]=>
          array(2) {
            ["title"]=>
            string(12) "Журнал"
            ["metaTitle"]=>
            string(44) "Журнал - Банковское дело"
          }
        }
      }
    }
    [7]=>
    array(6) {
      ["file"]=>
      string(39) "/public_html/laPuzzle/system/Kernel.php"
      ["line"]=>
      int(730)
      ["function"]=>
      string(6) "render"
      ["class"]=>
      string(20) "Pages_PageController"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(1) {
        [0]=>
        object(Pages_Model_Page)#30 (13) {
          ["_translatedData":"Lang_Decorator_Model":private]=>
          array(2) {
            ["name"]=>
            string(12) "Журнал"
            ["enable"]=>
            string(1) "1"
          }
          ["_errors"]=>
          array(0) {
          }
          ["_data":protected]=>
          array(10) {
            ["id"]=>
            string(3) "231"
            ["name"]=>
            string(12) "Журнал"
            ["url"]=>
            string(8) "magazine"
            ["sort"]=>
            string(2) "15"
            ["template"]=>
            string(13) "content.phtml"
            ["enable"]=>
            string(1) "1"
            ["parent"]=>
            string(1) "0"
            ["param"]=>
            string(0) ""
            ["show_menu"]=>
            string(1) "1"
            ["date_update"]=>
            string(19) "2018-06-11 21:29:14"
          }
          ["_linkData":protected]=>
          array(0) {
          }
          ["_extraData":protected]=>
          array(1) {
            ["action"]=>
            array(5) {
              ["action"]=>
              string(8) "showList"
              ["module"]=>
              string(11) "Publication"
              ["controller"]=>
              string(29) "Publication_DefaultController"
              ["uri"]=>
              string(6) "%page%"
              ["actionParams"]=>
              array(0) {
              }
            }
          }
          ["_oldData":protected]=>
          array(0) {
          }
          ["_e":protected]=>
          NULL
          ["showValidateErrors"]=>
          bool(true)
          ["validators":protected]=>
          array(0) {
          }
          ["ignoreValidateFields":protected]=>
          array(0) {
          }
          ["_requiredFields":"Som_Model_Abstract":private]=>
          array(0) {
          }
          ["_m":"Component":private]=>
          NULL
          ["_e":"Component":private]=>
          NULL
        }
      }
    }
    [8]=>
    array(6) {
      ["file"]=>
      string(22) "/public_html/index.php"
      ["line"]=>
      int(102)
      ["function"]=>
      string(3) "run"
      ["class"]=>
      string(6) "Kernel"
      ["type"]=>
      string(2) "::"
      ["args"]=>
      array(0) {
      }
    }
  }
  ["previous":"Exception":private]=>
  NULL
  ["errorInfo"]=>
  array(3) {
    [0]=>
    string(5) "42S22"
    [1]=>
    int(1054)
    [2]=>
    string(53) "Unknown column 'publication.topics' in 'where clause'"
  }
}