Home Forums Basel support forum Parse error?

Parse error?

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

    coriface
    Participant

    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
    Participant

    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
    Participant

    I’m using php 5.4

    #623

    Artem Temos
    Keymaster

    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.