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

Call stack:

  1. array_filter()
    functions_index_history.php:297
  2. get_index_percentage_change()
    functions_index_history.php:216
  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_filter(): Argument #1 ($array) must be of type array, null given in /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php:297 Stack trace: #0 /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php(297): array_filter() #1 /var/www/vhosts/shroominvestor.com/httpdocs/web/functions_index_history.php(216): get_index_percentage_change() #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 297