Title: Invalid argument message for php
Last modified: August 20, 2016

---

# Invalid argument message for php

 *  [Christian250480](https://wordpress.org/support/users/christian250480/)
 * (@christian250480)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/invalid-argument-message-for-php/)
 * Hi 🙂
 * I just deployed a website that I have developed locally to my web server. In 
   local, everything looked wonderful. The database is configured successfully, 
   but when typing in my URL I am getting this warning message:
 * Warning: Invalid argument supplied for foreach() in /www/htdocs/w009abb4/wp-content/
   themes/awake/lib/functions/scripts.php on line 313
 * It only shows the site menu, no design. So, for some reason the theme is not 
   being recognized.
 * Has anyone out there seen something like that and can help???
    Any help is greatly
   appreciated!
 * Thanks,
 * Christian

The topic ‘Invalid argument message for php’ is closed to new replies.

## Tags

 * [PHP script](https://wordpress.org/support/topic-tag/php-script/)
 * [warning message](https://wordpress.org/support/topic-tag/warning-message/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 0 replies
 * 1 participant
 * Last reply from: [Christian250480](https://wordpress.org/support/users/christian250480/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/invalid-argument-message-for-php/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
