Fatal error: Uncaught Error: array_sum(): Argument #1 ($array) must be of type array, null given
in /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php on line 317

Call stack:

  1. array_sum()
    functions_index_history.php:317
  2. get_index_cap_weighted_value()
    functions_index_history.php:223
  3. calculate_index()
    functions_index_history.php:86
  4. get_index_history()
    app/themes/15zine-child/template-potstocks_index.php:81
  5. include()
    wp-includes/template-loader.php:106
  6. require_once()
    wp-blog-header.php:19
  7. require()
    index.php:5

Query Monitor


Fatal error: Uncaught TypeError: array_sum(): Argument #1 ($array) must be of type array, null given in /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php:317 Stack trace: #0 /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php(317): array_sum() #1 /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php(223): get_index_cap_weighted_value() #2 /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php(86): calculate_index() #3 /var/www/vhosts/shroominvestor.com/httpdocs/web/app/themes/15zine-child/template-potstocks_index.php(81): get_index_history() #4 /var/www/vhosts/shroominvestor.com/httpdocs/web/wp/wp-includes/template-loader.php(106): include('...') #5 /var/www/vhosts/shroominvestor.com/httpdocs/web/wp/wp-blog-header.php(19): require_once('...') #6 /var/www/vhosts/shroominvestor.com/httpdocs/web/index.php(5): require('...') #7 {main} thrown in /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php on line 317