BuddyBoss Home – Web › Support Forums › Themes › Boss. theme › theme-functions.php on line 154
- This topic has 13 replies, 4 contibutors, and was last updated 9 years, 9 months ago by Alyssa.
Question
February 14, 2015 at 1:43 pm #35950@jcolkHowdy, I just purchased Boss. and I am attempting to install, but am getting an error relating to
Parse error: syntax error, unexpected T_FUNCTION in wp-content/themes/boss-2/buddyboss-inc/theme-functions.php on line 154
Answers
February 14, 2015 at 1:43 pm #35951@jcolkThat line reads $using = array_unique(array_filter($using, function($var){return !is_null($var);} ));
February 14, 2015 at 2:01 pm #35952@cwilliamsTry re-uploading a fresh, unpacked, copy of the theme’s folder to wp-content/themes using FTP or whatever file management application your host provides. Are you getting this with the parent or child theme activated ?
February 14, 2015 at 3:12 pm #35963@jcolkthis would be the parent…trying this now…after a fresh install, I pretty much get a blank page. The contents are unpacked to /themes/boss/ and I have activated them in the WP Dashboard. Once I do this, the site does not come up:
http://codezebra.umanon.com as example
http://codeelephant.umanon.com is another
Parse error: syntax error, unexpected T_FUNCTION in /home/umanon/public_html/codeelephant/wp-content/themes/boss/buddyboss-inc/theme-functions.php on line 154February 14, 2015 at 3:14 pm #35965@jcolkI will eventually install to umanon.com – which codezebra.umanon.com is a clone of. However, I wanted to mess with the settings and colors and plugins first before putting it into a live environment
February 14, 2015 at 5:41 pm #35980@jcolkDefinitely didn’t work with both fresh install and a clone of live environment.
February 14, 2015 at 5:51 pm #35982@cwilliams@tjchester See above “Parse error: syntax error, unexpected T_FUNCTION in wp-content/themes/boss-2/buddyboss-inc/theme-functions.php on line 154 “
February 14, 2015 at 6:21 pm #35983@style960@jcolk TJ can clarify, but I’d check the PHP version your host is using. I don’t see this on 5.3.28. Put this in an empty .php file, save and name as anything you like, upload it, and navigate to it through your browser – page returned will display your hosts current version & environment:
<?php phpinfo() ?>
February 14, 2015 at 6:22 pm #35984February 14, 2015 at 6:24 pm #35985@jcolk5.2.17 – so the PHP needs to be upgraded! Thank you, let me contact my host!
February 14, 2015 at 6:26 pm #35986@style960Worth a try 🙂
February 14, 2015 at 7:00 pm #35988@jcolkthat worked perfectly!
February 14, 2015 at 7:14 pm #35991@cwilliamsThanks @style960 i did not even see his php was out of date
February 15, 2015 at 9:57 am #36000
- The question ‘theme-functions.php on line 154’ is closed to new replies.