Home Forums Basel – Premium Template Parse error?

This topic contains 3 replies, has 2 voices, and was last updated by Artem Temos Artem Temos 4 years, 4 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #620

    coriface
    Customer

    Hi there,

    I am trying to activate the Basel theme for the first time on my WordPress site and I receive the following error:

    Parse error: syntax error, unexpected T_FUNCTION in …/wp-content/themes/basel/inc/shortcodes.php on line 196

    Please advise

    #621

    coriface
    Customer

    Here’s what’s on line 196

    $func_name = function() use( $carousel_id, $per_row, $autoplay, $hide_pagination_control, $hide_prev_next_buttons, $scroll_per_page, $wrap ) {

    #622

    coriface
    Customer

    I’m using php 5.4

    #623

    Hello,

    Thank you so much for using our theme.

    As you already noted this error was caused by PHP Closure feature that was introduced in version 5.3. And it is more likely you use older version but not 5.4. Please, double check it and maybe contact your server administrators for help.

    If you will not be able to fix this, provide your ftp access so we could take a look at the problem.

    Regards
    Xtemos

Viewing 4 posts - 1 through 4 (of 4 total)

The topic ‘Parse error?’ is closed to new replies.