Title: error creating archive.php
Last modified: August 18, 2016

---

# error creating archive.php

 *  Resolved [lricci](https://wordpress.org/support/users/lricci/)
 * (@lricci)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/error-creating-archivephp/)
 * Here is the error I am getting:
    Parse error: parse error, unexpected $ in /usr/
   local/www/groups/www.r-3.com/ideas/wp-content/themes/daisyraegemini/archive.php
   on line 72
 * I copied my index.php to create archive.php and then inserted code from the archive.
   php of another theme (trying to add title to each archive and category page).
   I don’t find any $ in this file.

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

 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/error-creating-archivephp/#post-377959)
 * Post the whole content of archive.php here [http://pastebin.com](http://pastebin.com)
 *  Thread Starter [lricci](https://wordpress.org/support/users/lricci/)
 * (@lricci)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/error-creating-archivephp/#post-378023)
 * Thanks for the pastebin.com suggestion. Now I know that my file has only 71 lines
   of code. I saw someone else on the support forum with the same problem, but no
   one has replied there.
 * Suggestions as to what I should do?
 *  Thread Starter [lricci](https://wordpress.org/support/users/lricci/)
 * (@lricci)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/error-creating-archivephp/#post-378034)
 * I’ve tried adding a bit of code to call for the sidebar (one difference between
   this file and the index file in my theme directory, but that didn’t help.
 * Then I held down the delete key in hopes of deleting any stray code that was 
   invisible. Still no change.
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/error-creating-archivephp/#post-378129)
 * Post the __latest code__ at [http://pastebin.com](http://pastebin.com) and post
   the __latest error message__ here.
 *  Thread Starter [lricci](https://wordpress.org/support/users/lricci/)
 * (@lricci)
 * [20 years, 1 month ago](https://wordpress.org/support/topic/error-creating-archivephp/#post-378166)
 * I gave up and moved on to other challenges, but have been using pastebin.com 
   to check other changes, so thanks!

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

The topic ‘error creating archive.php’ is closed to new replies.

## Tags

 * [archive.php](https://wordpress.org/support/topic-tag/archive-php/)

 * 5 replies
 * 2 participants
 * Last reply from: [lricci](https://wordpress.org/support/users/lricci/)
 * Last activity: [20 years, 1 month ago](https://wordpress.org/support/topic/error-creating-archivephp/#post-378166)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
