• Resolved a778

    (@a778)


    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)
  • Hi @a778,

    How did you installed the theme? Through FTP or the dashboard?
    Please let me know.

    Regards,
    Rodica

    Thread Starter a778

    (@a778)

    Via dashboard.

    Thanks!

    Thread Starter a778

    (@a778)

    I have found a way to fix it.

    I have installed the free theme of Hestia and then I have installed the pro version of Hestia uploading the zip file and it has not given me any problem.

    Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Error when I activate the theme’ is closed to new replies.