Title: Warning: join() [function.join]:
Last modified: August 20, 2016

---

# Warning: join() [function.join]:

 *  [t0symmonds](https://wordpress.org/support/users/t0symmonds/)
 * (@t0symmonds)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/)
 * Started seeing this message today, first with version 3.4.2 and then with version
   3.5.
 * Warning: join() [function.join]: Invalid arguments passed in /home/content/24/
   8542424/html/SMB/wp-includes/post-template.php on line 296
    class=””>
 * How do I remove it from the webpage?

Viewing 6 replies - 1 through 6 (of 6 total)

 *  [roelhelios](https://wordpress.org/support/users/roelhelios/)
 * (@roelhelios)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/#post-3278066)
 * Hello t0symmonds I have exactly the same problem.
 * Anyone a solution?
 *  [Snegu](https://wordpress.org/support/users/snegu/)
 * (@snegu)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/#post-3278081)
 * Same problem here. It’s appearing on every page.
 *  [Snegu](https://wordpress.org/support/users/snegu/)
 * (@snegu)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/#post-3278082)
 * I got the error message to go away by changing line 296 in post-template.php 
   to
 *     ```
       if (get_post_class( $class, $post_id) != '') {
       	   echo 'class="' . join( ' ', get_post_class( $class, $post_id ) ) . '"';
       	}
       ```
   
 * Not sure if it’s the best fix, but is working for now.
 *  Thread Starter [t0symmonds](https://wordpress.org/support/users/t0symmonds/)
 * (@t0symmonds)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/#post-3278083)
 * Thanks Snegu
 * Where do I find post-template.php?
 *  [taliwalt](https://wordpress.org/support/users/taliwalt/)
 * (@taliwalt)
 * [13 years, 6 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/#post-3278084)
 * Snegu –
    Thank you for the fix, it worked for me. Would you mind explaining what
   I just did? Messing with core WP files scares the !&#* out of me, so maybe you
   could reassure me a bit? Thanks again!
 *  [Vladimir Vassilev](https://wordpress.org/support/users/vloo/)
 * (@vloo)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/#post-3278092)
 * If should be scarry, taliwait, cause you don’t fix anything by doing this. Next
   update and you’ll be again with the same message.
 * Suppressing errors is done by adding this to the last line of wp-config.php:
 * `error_reporting(0);`
 * This doesn’t fix the problem either, but at least it hides it from the visitors
   of the site.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Warning: join() [function.join]:’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 5 participants
 * Last reply from: [Vladimir Vassilev](https://wordpress.org/support/users/vloo/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/warning-join-functionjoin/#post-3278092)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
