Update Crash
-
My site went down and after disabling all my plugins and turning each one on I found out kirki was what knocked it off. Whats the deal?
The page I need help with: [log in to see the link]
-
Hello. I updated Kirki Version 3.0.24 https://glacier.mountaintheme.com/ but now font-weight not correct loading is crash
Example parallax title
.parallax .info h2 {
font-family: Dosis, Helvetica, Arial, sans-serif;
font-size: 2.4em;
font-weight: 400;
letter-spacing: 0.40em;
text-transform: uppercase;
color: #000;
}// Parallax typography
Kirki::add_field( ‘glacier’, array(
‘type’ => ‘typography’,
‘settings’ => ‘parallax_typography’,
‘label’ => esc_html__( ‘Parallax Typography’, ‘glacier’ ),
‘section’ => $section,
‘priority’ => $priority++,
‘default’ => array(
‘font-family’ => ‘Dosis’,
‘variant’ => ‘400’,
‘font-size’ => ‘2.4em’,
‘letter-spacing’ => ‘0.40em’,
‘text-transform’ => ‘uppercase’,
‘color’ => ‘#000’,
),
‘output’ => array(
array(
‘element’ => ‘.parallax .info h2’,
),
),
) );It’s strange but there is a line.
var kirkiWebfonts = [];
var kirkiWebfonts = {“Dosis”:{“1″:”600″,”2″:”regular”},”Source Sans Pro”:[“300”]};- This reply was modified 6 years, 10 months ago by mountaintheme.
- This reply was modified 6 years, 10 months ago by mountaintheme.
Hi Jefferson ProVersion: 1.0.2 by Create and Code https://createandcode.com/wordpress-themes/jefferson-pro/
@robertgrimley I’m afraid that’s a premium theme I don’t have access to…
Could you please send it via email so that I may replicate the issue and see how to fix it?The free version should be the same… Jefferson its available in Themes… Or I can ping the author?
- This reply was modified 6 years, 10 months ago by RobertGrimley.
@aristath
I had created a demo test theme (twentyseventeen), so as to avoid any theme conflicts.
Is there any way I could attach zip if required?Noticed that – font loads in customize screen, if that panel is open, but not on actual page.
Somehow, kirki-fallback.php can be related?
Thanks.Oh! So the fonts work in the customizer but not the frontend???
You can send to aristath at gmail dot comNot always, if we refresh customizer screen, it goes off ??
Just mailed you file. Thanks.Hi! I’ve the same problem mentioned by others. After the last update my fonts have changed. I’a using Hemma theme.
Thanks@iskra77
Yes, is true.
@aristath
I write you email, send video with problem and my theme. Font Weight load only on customize screen not actual page. Thanks.When I click the customize button( admin top bar) I see this error.
Fatal error: Uncaught Error: Call to undefined method Kirki_Fonts::get_google_font_subsets() in /home/adminname/public_html/wp-content/themes/ocin/inc/customizer.php:527 Stack trace: #0 /home/adminname/public_html/wp-includes/class-wp-hook.php(286): ocin_customize_register(Object(WP_Customize_Manager)) #1 /home/adminname/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #2 /home/adminname/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #3 /home/adminname/public_html/wp-includes/class-wp-customize-manager.php(921): do_action(‘customize_regis…’, Object(WP_Customize_Manager)) #4 /home/adminname/public_html/wp-includes/class-wp-hook.php(286): WP_Customize_Manager->wp_loaded(”) #5 /home/adminname/public_html/wp-includes/class-wp-hook.php(310): WP_Hook->apply_filters(NULL, Array) #6 /home/adminname/public_html/wp-includes/plugin.php(453): WP_Hook->do_action(Array) #7 /home/adminname/public_html/wp-settings.php(471): do_action(‘wp_loaded’) #8 /home/adminname/public_html/wp-config.php(161): req in /home/adminname/public_html/wp-content/themes/ocin/inc/customizer.php on line 527
- This reply was modified 6 years, 10 months ago by cwork.
@mountaintheme thank you for sending the theme, I installed it and got it to work, I’ve pushed a couple of commits in the develop branch on github, running some more tests before releasing 3.0.25.
@coolcoder I did not get any emails from you… checked my spam, didn’t see anything.
@robertgrimley Installed the free version of the theme, the development version seems to be working fine for font-weights too.
@iskra77 “Hemma” is a premium theme I don’t have access to in order to test, but since the 2 themes I tested above are ok I’m assuming this will be the case for your theme as well.
@cwork The fatal error has already been resolved in v3.0.24, I’m about to release v3.0.25 now which will fix the font-weights issue reported by the others.
If you can’t access your dashboard, you can login via FTP and delete the plugin from wp-content/plugins/kirki. Once you do that, you can re-install the plugin. Alternatively you can follow the instructions here to update via FTP: https://www.wpbeginner.com/beginners-guide/how-to-manually-update-wordpress-plugins-via-ftp/I think I included everyone in this reply, so 3.0.25 will be available shortly.
Okay cool I will report back when I install 25 on my DEV site…
Problem whith google fonts
“Fatal error: Uncaught Error: Access to undeclared static property: Kirki_Fonts_Google::$force_load_all_subsets…”
version 3.0.25@madsparrow this was a problem with the SVN upload on www.ads-software.com… Changes to a file were not properly pushed. it only lasted a few seconds so I’m assuming you downloaded the plugin during those few seconds. If you delete the plugin and reinstall it should be ok
Yeah defo looks okay now… What was the problem?
- This reply was modified 6 years, 10 months ago by RobertGrimley.
- This reply was modified 6 years, 10 months ago by RobertGrimley.
- The topic ‘Update Crash’ is closed to new replies.