Hi all, I sent an email to support last night but any help with this would be appreciated…
Kieran
Oshine Core
Plugin could not be activated because it triggered a fatal error .
Parse error : syntax error, unexpected ‘[’ in /home/content/31/10920531/html/acorn/wp-content/plugins/oshine-core/inc/importer/init.php on line 140
public function import_slider() {
$demo = $_POST['demo'];
$sliders = self::get_settings($demo)['sliders'];
foreach ($sliders as $type => $file) {
$data = $this->demo_files_path.'/'.$file;
if($type == 'masterslider' && file_exists($data)) {
echo $this->import_master_slider($data);
} elseif ($type == 'revslider' && file_exists($data)) {
echo $this->import_revslider($data);
}
}
}
TypeHub
Plugin could not be activated because it triggered a fatal error .
Parse error : syntax error, unexpected ‘[’ in /home/content/31/10920531/html/acorn/wp-content/plugins/typehub/includes/helpers.php on line 233
$typekit_fonts[$fam->name]["variants"] = $temp_array;
$typekit_fonts[$fam->name]["subsets"] = [];
$typekit_fonts[$fam->name]["cssname"] = $fam->css_names[0];
Tatsu
Plugin could not be activated because it triggered a fatal error .
Parse error : syntax error, unexpected ‘[’, expecting ‘)’ in /home/content/31/10920531/html/acorn/wp-content/plugins/tatsu/includes/helpers/helpers.php on line 93
function tatsu_create_new_post_url( $post_type = 'page' ) {
$new_post_url = add_query_arg( [
'action' => 'tatsu_new_post',
'post_type' => $post_type,
], admin_url( 'edit.php' ) );
//$new_post_url = wp_nonce_url( $new_post_url, 'tatsu_action_new_post' );
return $new_post_url;
}