Have got the following warning message appearing on any site map assets I create. It occurs as soon as I add the asset.
I could just turn print error messages off, but thought there may be a simple explanation.
File: [SYSTEM_ROOT]/core/include/asset.inc Line: 2490
Message: Attribute "show_type_2" not found for Asset"page_site_map"
Backtrace: Show
0 => array (
"function" => "sq_error_handler",
"args" => array (
0 => 512,
1 => "Attribute \"show_type_2\" not found for Asset\"page_site_map\"",
2 => "[SYSTEM_ROOT]/core/include/asset.inc",
3 => 2490,
4 => array (
[Max Depth Reached]
)
)
),
1 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
"line" => 2490,
"function" => "trigger_error",
"args" => array (
0 => "Attribute \"show_type_2\" not found for Asset\"page_site_map\"",
1 => 512
)
),
2 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
"line" => 785,
"function" => "getattribute",
"class" => "page_site_map",
"type" => "->",
"args" => array (
0 => "show_type_2"
)
),
3 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset_edit_interface.inc",
"line" => 690,
"function" => "printeditinterface",
"class" => "asset_edit_interface",
"type" => "->",
"args" => array (
0 => "[SYSTEM_ROOT]/packages/cms/page_templates/page_site_map/edit_interface_screen_details.xml",
1 => new page_site_map Object (
[Max Depth Reached]
),
2 => new backend_outputter Object (
[Max Depth Reached]
),
3 => ,
4 => array (
[Max Depth Reached]
)
)
),
4 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset.inc",
"line" => 3040,
"function" => "paint",
"class" => "asset_edit_interface",
"type" => "->",
"args" => array (
0 => new page_site_map Object (
[Max Depth Reached]
),
1 => new backend_outputter Object (
[Max Depth Reached]
),
2 =>
)
),
5 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset_manager_edit_fns.inc",
"line" => 197,
"function" => "paintbackend",
"class" => "page_site_map",
"type" => "->",
"args" => array (
0 => new backend_outputter Object (
[Max Depth Reached]
)
)
),
6 => array (
"file" => "[SYSTEM_ROOT]/core/include/asset_manager.inc",
"line" => 4455,
"function" => "paintbackend",
"class" => "asset_manager_edit_fns",
"type" => "->",
"args" => array (
[Empty]
)
),
7 => array (
"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
"line" => 827,
"function" => "paintbackend",
"class" => "asset_manager",
"type" => "->",
"args" => array (
0 => new backend Object (
[Max Depth Reached]
)
)
),
8 => array (
"file" => "[SYSTEM_ROOT]/core/include/backend.inc",
"line" => 170,
"function" => "_printmain",
"class" => "backend",
"type" => "->",
"args" => array (
[Empty]
)
),
9 => array (
"file" => "[SYSTEM_ROOT]/core/include/mysource.inc",
"line" => 268,
"function" => "paint",
"class" => "backend",
"type" => "->",
"args" => array (
[Empty]
)
),
10 => array (
"file" => "[SYSTEM_ROOT]/core/web/index.php",
"line" => 38,
"function" => "start",
"class" => "mysource",
"type" => "->",
"args" => array (
[Empty]
)
)
Looks like you have upgraded your code without running a step_03.php to upgrade the database and attributes. The code is looking for an attribute that hasn't been added to the attribute list in the database.
:o Squiz did the upgrade.
Do you know what other problems may arrise because of that?
Not sure. I would recommend giving our Support Division a call to get them to rectify this issue.