I've registered 7 Sidebars in my template, I can see them correctly in the Apparence > Widget panel and my front-end, but I can't see them in the Theme Customize, when I click on my Widget section I have the following message instead:
Your theme has 7 widget areas, but this particular page doesn’t display them. You can navigate to other pages on your site while using the Customizer to view and edit the widgets displayed on those pages.
I'm working with the front-page.php file, and I'm in the front-page of my website. If I work with the index.php I can see my sidebar correctly in the Theme Customizer, also if the code is the same for both the php pages. Where I'm wrong? Any help will be really appreciated!
... this particular page doesn’t display them.
So, in the customizer select/load another page, which displays widgets, and see you see them now. Since 4.0 the customizer can use Contextual Controls.Customizer controls can now be displayed or hidden based on the Customizer’s preview context. For example, options that are only relevant to the front page can be shown only when the user is previewing their front page in the Customizer
. See here. Maybe its this.