Error

Description

Non-static method categories::getPrPostCategories() cannot be called statically

Source File

/data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/modules/models/categories.php (370)

0368:     public static function printCategoriesMultiselect($sSelectName = 'categories', $aSelected = array()){
0369:         generic::addJs('www/js/multiselect.js');
0370: $aCategories = self::getPrPostCategories();
0371: $_ = '<select multiple name="'.$sSelectName.'[]" class="gs_multiselect" id="s_links" size="15">'; 0372: foreach($aCategories as $category){ 0373: $selected = (in_array($category['Id'], $aSelected) ? ' selected="selected"' : '');

Stack Trace

#0 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/modules/models/monitoring.php(327): categories::printCategoriesMultiselect('category', Array)
#1 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/modules/models/monitoring.php(360): monitoring->printPage('', 'default', 'default')
#2 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/base_class.php(267): monitoring->ReplaceCustomTag('PRINT_PAGE', 'default', 'default', 'default', '', 0)
#3 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/base_class.php(335): base_class->ProcessTag('PRINT_PAGE', 'default', 'default', 'default', 0)
#4 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/base_class.php(377): base_class->ProcessTemplate('<.PRINT_PAGE.>', 'default', 'default', 'default', 0)
#5 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/mainclass.php(87): base_class->Render('default', 'default', 'default')
#6 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/mainclass.php(1077): mainclass->printDefaultBody('default', 'default')
#7 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/base_class.php(267): mainclass->ReplaceCustomTag('DEFAULT_BODY', 'default', 'default', 'default', '', 0)
#8 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/base_class.php(335): base_class->ProcessTag('DEFAULT_BODY', 'default', 'default', 'default', 0)
#9 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/core/base_class.php(377): base_class->ProcessTemplate('<!doctype html>...', 'default', 'default', 'default', 0)
#10 /data/e/f/ef325c86-9bc2-455a-b603-13d8dc28771c/prspravodajstvo.sk/web/www/index.php(84): base_class->Render('default', 'default', 'default')
#11 {main}
2024-11-21 07:26