Fatal error while activating plugin
-
Hello! My site is currently on a localhost on my personal computer. Theme Cargo version: 1.0.9 by BoldThemes. I have Rapid composer pre-installed with this theme, and now I’ve installed and tried to activate Bold Page Builder Plugin and got this error:
“Plugin could not be activated because it triggered a fatal error.
Parse error: syntax error, unexpected ‘[‘ in Z:\home\cargo\www\wp-content\plugins\bold-page-builder\content_elements\bt_bb_counter\bt_bb_counter.php on line 68”
Here is this line:
function msplit( $str, $len = 1 ) {
$arr = [];
$length = mb_strlen( $str, ‘UTF-8’ );
for ( $i = 0; $i < $length; $i += $len ) {
$arr[] = mb_substr( $str, $i, $len, ‘UTF-8’ );
}
return $arr;
}Could you please help?
The page I need help with: [log in to see the link]
The topic ‘Fatal error while activating plugin’ is closed to new replies.