Parse error in template
Updated on September 26, 2017 in Theme
5 on September 23, 2017

Hello,

I have bought your template MinoPro and all the other plugins too. It seems work fine, i am just in phase of installation into clean WP, but when I activate template Mimo Pro I get following message :

Parse error: syntax error, unexpected ‘[‘ in /mnt/data/accounts/s/stastrak/data/www/webinator/wp-content/themes/mino/page-builder/inc/helper.php on line 63

Is there a way how to remove this error message? I have checked the file helper.php in editor but haven´t found anything strange-but I am not a programmer…

Thank you for answer

Best regards

Stan Stepanek, Czech Republic

  • Liked by
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

By using the forum you are agree with tonjoo studio license agreement

0 on September 23, 2017

Hello,

I have deleted function from helper.php – it helped, now it works but please check where problem is :

if ( ! function_exists( ‘tpb_heading_list’ ) ) :

/**
* Set heading tag
* @return array
*/
function tpb_heading_list( $key = false ) {

$data = array(
‘H1’ => [ ‘before’ => ‘<h1>’, ‘after’ => ‘</h1>’ ],
‘H2’ => [ ‘before’ => ‘<h2>’, ‘after’ => ‘</h2>’ ],
‘H3’ => [ ‘before’ => ‘<h3>’, ‘after’ => ‘</h3>’ ],
‘H4’ => [ ‘before’ => ‘<h4>’, ‘after’ => ‘</h4>’ ],
‘H5’ => [ ‘before’ => ‘<h5>’, ‘after’ => ‘</h5>’ ]
);
$data = apply_filters( ‘tbp_heading_tag_list’, $data );

if ( $key && false != array_key_exists( $key, $data ) ) {
return $data[ $key ];
}

return $data;

}

endif;

Have a nice day, thank you

Best regards

Stan

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

By using the forum you are agree with tonjoo studio license agreement

Message :
Moderator 0 on September 25, 2017

Hi there!

Sorry for late response, weekend is off day 🙂

And regarding of your issue, are you enabling WP_DEBUG to TRUE? If yes, please try to set it to FALSE instead.

And about the error, I will notify the dev about this 🙂

Thank you

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

By using the forum you are agree with tonjoo studio license agreement

Message :
0 on September 26, 2017

Hi Zea,

no problem, I understand weekend is important for everybody.

This is the extract of code from wp-config.php : wp_debug is set to false…

..
* @link https://codex.wordpress.org/Debugging_in_WordPress
*/
define(‘WP_DEBUG’, false);

/* That’s all, stop editing! Happy blogging. */

/** Absolute path to the WordPress directory. */
if ( !defined(‘ABSPATH’) )
define(‘ABSPATH’, dirname(__FILE__) . ‘/’);

..

Best regards

Stan

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

By using the forum you are agree with tonjoo studio license agreement

Message :
Moderator 0 on September 26, 2017

Hi

Thank you for your understanding 🙂

I already notify our dev about this, and they will investigate the issue

Thank you

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

By using the forum you are agree with tonjoo studio license agreement

Message :
0 on September 26, 2017

OK Zea, thank you.

  • Liked by
Cancel
Support Hours:
Weekdays: 09.00 - 17.00
Weekend: Off

By using the forum you are agree with tonjoo studio license agreement

Message :
Loading more replies
You are not logged in

Please login here or simply sign up here .