Title: Fatal error while activating plugin
Last modified: March 28, 2019

---

# Fatal error while activating plugin

 *  Resolved [karelka](https://wordpress.org/support/users/karelka/)
 * (@karelka)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-7/)
 * 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?
    -  This topic was modified 7 years, 2 months ago by [karelka](https://wordpress.org/support/users/karelka/).
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Ffatal-error-while-activating-7%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Author [boldthemes](https://wordpress.org/support/users/boldthemes/)
 * (@boldthemes)
 * [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-7/#post-11369526)
 * Hi [@karelka](https://wordpress.org/support/users/karelka/),
 * Unfortunately, we weren’t able to recreate the mentioned issue in our enviroment.
   Also, please note that Cargo themes’ demo is created with Rapid Composer page
   builder.
 * Since you are using our premium theme, please write in the future on: [https://boldthemes.ticksy.com/](https://boldthemes.ticksy.com/)
 * Thanks in advance.

Viewing 1 replies (of 1 total)

The topic ‘Fatal error while activating plugin’ is closed to new replies.

 * ![](https://ps.w.org/bold-page-builder/assets/icon-256x256.png?rev=1573974)
 * [Bold Page Builder](https://wordpress.org/plugins/bold-page-builder/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bold-page-builder/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bold-page-builder/)
 * [Active Topics](https://wordpress.org/support/plugin/bold-page-builder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bold-page-builder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bold-page-builder/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [boldthemes](https://wordpress.org/support/users/boldthemes/)
 * Last activity: [7 years, 2 months ago](https://wordpress.org/support/topic/fatal-error-while-activating-7/#post-11369526)
 * Status: resolved