This thread is over two years old and may be outdated. Please create a new thread if you need help, or email us if you have an active Premium license.

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

10 years ago · Last reply by Andrew Misplon 10 years ago

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.

Need fast email support? Get SiteOrigin Premium

Replies

2
  1. Reesa Marchetti 10 years, 3 months ago

    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. Andrew Misplon Staff 10 years, 3 months ago

    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.

Have a different question or issue?

Start New Thread