A view rendering issue has occurred

Error Message: in_array(): Argument #2 ($haystack) must be of type array, null given (View: /var/www/prod/wp-content/themes/municipio/views/v3/partials/sidebar.blade.php) (View: /var/www/prod/wp-content/themes/municipio/views/v3/partials/sidebar.blade.php) (View: /var/www/prod/wp-content/themes/municipio/views/v3/partials/sidebar.blade.php) (View: /var/www/prod/wp-content/themes/municipio/views/v3/partials/sidebar.blade.php)
Error Line: 62
Error Source File: /var/www/prod/wp-content/plugins/modularity/source/php/Module/Slider/Slider.php
Source code (line 62): $data['ratio'] = preg_replace('/ratio-/', '', $fields['slider_format']);
$data['wrapAround'] = in_array('wrapAround', $fields['additional_options']);
$data['title'] = isset($fields['post_title']) ? $fields['post_title'] : '';
View paths: /var/www/prod/wp-content/mu-plugins/component-library/source/php/Component
Cache path: /var/www/prod/wp-content/uploads/cache/blade-cache
Stacktrace:
#0 /var/www/prod/vendor/illuminate/view/Engines/PhpEngine.php(60): Illuminate\View\Engines\CompilerEngine->handleViewException()
#1 /var/www/prod/vendor/illuminate/view/Engines/CompilerEngine.php(61): Illuminate\View\Engines\PhpEngine->evaluatePath()
#2 /var/www/prod/vendor/illuminate/view/View.php(139): Illuminate\View\Engines\CompilerEngine->get()
#3 /var/www/prod/vendor/illuminate/view/View.php(122): Illuminate\View\View->getContents()
#4 /var/www/prod/vendor/illuminate/view/View.php(91): Illuminate\View\View->renderContents()
#5 /var/www/prod/wp-content/themes/municipio/library/Template.php(248): Illuminate\View\View->render()
#6 /var/www/prod/wp-content/themes/municipio/library/Template.php(109): Municipio\Template->renderView()
#7 /var/www/prod/wp/wp-includes/class-wp-hook.php(324): Municipio\Template->loadViewData()
#8 /var/www/prod/wp/wp-includes/plugin.php(205): WP_Hook->apply_filters()
#9 /var/www/prod/wp/wp-includes/template-loader.php(104): apply_filters()
#10 /var/www/prod/wp/wp-blog-header.php(19): require_once('/var/www/prod/w...')
#11 /var/www/prod/index.php(23): require('/var/www/prod/w...')
#12 {main}