Support » Themes and Templates » Problems with tools.php

  • Hi!

    I’m trying to install a new theme but there’s an error in tools.php

    Parse error: syntax error, unexpected T_STATIC in /home/caiod073/public_html/wp-content/themes/calypso/core/classes/tools.php on line 36

    I don’t know what to do, it’s my first time using wordpress.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The line 36 is

    32 if (is_array($key)){
    33
    34 $return = array();
    35 foreach ($key as $k){
    36 $return[$k] = static::arr($array, $k, $default);
    37 }
    38 return $return;
    }

    Please, help me!

    where did you get the theme from?

    it does not seem to be one of these supported themes https://wordpress.org/themes/

    have you tried to contact the theme’s developer for help?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problems with tools.php’ is closed to new replies.