Home › Forums › Pro Themes › Business Center Pro › Parse error when activating theme (2.0.1)
- This topic has 3 replies, 2 voices, and was last updated 6 years, 12 months ago by wensolutions.
-
AuthorPosts
-
March 1, 2017 at 5:17 pm #33920JohnnyMalariaParticipant
Hi,
You recently pushed version 2.0.1 – thank you. Activating 2.0.0 was creating a fatal error that required WP to be reinstalled.
I have just activated version 2.0.1 and now get this error:
Parse error: syntax error, unexpected ‘(‘ in /home/thatsn7/public_html/enlightenscientific.com/wp-content/themes/business-center-pro/inc/modules/testimonial.php on line 185
Thankfully, it isn’t fatal and I can get back to the main WP admin page but I can’t do anything including change the theme.
I really need this to function so I can get a site running by Saturday.
Thanks,
John.
March 1, 2017 at 6:26 pm #33921JohnnyMalariaParticipantUPDATE – I edited the file manually from:
<?php if ( ! empty( ( $name_company ) ) ) { ?>
to
<?php if ( ! empty( $name_company ) ) { ?>
and now it loads and looks very nice 🙂 though I haven’t tried customizing it yet.
March 1, 2017 at 7:41 pm #33924JohnnyMalariaParticipantEverything worked except the customizer. I figured it might be a server issue. I tracked down the problem to the PHP version. It was 5.4 so I changed it to 5.5 and the customizer works.
However, now there’s a problem with the header image. If I try to have no header image then the default (suggested one shows up). If I choose my own then it appears dim. I want the header image to be displayed at the full brightness level. Can this be done?
John.
March 2, 2017 at 1:02 am #33987wensolutionsKeymasterHello @JohnnyMalaria,
The issue you have reported is caused in the site due to the older PHP version in your Web Server ( i.e version 5.4 ).We might update the theme to make the theme stable even for the older PHP version, however, as the WordPress itself recommends the use of PHP version 7 or higher, it is recommended to update the server to the newer version. Please check the recommended configuration for WordPress here :
https://wordpress.org/about/requirements/
Regarding the Header image issue, the issue you have reported is not actually a issue but the built in feature for WordPress itself that sets the default header image while no header image is chosen.
For the issue regarding the “diming” of the header image, you can remove the dim effect for the image by using the following custom CSS in your Admin Dashboard > Appearance > Customize > Additional CSS :
#banner-image .black-overlay { display: none; }
Hope this Helps,
Best Regards !!
-
AuthorPosts
- You must be logged in to reply to this topic.