• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Warning: in_array() expects parameter 2 to be array, null given

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Warning: in_array() expects parameter 2 to be array, null given

This topic is: not resolved

Tagged: expects parameter 2, null given, php error

  • This topic has 3 replies, 2 voices, and was last updated 9 years, 6 months ago by Victor Font.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • November 4, 2015 at 9:42 am #170146
    Doug
    Member

    Hello,

    Can anyone tell me how to fix this error in parallax-pro/functions.php?

    Warning: in_array() expects parameter 2 to be array, null given

    It happened right after I updated to the latest version of WordPress.

    Thanks, Doug

    http://doug-arnold.com
    November 4, 2015 at 10:20 am #170150
    Victor Font
    Moderator

    The error log should give you a line number or other indication of what the problem is with functions.php.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    November 4, 2015 at 10:35 am #170152
    Doug
    Member

    Thank you, Victor. Do you know how/where I find that?

    Much appreciated,
    Doug

    November 4, 2015 at 5:16 pm #170180
    Victor Font
    Moderator

    There should be a php error log in the public_html folder on your site. You have to use file manager is cPanel or FTP into the site.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

  • Author
    Posts
Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble