System error

error:  Can't call method "image_userpic_id" on an undefined value at /var/www/wellness/source/wellness/comps/www/inc/seminars-item.msn line 96.
context: 
... 
92:  }
93:  }
94:  }
95: 
96:  my $photo;
97:  if ($study->image_tile_id) {
98:  if (scalar($study->image_tile_id) > 0) {
99:  $photo = get_multimedia($study->image_tile_id->[0]);
100:  }
... 
code stack:  /var/www/wellness/source/wellness/comps/www/inc/seminars-item.msn:96
/var/www/wellness/source/wellness/comps/www/obuchenie/otzyv/index.msn:39
/var/www/wellness/source/wellness/comps/www/obuchenie/dhandler:48
/var/www/wellness/source/wellness/comps/www/autohandler:171
/usr/local/share/perl5/HTML/Mason/Request.pm:951
/var/www/wellness/programs/apache/mason/data/obj/2130762965/project/www/autohandler.obj:7
raw error






























Can't call method "image_userpic_id" on an undefined value at /var/www/wellness/source/wellness/comps/www/inc/seminars-item.msn line 96.


Trace begun at /usr/local/share/perl5/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t call method "image_userpic_id" on an undefined value at /var/www/wellness/source/wellness/comps/www/inc/seminars-item.msn line 96.^J') called at /var/www/wellness/source/wellness/comps/www/inc/seminars-item.msn line 96
HTML::Mason::Commands::__ANON__('study', 'Wellness::Study::Seminar=HASH(0x3e5be40)', 'elem', 'div') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x477db18)', 'study', 'Wellness::Study::Seminar=HASH(0x3e5be40)', 'elem', 'div') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1305
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, 'study', 'Wellness::Study::Seminar=HASH(0x3e5be40)', 'elem', 'div') called at /var/www/wellness/source/wellness/comps/www/obuchenie/otzyv/index.msn line 39
HTML::Mason::Commands::__ANON__('phone1', '', 'pdata', 'HASH(0x403b5c0)', 'phone', '', 'seminar_uri', 'Елтышева Лидия: Семинар очень понравился!!!! Ведущей семинара огромное спасибо!!!! Очень доступно и интересно донесла до нас и теорию и практику!!!', 'review_id', 'Теперь я имею представление, как правильно выстроить урок... Получила массу положительных эмоций! Организаторам отдельное спасибо)))  надеюсь до скорых встреч!!!!') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x44fe8b8)', 'phone1', '', 'pdata', 'HASH(0x403b5c0)', 'phone', '', 'seminar_uri', 'Елтышева Лидия: Семинар очень понравился!!!! Ведущей семинара огромное спасибо!!!! Очень доступно и интересно донесла до нас и теорию и практику!!!', 'review_id', 'Теперь я имею представление, как правильно выстроить урок... Получила массу положительных эмоций! Организаторам отдельное спасибо)))  надеюсь до скорых встреч!!!!') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1305
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, 'phone1', '', 'pdata', 'HASH(0x403b5c0)', 'phone', '', 'seminar_uri', 'Елтышева Лидия: Семинар очень понравился!!!! Ведущей семинара огромное спасибо!!!! Очень доступно и интересно донесла до нас и теорию и практику!!!', 'review_id', 'Теперь я имею представление, как правильно выстроить урок... Получила массу положительных эмоций! Организаторам отдельное спасибо)))  надеюсь до скорых встреч!!!!') called at /var/www/wellness/source/wellness/comps/www/obuchenie/dhandler line 48
HTML::Mason::Commands::__ANON__('phone1', '', 'phone', '', 'pdata', 'HASH(0x403b5c0)') called at /usr/local/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x3ffd1b8)', 'phone1', '', 'phone', '', 'pdata', 'HASH(0x403b5c0)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1305
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef, 'phone1', '', 'phone', '', 'pdata', 'HASH(0x403b5c0)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 958
HTML::Mason::Request::call_next('HTML::Mason::Request::ApacheHandler=HASH(0x4027318)', 'phone1', '', 'phone', '', 'pdata', 'HASH(0x403b5c0)') called at /var/www/wellness/source/wellness/comps/www/autohandler line 171
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 160
HTML::Mason::Component::run_dynamic_sub('HTML::Mason::Component::FileBased=HASH(0x403c2b0)', 'main') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 951
HTML::Mason::Request::call_dynamic('HTML::Mason::Request::ApacheHandler=HASH(0x4027318)', 'main') called at /var/www/wellness/programs/apache/mason/data/obj/2130762965/project/www/autohandler.obj line 7
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl5/HTML/Mason/Component.pm line 138
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x403c2b0)') called at /usr/local/share/perl5/HTML/Mason/Request.pm line 1300
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 1295
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 484
eval {...} at /usr/local/share/perl5/HTML/Mason/Request.pm line 436
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x4027318)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x4027318)') called at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x3dcf058)', 'Apache=SCALAR(0x3fcb250)') called at /var/www/wellness/source/wellness/lib/Ontico/Apache/Handlers.pm line 132
Ontico::Apache::Handlers::request_handler('Apache=SCALAR(0x3fcb250)') called at /dev/null line 0
eval {...} at /dev/null line 0