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.
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. :-)
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.