I receive the following error:

One or more CSS files were not found or does not exist: sites/all/themes/at_magazine/c. Did you delete any files or change a file name? You may need to save the theme settings or check all files names are correct in your theme. Please view the online documentation.

Any idea for a solution or where to start debugging?

Thanks!

Comments

slowflyer created an issue. See original summary.

slowflyer’s picture

Status: Active » Needs review

Seems that the error is caused by php 7.x. I'm not sure about the x, I'm currently using 7.1.10.

This simple patch solved the issue:

diff --git a/sites/all/themes/adaptivetheme/at_core/inc/load.inc b/sites/all/themes/adaptivetheme/at_core/inc/load.inc
index 3ca5429..a0f9cf4 100644
--- a/sites/all/themes/adaptivetheme/at_core/inc/load.inc
+++ b/sites/all/themes/adaptivetheme/at_core/inc/load.inc
@@ -483,6 +483,7 @@ function at_load_subtheme_conditional_styles($theme_name) {
if (is_numeric($media)) {
$media = 'all';
}
+ $ie_style = array();
foreach ($stylesheets as $condition => $file) {
foreach($file as $ie_styles_path) {
$ie_style['media'] = $media;

slowflyer’s picture

Rudi Teschner’s picture

Status: Needs review » Closed (duplicate)

Since the linked issue has a patch attached and solves this problem, I think we can close this issue as duplicate.