analogwp / analogwp-templates

Style Kits for Elementor adds a number of intuitive styling controls in the Elementor editor that allow you to apply styles globally or per page.
https://analogwp.com
27 stars 7 forks source link

Styles don’t load after update from 1.6.7 to 1.6.8/1.6.9 #403

Closed gvgvgvijayan closed 4 years ago

gvgvgvijayan commented 4 years ago

When I update Style Kits to the latest versions (1.6.8 and 1.6.9) my styles don’t load. Only Theme Style (Elementor) is active. I rolled back to 1.6.7 and this solves the issue. I have deactivated W3TC but no luck either. I have emptied all caches, including browser cache. I don’t know if this problem persists because of cache.

Before update: https://prnt.sc/srjeeq

After update: https://prnt.sc/srjdv0

WP Support Link

https://wordpress.org/support/topic/styles-dont-load-after-update/

Finding done by internal team

The issue can be reproduced even without upgrading from 1.6.7 to 1.6.9

Steps to reproduce the issue:

  1. Install & activate SK 1.6.9
  2. Import any template as a page
  3. Click the "Edit Template" button
  4. On the first time, you won't see default kit in the Elementor controls panel
  5. Do any changes or move to any other panel in the Elementor controls panel (i.e. we doing a re-render of the control panel)
  6. After second rendering you will see the default kit
  7. Select the default kit and edit any style changes and publish the page
  8. Compare the editor page with view page, you will see there are no styles applied in the view page

Reason for the issue

Options meta ang_options don't have value for the index global_kit in serialized data a:5:{s:10:"global_kit";b:0;s:15:"ang_sync_colors";b:0;s:11:"default_kit";b:0;s:24:"theme_style_kit_migrated";b:1;s:7:"version";s:5:"1.6.9";}

gvgvgvijayan commented 4 years ago

In newly installed SK 1.6.9 it's not listing the default kit in style kit dropdown in Elementor control stack panel bug_reproduce_03_169-2020-08-03_19.09.33.zip

The issue is happening when "Global Style Kit" wasn't saved in Admin settings page https://analogwp.slack.com/archives/CR33JR611/p1596461720004900