Whenever I try to access the search page I get the following error
MySource Error
File: [SYSTEM_ROOT]/core/include/assertions.inc Line: 479
Message: [ASSERT EXCEPTION] [string] "0" is not a valid asset ID (LINE 725 IN [SYSTEM_ROOT]/core/include/asset_manager.inc)
Backtrace: Show
On clicking show the following code pops up
0 => array (
"function" => "sq_error_handler",
"args" => array (
0 => 256,
1 => "[ASSERT EXCEPTION] [string] \"0\" is not a valid asset ID (LINE 725 IN [SYSTEM_ROOT]/core/include/asset_manager.inc)",
2 => "[SYSTEM_ROOT]/core/include/assertions.inc",
3 => 479,
4 => array (
[Max Depth Reached]
)
)
),
1 => array (
"file" => "[SYSTEM_ROOT]/core/include/assertions.inc",
"line" => 479,
"function" => "trigger_error",
"args" => array (
0 => "[ASSERT EXCEPTION] [string] \"0\" is not a valid asset ID (LINE 725 IN [SYSTEM_ROOT]/core/include/asset_manager.inc)",
1 => 256
)
),
2 => array (
"file" => "[SYSTEM_ROOT]/core/include/assertions.inc",
"line" => 454,
"function" => "trigger_exception",
"args" => array (
0 => "[string] \"0\" is not a valid asset ID",
1 => ,
2 => 1
)
),
3 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",
"line" => 725,
"function" => "assert_valid_assetid",
"args" => array (
0 => "0"
)
),
4 => array (
"file" => "[SYSTEM_ROOT]/packages/search/search_page/search_page.inc",
"line" => 1590,
"function" => "getasset",
"class" => "asset_manager",
"type" => "->",
"args" => array (
0 => "0"
)
),
5 => array (
"file" => "[SYSTEM_ROOT]/packages/search/search_page/search_page.inc",
"line" => 266,
"function" => "_getsearchedqueries",
"class" => "search_page",
"type" => "->",
"args" => array (
[Empty]
)
),
6 => array (
"file" => "[SYSTEM_ROOT]/data/private/assets/design_customisation/113/design_file.php",
"line" => 319,
"function" => "printbody",
"class" => "search_page",
"type" => "->",
"args" => array (
[Empty]
)
),
7 => array (
"file" => "[SYSTEM_ROOT]/core/assets/designs/design/design.inc",
"line" => 711,
"args" => array (
0 => "[SYSTEM_ROOT]/data/private/assets/design_customisation/113/design_file.php"
),
"function" => "require_once"
),
8 => array (
"file" => "[SYSTEM_ROOT]/core/assets/designs/design_customisation/design_customisation.inc",
"line" => 437,
"function" => "paint",
"class" => "design",
"type" => "::",
"args" => array (
0 => new search_page Object (
[Max Depth Reached]
),
1 => array (
[Max Depth Reached]
),
2 => array (
[Max Depth Reached]
)
)
),
9 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
"line" => 2974,
"function" => "paint",
"class" => "design_customisation",
"type" => "->",
"args" => array (
0 => new search_page Object (
[Max Depth Reached]
)
)
),
10 => array (
"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",
"line" => 323,
"function" => "printfrontend",
"class" => "search_page",
"type" => "->",
"args" => array (
[Empty]
)
),
11 => array (
"file" => "[SYSTEM_ROOT]/core/web/index.php",
"line" => 37,
"function" => "start",
"class" => "mysource",
"type" => "->",
"args" => array (
[Empty]
)
)
How do I fix this and get my Search Page working?