System error

error:  Can't use an undefined value as an ARRAY reference at /home/hydrop/Hydrop/sources/comps/www/comps/header.msn line 23.
context: 
... 
19:  <script src="/js/modernizr.min.js"></script>
20:  %
21:  <script>
22:  window.dataLayer = window.dataLayer || [];
23:  % if ( scalar(@{$gtm_content_ids}) && $gtm_value ) {
24:  dataLayer.push({
25:  'content_ids' : <% scalar(@{$gtm_content_ids}) > 1 ? "['" . join("','", @{$gtm_content_ids}) . "']" : "'" . $gtm_content_ids->[0] . "'" %>,
26:  'value' : <% sprintf('%.02f', $gtm_value) %>
27:  });
... 
code stack:  /home/hydrop/Hydrop/sources/comps/www/comps/header.msn:23
/home/hydrop/Hydrop/sources/comps/www/document.html:1
/home/hydrop/Hydrop/sources/comps/www/dhandler:2
/home/hydrop/Hydrop/sources/comps/www/autohandler:1
raw error






























Can't use an undefined value as an ARRAY reference at /home/hydrop/Hydrop/sources/comps/www/comps/header.msn line 23.


Trace begun at /usr/local/share/perl/5.10.1/HTML/Mason/Exceptions.pm line 129
HTML::Mason::Exceptions::rethrow_exception('Can\'t use an undefined value as an ARRAY reference at /home/hydrop/Hydrop/sources/comps/www/comps/header.msn line 23.^J') called at /home/hydrop/Hydrop/sources/comps/www/comps/header.msn line 23
HTML::Mason::Commands::__ANON__('body_class', 'p-content', 'fbq', 'ViewContent', 'gtm_content_ids', undef, 'gtm_value', undef) called at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x37e9430)', 'body_class', 'p-content', 'fbq', 'ViewContent', 'gtm_content_ids', undef, 'gtm_value', undef) called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, 'body_class', 'p-content', 'fbq', 'ViewContent', 'gtm_content_ids', undef, 'gtm_value', undef) called at /home/hydrop/Hydrop/sources/comps/www/document.html line 1
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fc4e58419b8)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/hydrop/Hydrop/sources/comps/www/dhandler line 2
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x7fc4e584f680)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1302
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef) called at /home/hydrop/Hydrop/sources/comps/www/autohandler line 1
HTML::Mason::Commands::__ANON__ at /usr/local/share/perl/5.10.1/HTML/Mason/Component.pm line 135
HTML::Mason::Component::run('HTML::Mason::Component::FileBased=HASH(0x3676d68)') called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1297
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 1292
HTML::Mason::Request::comp(undef, undef, undef) called at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 481
eval {...} at /usr/local/share/perl/5.10.1/HTML/Mason/Request.pm line 433
HTML::Mason::Request::exec('HTML::Mason::Request::ApacheHandler=HASH(0x3f3c580)') called at /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 168
HTML::Mason::Request::ApacheHandler::exec('HTML::Mason::Request::ApacheHandler=HASH(0x3f3c580)') called at /usr/local/share/perl/5.10.1/HTML/Mason/ApacheHandler.pm line 825
HTML::Mason::ApacheHandler::handle_request('HTML::Mason::ApacheHandler=HASH(0x3666038)', 'Apache=SCALAR(0x3d8f640)') called at /home/hydrop/MakeIdea/sources/lib/MakeIdea/BK/Core/handler.pl line 84
eval {...} at /home/hydrop/MakeIdea/sources/lib/MakeIdea/BK/Core/handler.pl line 81
MakeIdea::BK::Core::Handler::Mason::handler('Apache=SCALAR(0x3d8f640)') called at /dev/null line 0
eval {...} at /dev/null line 0