Okay
  Public Ticket #2230637
Parse error at install
Closed

Comments

  • sarahdionne started the conversation

    I installed Bifrost theme through the WP dashboard.  When I activated the theme, my screen went blank except for this error: Parse error: syntax error, unexpected '&&' (T_BOOLEAN_AND), expecting ')' in /home/content/76/9010876/html/wp-content/themes/bifrost/functions.php on line 319

    The line of code is:

         if (!empty($sidebar['sidebar_title'] && !empty($sidebar('sidebar_description')))) {

    I have access to ftp to fix the code but I'm not a coder so I don't know what it should be. Please advise.  Thank you!

  •  675
    Neuron replied

    Hi,

    I am very sorry for the late reply, we were not working on the weekend.

    Please talk to your host providers and tell them to update your PHP version to 7 or higher, that will fix the issue quickly. The reason why that is showing is because we have written code in our themes in a high standard that is still not supported by some older versions of PHP.

    Feel free to ask for anything you need.

    Kind Regards,
    NeuronThemes


    Subscribe to our newsletter to get the latest updates about NeuronThemes and join our community Facebook Group.