• Resolved thinkforward

    (@thinkforward)


    I have this problem every now and then, have never been able to figure out what is causing it. Whenever the display settings are updated and a new CSS hash value is generated, I have to manually rename the CSS file in my /uploads folder to match the new hash in order to get the colors to display correctly.

    I suspect the current error I’m getting is related to the root cause that’s been going on there. At one point, I thought my folder permissions were wrong but I have no upload issues otherwise.

    Current Issue:

    The following 3 errors display only in the WP admin, the front end displays fine: https://andersonscustard.com/events

    Warning: file_put_contents(home/customer/www/andersonscustard.com/public_html/wp-content/uploads/teccc_894342133f35c997c358ccfa57fdf6e6.css): failed to open stream: No such file or directory in /home/customer/www/andersonscustard.com/public_html/wp-content/plugins/the-events-calendar-category-colors/src/Category_Colors/Frontend.php on line 247

    Warning: file_put_contents(home/customer/www/andersonscustard.com/public_html/wp-content/uploads/teccc_894342133f35c997c358ccfa57fdf6e6.min.css): failed to open stream: No such file or directory in /home/customer/www/andersonscustard.com/public_html/wp-content/plugins/the-events-calendar-category-colors/src/Category_Colors/Frontend.php on line 248

    Warning: chmod(): No such file or directory in /home/customer/www/andersonscustard.com/public_html/wp-content/plugins/the-events-calendar-category-colors/src/Category_Colors/Frontend.php on line 249

    Both this file and its sibling (../andersonscustard.com/public_html/wp-content/uploads/teccc_894342133f35c997c358ccfa57fdf6e6.min.css) DO exist in this location.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Andy Fragen

    (@afragen)

    You can try adding the query arg refresh_css to your calendar URL as https://andersoncustard.com/events/?refresh_css to see if that helps.

    You page looks fine to me. I don’t know why the odd errors. Do they happen all the time?

    Thread Starter thinkforward

    (@thinkforward)

    Apparently this was a conflict with the theme which is now addressed in an update, the errors have ceased.

    The same set of errors about the CSS file have happened in the past, but usually after an an update either to TEC, the TECCC plugin or updating the display settings. For now, I guess I’m all good. Thanks for the quick reply as usual.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PHP errors for CSS file’ is closed to new replies.