Site logo

Archived topic

Wptouch fail in customizer

1 reply · Started by sjoerd89 on September 28, 2016

Viewing posts 1–2 of 2

Hi there,

i saw that you changed something in the functions.php but still when i try to open customizer with WPtouch it crashes and i get this error
Fatal error: Class 'Generate_Google_Font_Dropdown_Custom_Control' not found in /home/zilvertron/domains/zilvertron.com/public_html/wordpress/wp-content/plugins/gp-premium/secondary-nav/functions/functions.php on line 544

And when i opened the functions.php is is there:

$wp_customize->add_control( 
			new Generate_Google_Font_Dropdown_Custom_Control( 
				$wp_customize, 
				'google_font_site_secondary_navigation_control', 
				array(
					'label' => __('Secondary navigation','generate-secondary-nav'),
					'section' => 'secondary_font_section',
					'settings' => 'generate_secondary_nav_settings[font_secondary_navigation]',
					'priority' => 120
				)
			)
		);

Or was the update not done yet and do i just have to wait for next update wich is fine aswell if that is the case.

Thanks,

Sjoerd

For some reason it looks like WPTouch is neglecting to load that class.

In the next version (haven't updated it yet), we check for the existence of that class first.

I am sending out beta versions who people who would like to test the new version, so if that interests you shoot me an email through the contact page here on this site: https://generatepress.com/contact/

This archived topic is closed to new replies.