Title: Fatal Error with &quot;date based&quot; Permalinks
Last modified: August 22, 2016

---

# Fatal Error with "date based" Permalinks

 *  Resolved [foia65](https://wordpress.org/support/users/foia65/)
 * (@foia65)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-with-date-based-permalinks/)
 * Hi all,
 * after upgrading to 3.9.2 my pretty permalink stopped working.
    What happens is
   that when I chose the date-based options (“Month and name” and “Day and name”)
   the posts do not open anymore: just a blank page is showing. With other Permalink
   options everything is in order. I tried to disable all plugins, and go back to
   standard theme with no effect. If I create new posts, they have the same problem.
   When “Month and name” and “Day and name” are selected, also the calendar is not
   working: clicking on a day containing a post, brings to nothing.
 * I then enabled debugging, and found the following problem when trying to open
   a post:
 * **Fatal error**: Class ‘WP_Date_Query’ not found in **/srv/disk4/583805/www/run.
   foiaworld.info/wp-includes/query.php** on line **2356**
 * Thanks in advance for your help

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

 *  [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * (@willthewebmechanic)
 * Automattic Happiness Engineer
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-with-date-based-permalinks/#post-5196936)
 * Howdy foia65,
 * This is just a guess, but something may have gone wrong during your upgrade process.
   Can you try the upgrade again? Navigate to ‘Updates’ and press the ‘Re-install
   now’ button – pay close attention to any warnings/errors that might be output
   during that process.
 *  Thread Starter [foia65](https://wordpress.org/support/users/foia65/)
 * (@foia65)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-with-date-based-permalinks/#post-5196940)
 * Thanks for the advice, Will.
    At the end this is what I did (even if not with
   the automatic update, as I have a few customizations) A clean manual install 
   did the trick. I would have liked to know what caused the problem, though….
 *  [Will Brubaker](https://wordpress.org/support/users/willthewebmechanic/)
 * (@willthewebmechanic)
 * Automattic Happiness Engineer
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-with-date-based-permalinks/#post-5196943)
 * Glad you got it sorted!
 * If I had to guess I would guess that there was some sort of file permissions 
   or ownership issue that prevented the update from completing successfully. Perhaps
   your error log might provide some insight.
 *  [christensten](https://wordpress.org/support/users/christensten/)
 * (@christensten)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-with-date-based-permalinks/#post-5196947)
 * Foia, are you on Linux or Windows? With the 3.9.2 update I am having a problem
   with permalinks too. Might try this reinstall trick.
 *  Thread Starter [foia65](https://wordpress.org/support/users/foia65/)
 * (@foia65)
 * [11 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-with-date-based-permalinks/#post-5196955)
 * My [blog](http://run.foiaworld.info) is on Ux

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

The topic ‘Fatal Error with "date based" Permalinks’ is closed to new replies.

## Tags

 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)
 * [permalinks](https://wordpress.org/support/topic-tag/permalinks/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 5 replies
 * 3 participants
 * Last reply from: [foia65](https://wordpress.org/support/users/foia65/)
 * Last activity: [11 years, 10 months ago](https://wordpress.org/support/topic/fatal-error-with-date-based-permalinks/#post-5196955)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
