Error when I activate the theme
-
Hi, I’m doing a clean installation of WordPress.
When I’m going to activate the Hestia Pro theme, the following error appears:
Parse error: syntax error, unexpected T_FUNCTION in /homepages/2/d373729385/htdocs/DOMAIN/wordpress/wp-content/themes/hestia/functions.php on line 42
I look at line 42 of the file but I do not see anything strange:
}
add_filter (
‘themeisle_sdk_products’, function ($ products) {
$ products [] = get_template_directory (). ‘/style.css’;return $ products;
}
);Does anyone know what happens?
Thanks!!!
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Error when I activate the theme’ is closed to new replies.
