Title: Fresh installation Parse Error
Last modified: August 30, 2016

---

# Fresh installation Parse Error

 *  Resolved [QTB](https://wordpress.org/support/users/qtb/)
 * (@qtb)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fresh-installation-parse-error/)
 * Hi all,
 * Does anyone know why the feeds error is happening on fresh install.
 * Parse error: syntax error, unexpected ‘a_required’ (T_STRING) in /public_html/
   wp-includes/feed.php on line 454
 * function rss_enclosure() {
    if ( post_psword a_required() ) return;
 *  foreach ( (array) get_post_custom() as $key => $val) {
    if ($key == ‘enclosure’){
   foreach ( (array) $val as $enc ) { $enclosure = explode(“\n”, $enc);
 *  // only get the first element, e.g. audio/mpeg from ‘audio/mpeg mpga mp2 mp3’
   
   $t = preg_split(‘/[ \t]/’, trim($enclosure[2]) ); $type = $t[0];
 *  /**
    * Filter the RSS enclosure HTML link tag for the current post. * * [@since](https://wordpress.org/support/users/since/)
   2.2.0 * * [@param](https://wordpress.org/support/users/param/) string $html_link_tag
   The HTML link tag with a URI and other attributes. */ echo apply_filters( ‘rss_enclosure’,‘
   <enclosure url=”‘ . trim( htmlspecialchars( $enclosure[0] ) ) . ‘” length=”‘ .
   trim( $enclosure[1] ) . ‘” type=”‘ . $type . ‘” />’ . “\n” ); } } } }
 * thanks Dayne

Viewing 1 replies (of 1 total)

 *  Thread Starter [QTB](https://wordpress.org/support/users/qtb/)
 * (@qtb)
 * [10 years, 9 months ago](https://wordpress.org/support/topic/fresh-installation-parse-error/#post-6506148)
 * Solved…
 * Softaculous install error… manual install solved the issue…

Viewing 1 replies (of 1 total)

The topic ‘Fresh installation Parse Error’ is closed to new replies.

## Tags

 * [parse-error](https://wordpress.org/support/topic-tag/parse-error/)
 * [T_STRING](https://wordpress.org/support/topic-tag/t_string/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 1 participant
 * Last reply from: [QTB](https://wordpress.org/support/users/qtb/)
 * Last activity: [10 years, 9 months ago](https://wordpress.org/support/topic/fresh-installation-parse-error/#post-6506148)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
