Error

Call to undefined method clsLoad::findAllTblCategoriesBySlug()

/home/studioma/maruska.rs/protected/controllers/SiteController.php(488)

476             case $category_slug == 'tradition_motifs':
477                 $posted->sub_category     = $category_slug;
478                 $posted->category         = $data->version;
479                 $mCategory->id            = 'tradition_motifs';
480                 break;
481             default:
482                 // get type from first element
483                 $cat_type                 = explode('-', $category_slug);
484                 $cat_type                 = ucfirst($cat_type[0]);
485 
486                 // Find selected category
487                 $fnc       = 'findAllTblCategoriesBySlug' . $cat_type;
488                 $mCategory = clsLoad::$fnc($category_slug);
489                 
490                 $posted->category     = $data->version;
491                 $posted->sub_category = $mCategory->id;
492                 break;
493         }
494 
495         $visitor_country_code = clsFunctions::getSelectedCountry();
496         $price_areas          = clsFunctions::getPriceAreasByCountry(array('id_countries' => $visitor_country_code, 'return' => 'all_data'));
497 
498         // Find all products for selected
499         $opt_sort       = (object) array(
500             'return'        => 'array',

Stack Trace

#9
+
 /home/studioma/maruska.rs/index.php(12): CApplication->run()
07 // change the following paths if necessary
08 $yii    = dirname(__FILE__) . '/yii/framework/yii.php';
09 $config = dirname(__FILE__) . '/protected/config/main.php';
10 
11 require_once($yii);
12 Yii::createWebApplication($config)->run();
2024-03-29 05:43:56 LiteSpeed Yii Framework/1.1.14