System error

error:  Can't call method "object" on an undefined value at /httpd/vhosts/www.mactrade.de/mason/nav/dhandler line 30.
context: 
... 
26:  ########## Warenkorbinhalt ändern
27:  if ((defined $action) && ($action=~/^[1|2]$/) && (defined $object) && (defined $mod)) {
28:  if ($action==1 and $object!=5075) {
29:  my $ins=new RV::SHOP::Instance($object);
30:  $key=$ins->key if ($m->scomp("/static/promocount", obj=>$ins->object));
31:  $wk->add($ins,$mod);
32:  $session{nav_site}=2;
33:  $session{did_wk_add}=$object;
34:  } elsif ($action==2) {
... 
code stack:  /httpd/vhosts/www.mactrade.de/mason/nav/dhandler:30
/usr/share/perl5/HTML/Mason/Component.pm:135
/httpd/vhosts/www.mactrade.de/mason/autohandler:74
/usr/share/perl5/HTML/Mason/Component.pm:135
raw error






























Can't call method "object" on an undefined value at /httpd/vhosts/www.mactrade.de/mason/nav/dhandler line 30.


Trace begun at /usr/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "object" on an undefined value at /httpd/vhosts/www.mactrade.de/mason/nav/dhandler line 30.^J') called at /httpd/vhosts/www.mactrade.de/mason/nav/dhandler line 30
MactradeSHOP::Mason::Components::__ANON__('action', 1, 'mod', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x93048e0)', 'action', 1, 'mod', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1256
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, 'action', 1, 'mod', 1) called at /httpd/vhosts/www.mactrade.de/mason/autohandler line 74
MactradeSHOP::Mason::Components::__ANON__('action', 1, 'mod', 1) called at /usr/share/perl5/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x920a610)', 'action', 1, 'mod', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 1251
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 1246
HTML::Mason::Request::comp(undef, undef, undef, 'action', 1, 'mod', 1) called at /usr/share/perl5/HTML/Mason/Request.pm line 460
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 460
eval {...} at /usr/share/perl5/HTML/Mason/Request.pm line 412
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9630868)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 165
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x9630868)') called at /usr/share/perl5/HTML/Mason/ApacheHandler.pm line 832
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x8d1ec44)', 'Apache=SCALAR(0x95c2994)') called at /httpd/vhosts/www.mactrade.de/etc/handler.pl line 238
MactradeSHOP::Mason::handler('Apache=SCALAR(0x95c2994)') called at /dev/null line 0
eval {...} at /dev/null line 0