Skip to content

Instantly share code, notes, and snippets.

@uthark
Last active October 19, 2023 15:51
Show Gist options
  • Save uthark/6bb436bc4af04242af4b0bd9ec4b9e5e to your computer and use it in GitHub Desktop.
Save uthark/6bb436bc4af04242af4b0bd9ec4b9e5e to your computer and use it in GitHub Desktop.
ia newsletter issue
iA Newsletter
Subscribe to receive product updates, announcements, and a look behind the scenes. Select your newsletter menu:
Fatal error: Uncaught TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in /var/www/vhosts/ia.net/new.ia.net/wp-content/themes/iA-library/inc/components/newsletter.php:67 Stack trace:
#0 /var/www/vhosts/ia.net/new.ia.net/wp-content/themes/iA-library/inc/components/newsletter.php(67): in_array('writer', NULL) #1 /var/www/vhosts/ia.net/new.ia.net/wp-content/themes/iA-library/inc/default/functions.php(174): include('/var/www/vhosts...')
#2 /var/www/vhosts/ia.net/new.ia.net/wp-content/themes/iA-library/inc/default/functions.php(180): include_template_part('inc/components/...', '', Array)
#3 /var/www/vhosts/ia.net/new.ia.net/wp-content/themes/iA-library/single.php(92): include_component('newsletter', '', Array)
#4 /var/www/vhosts/ia.net/new.ia.net/wp-includes/template-loader.php(106): include('/var/www/vhosts...')
#5 /var/www/vhosts/ia.net/new.ia.net/wp-blog-header.php(19): require_once('/var/www/vhosts...')
#6 /var/www/vhosts/ia.net/new.ia.net/index.php(17): require('/var/www/vhosts...')
#7 {main} thrown in /var/www/vhosts/ia.net/new.ia.net/wp-content/themes/iA-library/inc/components/newsletter.php on line 67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment