Title: cannot create directory error
Last modified: February 3, 2024

---

# cannot create directory error

 *  Resolved [jpcharters](https://wordpress.org/support/users/jpcharters/)
 * (@jpcharters)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cannot-create-directory-error/)
 * After unpublishing my site a few weeks ago, I am now getting these errors when
   trying to log back into the site.
 * Cannot create directory: /home/y146c82qu6pl/public_html/johnspasscharters.com/
   wp-content/uploads/siteground-optimizer-assets. Cannot create directory: /home/
   y146c82qu6pl/public_html/johnspasscharters.com/wp-content/uploads/siteground-
   optimizer-assets. PHP Parse error: syntax error, unexpected token “>” in /home/
   dh_r7hytp/johnspasscharters.com/wp-content/themes/catch-box-pro/functions.php
   on line 423 Parse error: syntax error, unexpected token “>” in /home/dh_r7hytp/
   johnspasscharters.com/wp-content/themes/catch-box-pro/functions.php on line 423
 * The theme error is: Parse error: syntax error, unexpected token “>” in /home/
   dh_r7hytp/johnspasscharters.com/wp-content/themes/catch-box-pro/functions.php
   on line 423
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcannot-create-directory-error%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Bruce Wayne](https://wordpress.org/support/users/wayne5/)
 * (@wayne5)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cannot-create-directory-error/#post-17395279)
 * Hello there,
   Did you checked your theme’s functions.php file for this error?
 *  [Alor UX](https://wordpress.org/support/users/jerrymayalor555/)
 * (@jerrymayalor555)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cannot-create-directory-error/#post-17395312)
 * Hi [@jpcharters](https://wordpress.org/support/users/jpcharters/),
 * Try this solution: [https://wordpress.org/documentation/article/debugging-in-wordpress/](https://wordpress.org/documentation/article/debugging-in-wordpress/).
 * Best regards,
 *  Thread Starter [jpcharters](https://wordpress.org/support/users/jpcharters/)
 * (@jpcharters)
 * [2 years, 3 months ago](https://wordpress.org/support/topic/cannot-create-directory-error/#post-17398212)
 * I think that is above my experience level
 *  Thread Starter [jpcharters](https://wordpress.org/support/users/jpcharters/)
 * (@jpcharters)
 * [2 years, 2 months ago](https://wordpress.org/support/topic/cannot-create-directory-error/#post-17444681)
 * so i removed the lines included with line 423 and site is half working now so
   will continue to edit the functions.php

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

The topic ‘cannot create directory error’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 4 replies
 * 3 participants
 * Last reply from: [jpcharters](https://wordpress.org/support/users/jpcharters/)
 * Last activity: [2 years, 2 months ago](https://wordpress.org/support/topic/cannot-create-directory-error/#post-17444681)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
