THIS THREAD HAS BEEN CLOSED.

TTOM in hosting.
Updated on January 26, 2015 in Tonjoo Tom
5 on January 25, 2015

I tried on localhost and succeed.

I tried on web1, and after the plugin is enabled, the page becomes blank

I tried in web2, and a warning appears like this: “Parse error: syntax error, unexpected ‘[‘, expecting ‘)’ in /[..dir site ..] / www / wp-content / plugins / tonjoostudio-theme-option-maker / src / Facade / Facade.php on line 63 “

Can you help me?
Thanks

  • Liked by
By using the forum you are agree with tonjoo studio license agreement
Moderator 0 on January 26, 2015

Hi,

TTOM requires at least PHP version 5.3, so check your cpanel, is there are a features to raise the PHP version or not.

  • Liked by
Cancel
By using the forum you are agree with tonjoo studio license agreement
Message :
0 on January 26, 2015

Thanks Haris, I just checked

case web 1 : CPanel, php version 5.3.28

case web 2 : SPanel (Indonesia, MWN)
“Untuk server berbasis Spanel 1.3 saat ini PHP yang didukung adalah versi 5.3 tepatnya 5.3.3-7+squeeze19″ 
:: http://kb.masterweb.net/rahasia/index.cgi/read /FAQ_PHP_(Spanel)#Berapa_versi_PHP_yang_didukung.3F

Are there any other settings I should do?
Or anything else I should do?

Thanks for help :)

  • Liked by
Cancel
By using the forum you are agree with tonjoo studio license agreement
Message :
Moderator 0 on January 26, 2015

We will investigate the issue, thank you for your report!

  • Liked by
Cancel
By using the forum you are agree with tonjoo studio license agreement
Message :
0 on January 26, 2015

Hello Haris. I just found this: http://docs.php.net/manual/en/language.types.array.php

Probably because shorthand array.
Shorthand arrays can only be used in PHP Version 5.4.
So that explains why in PHP Version 5.3 error.

File Facade.php
..\plugins\tonjoostudio-theme-option-maker\src\Facade\Facade.php
Line number 63

From
return call_user_func_array ([$ instance, $ method], $ args);
change into
return call_user_func_array (array ($ instance, $ method), $ args);

And plugin back to normal.
Thanks Haris. :)

  • Liked by
Cancel
By using the forum you are agree with tonjoo studio license agreement
Message :
Moderator 0 on January 26, 2015

Wow great!, you have found the solution!. That will valuable for us and the community.
We will update the plugin soon.

Terimakasih,
Salam

Haris

  • Liked by
Cancel
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 .