Pro Header Broken

hello themeco,

something happend to the pro header while i’m editing some settings. the last thing i can remember was that i’m adding some class and id to an inline navigation element.

more details

Here is a picture how the site should look like:

Actualy it look like this:

Can you please help me out whats going on here?

Regnalf

Hi Regnalf,

Thank you for writing in, I’m afraid your header named “MASTER” is corrupted. The test header that I created which is a duplicated of “MASTER” works just fine, I’m not sure what triggers the corruption though.

It could be a plugin or a server side settings, please use the duplicate header that I created, let us know if you encounter again the issue.

Cheers!

I really don’t know whats going on there, i think i have to check with my provider to, because i have troubles with uploading the style.css also.

Maybe i also corresponding to this console warnings?

Console warnings
DevTools failed to load SourceMap: Could not load content for https://gourmeteria.medienwald.at/wp-content/themes/pro/cornerstone/assets/dist/js/site/cs.0ce70e6.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
DevTools failed to load SourceMap: Could not load content for https://gourmeteria.medienwald.at/wp-content/themes/pro/framework/dist/js/site/x.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

And another strange issue was, i didn’t have a screenshot for that, that the pro settings wasn’t under the dashboard pro menu entry, they appeared on the bottom of the dashboard menu under “cornerstone”?? But at the moment they are back where they are belong to.

Regnalf

Hey Regnalf,

The warnings you are seeing is just for the SourceMap and not the actual files which is normal when you check the console.

As for the issue with the Pro menu, I logged in on the site but I am not seeing the separate Cornerstone items anymore. Were you able to get it sorted?

Thanks!

It seems that everything is running as it should be. I will try my best to figure out what triggers this issue step by step if it happens again.

But i think you can close this thread for now.

Again, thanks a lot.

Regnalf

You’re most welcome!
We’re glad we were able to help you out.

I found the issue so far!

The issue was connected to another problem i have with my css editor “coda 2” (i think some of you using this editor too). The problem is that this editor uploads the style.css with 0 bytes at the moment. So also your child-theme file info was not there.

/*
Theme Name: Pro – Child Theme
Theme URI: http://theme.co/pro/
Author: Themeco
Author URI: http://theme.co/
Description: Make all of your modifications to Pro in this child theme.
Version: 1.0.0
Template: pro
*/

So with this complete empty stylesheet the code seems to be broken! If i copy just the file info header above on the server, everything works normal.
It took me some time till i found out that the editor sometimes upload sometimes don’t upload the file correctly.

Maybe you can catch this issue with an error message if the style.css info is missing!

Regnalf

Hello @Regnalf,

WordPress cannot display any error if the file exists. It won’t matter if the file size is big or zero. As long as it is there, WordPress will display or use it. The issue is totally caused by your CSS editor that uploads a 0 file size or may have corrupted the file during the file upload. Please make sure that your CSS editor is up to date. That might be a case for you.

Thank you for your understanding.

Anyway, i only wanted to share this issue if anyone else run into this.

Regnalf

Thanks for sharing, Regnalf.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.