Title: PHP Warning: unlink + chmod() errors
Last modified: July 7, 2020

---

# PHP Warning: unlink + chmod() errors

 *  Resolved [nathanfresche](https://wordpress.org/support/users/nathanfresche/)
 * (@nathanfresche)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/php-warning-unlink-chmod-errors/)
 * Hi,
 * In my php error_log file I am currently experiencing 2 errors and i’m not sure
   how to fix it:
 * The first is an unlink error:
    `PHP Warning: unlink(/home/xx/public_html/wp-content/
   uploads/teccc_98f2b83137bc69ae0d2f2a364b7fdd64.css): No such file or directory
   in /home/xx/public_html/wp-content/plugins/the-events-calendar-category-colors/
   src/Category_Colors/Frontend.php on line 229`
 * And the second error is chmod():
    `PHP Warning: chmod(): No such file or directory
   in /home/xx/public_html/wp-content/plugins/the-events-calendar-category-colors/
   src/Category_Colors/Frontend.php on line 235`
    -  This topic was modified 5 years, 11 months ago by [nathanfresche](https://wordpress.org/support/users/nathanfresche/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * (@afragen)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/php-warning-unlink-chmod-errors/#post-13092113)
 * What version of the plugin are you using?
 * Does the error persist?
 * Are your Category Colors correct?
 * Does saving your Category Colors Settings fix it?
 * Does adding `refresh_css` as a query arg to the calendar URL fix it?
    -  This reply was modified 5 years, 11 months ago by [Andy Fragen](https://wordpress.org/support/users/afragen/).

Viewing 1 replies (of 1 total)

The topic ‘PHP Warning: unlink + chmod() errors’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/the-events-calendar-category-colors_52b1d1.
   svg)
 * [The Events Calendar: Category Colors](https://wordpress.org/plugins/the-events-calendar-category-colors/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/the-events-calendar-category-colors/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/the-events-calendar-category-colors/)
 * [Active Topics](https://wordpress.org/support/plugin/the-events-calendar-category-colors/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/the-events-calendar-category-colors/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/the-events-calendar-category-colors/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Andy Fragen](https://wordpress.org/support/users/afragen/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/php-warning-unlink-chmod-errors/#post-13092113)
 * Status: resolved