Error message when admin

Hi,


have an old system running 3.6.2



Recently the system started to deliver this messages.

[quote]MySource Error

File : [SYSTEM_ROOT]/core/include/assertions.inc

Line : 504



[ASSERT EXCEPTION] [string] "0" is not a valid asset ID (LINE 790 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]

------------------------------------------------------------------

Root Urls

nordiskmat.se

------------------------------------------------------------------

Current URL

http://nordiskmat.se//?a=0

------------------------------------------------------------------

Back Trace

0 => array (

“function” => “sq_error_handler”,

“args” => array (

  0 => 256,

  1 => “[ASSERT EXCEPTION] [string] \“0\” is not a valid asset ID (LINE 790 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]”,

  2 => “[SYSTEM_ROOT]/core/include/locale_manager.inc”,

  3 => 516,

  4 => array (

  [Max Depth Reached]

  )

)

),

1 => array (

“file” => “[SYSTEM_ROOT]/core/include/locale_manager.inc”,

“line” => 516,

“function” => “trigger_error”,

“args” => array (

  0 => “[ASSERT EXCEPTION] [string] \“0\” is not a valid asset ID (LINE 790 IN [SYSTEM_ROOT]/core/include/asset_manager.inc) [SYS0270]”,

  1 => 256

)

),

2 => array (

“file” => “[SYSTEM_ROOT]/core/include/general.inc”,

“line” => 896,

“function” => “raiseerror”,

“class” => “locale_manager”,

“type” => “->”,

“args” => array (

  0 => “SYS0270”,

  1 => 256,

  2 => array (

  [Max Depth Reached]

  )

)

),

3 => array (

“file” => “[SYSTEM_ROOT]/core/include/assertions.inc”,

“line” => 504,

“function” => “trigger_localised_error”,

“args” => array (

  0 => “SYS0270”,

  1 => 256,

  2 => “[string] \“0\” is not a valid asset ID”,

  3 => 790,

  4 => “[SYSTEM_ROOT]/core/include/asset_manager.inc”

)

),

4 => array (

“file” => “[SYSTEM_ROOT]/core/include/assertions.inc”,

“line” => 478,

“function” => “trigger_exception”,

“args” => array (

  0 => “[string] \“0\” is not a valid asset ID”,

  1 => ,

  2 => 1

)

),

5 => array (

“file” => “[SYSTEM_ROOT]/core/include/asset_manager.inc”,

“line” => 790,

“function” => “assert_valid_assetid”,

“args” => array (

  0 => “0”

)

),

6 => array (

“file” => “[SYSTEM_ROOT]/core/include/mysource.inc”,

“line” => 339,

“function” => “getasset”,

“class” => “asset_manager”,

“type” => “->”,

“args” => array (

  0 => “0”

)

),

7 => array (

“file” => “[SYSTEM_ROOT]/core/web/index.php”,

“line” => 37,

“function” => “start”,

“class” => “mysource”,

“type” => “->”,

“args” => array (

  [Empty]

)

)[/quote]





Any ideas?

Someone is requesting an invalid URL. You should check your bodycopies don't contain a link to an asset that no longer exists.

The problem is that I get this message when working in admin mode (back-end).

What are you doing when you get that message?

That's the thing I cant find out. I havent been able to back-trace it to any special process.


I thought that you might know anything about it. A known problem.

[quote]I thought that you might know anything about it. A known problem.
[right][post=“12143”]<{POST_SNAPBACK}>[/post][/right][/quote]



Nothing jumps to the top of my head, except what I mentioned before: If you have a link in your page to an asset that is no longer in the system, you can sometimes see a message like this one, particuarly when you commit or open the Edit Contents screen for it.