Home Forums Business Center Pro Parse error when activating theme (2.0.1)

This topic contains 3 replies, has 2 voices, and was last updated by  wensolutions 1 month, 3 weeks ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33920

    JohnnyMalaria
    Participant

    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.

    #33921

    JohnnyMalaria
    Participant

    UPDATE – 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.

    #33924

    JohnnyMalaria
    Participant

    Everything 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.

    #33987

    wensolutions
    Participant

    Hello @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 !!

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.