Fatal error: Uncaught TypeError: archive_sidebar(): Argument #2 ($selected_year) must be of type string, null given, called in /opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/content/archive.php on line 112 and defined in /opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/content/archive.php:114
Stack trace:
#0 /opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/content/archive.php(112): archive_sidebar(Array, NULL)
#1 /opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/carrington-core/utility.php(307): include('/opt/app-root/s...')
#2 /opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/pages/epaper-archive.php(27): cfct_template_file('content', 'archive', Array)
#3 /opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/carrington-core/utility.php(307): include('/opt/app-root/s...')
#4 /opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/custom-epaper-archive.php(20): cfct_template_file('pages', 'epaper-archive', Array)
#5 /opt/app-root/src/wordpress-core/wp-includes/template-loader.php(106): include('/opt/app-root/s...')
#6 /opt/app-root/src/wordpress-core/wp-blog-header.php(19): require_once('/opt/app-root/s...')
#7 /opt/app-root/src/wordpress-core/index.php(17): require('/opt/app-root/s...')
#8 {main}
thrown in
/opt/app-root/src/wordpress-custom/wp-content/themes/vn-legacy/content/archive.php on line
114