Notice: Undefined offset: 1 in /var/www/wp-content/themes/Avada/templates/portfolio-archive-layout.php on line 9

Fatal error: Uncaught Error: Call to undefined function avada_get_portfolio_columns() in /var/www/wp-content/themes/Avada/templates/portfolio-archive-layout.php:16 Stack trace: #0 /var/www/wp-includes/template.php(724): require() #1 /var/www/wp-includes/template.php(671): load_template('/var/www/wp-con...', false) #2 /var/www/wp-includes/general-template.php(168): locate_template(Array, true, false) #3 /var/www/wp-content/themes/Avada/taxonomy-portfolio_category.php(3): get_template_part('templates/portf...', 'layout') #4 /var/www/wp-includes/template-loader.php(78): include('/var/www/wp-con...') #5 /var/www/wp-blog-header.php(19): require_once('/var/www/wp-inc...') #6 /var/www/index.php(17): require('/var/www/wp-blo...') #7 {main} thrown in /var/www/wp-content/themes/Avada/templates/portfolio-archive-layout.php on line 16