V1.22 Child Widget Error 500


#1

Hi!

Since the latest version of Sydney (1.22) I’m getting a blank page / 500 when I include the fp-employees in my child theme with the following code:

if ( function_exists('siteorigin_panels_activate') ) {
	require_once get_template_directory() . "-innorese/widgets/fp-employees.php";
}

With the previous versions of Sydney it worked fine …

Thanks!


#2

Hi,

Sorry for the inconvenience, to fix this please open functions.php and change this line:
require get_template_directory() . "/widgets/fp-employees.php";
to:
// require get_template_directory() . "/widgets/fp-employees.php";

You have to make those change every you update your theme.

Regards,
Awan


#3

Hi Awan,

I’m such an Idiot … :wink:

Thanks!