Home>Support>500 Error / Wrong datatype for second argument in functions.php on line 177

500 Error / Wrong datatype for second argument in functions.php on line 177

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

After a MySQL upgrade and password change, the site is out on error with this warning on the server:

PHP Warning: in_array() [function.in-array]: Wrong datatype for second argument in D:hshomenatureshfaithandfamilynutrition.comwp-contentthemesvantagefunctions.php on line 177

I tried restoring the original functions php but it didn’t help.

It’s a win server.

URL: http://faithandfamilynutrition.com/wp-admin/

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 9 years, 8 months ago Reesa Marchetti

    After much crying and fussing, I deleted the theme and deactivated all plugins through FTP. Then I temporarily activated WP 2015, and the website and dashboard reappeared. Reinstalled vantage from the dashboard and gingerly activated plugins. Fingers crossed, it’s working now. :-)

  2. 9 years, 8 months ago Andrew Misplon
    Hi, I Work Here

    Hi Reesa

    Well done on recovering. Thanks for sharing your steps with everyone. Line 177 in functions refers to WooCommerce. I’m not quite sure what happened. Let me know if anything further comes up and we’ll do our best to help.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More