Okay
  Public Ticket #1778145
Problem Upgrading - Parse Error
Closed

Comments

  • Justin started the conversation

    Hello,

    I'm trying to upgrade a Salient theme for a client's website I built several years ago. It's been a while since this theme has been upgraded and I'm trying to go from version 3.0.5 of Salient to the current version of 9.0.1.

    Upon installing the updated theme, I get the following error:

    Parse error: syntax error, unexpected T_FUNCTION in /home/content/08/5261208/html/content/wp-content/themes/salient/functions.php on line 6354

    The website is hosted on GoDaddy (which makes everything harder) and it appears that the server is running PHP 5.2.17. I used the suggestion from another post and had GoDaddy apply the following settings:

    Recommended PHP configuration limits are as follows:

    • max_execution_time 60
    • memory_limit 256M
    • post_max_size 48M
    • upload_max_filesize 48M

    However, after reinstalling the old Salient theme, and then attempting to upgrade again, I still get the same parse error.

    Do you think the problem could be PHP 5.2.17 instead 7.1? Should I move them to a different host? Or is it just not possible to from Salient 3 to 9?

    The WordPress version is 4.9.8.

    Thanks!

    Justin

  •  8,997
    Tahir replied

    Hey Again,

    The server is likely timing out and the theme files are not copied over 100%. 

    Your PHP Settings are likely not correct. Also ensure you are running PHP version 7.1 and not 7.2 as its incompatible .

    You can verify your PHP configuration limits by installing a simple plugin called WordPress phpinfo http://wordpress.org/extend/plugins/wordpress-php-info/

    Recommended PHP configuration limits are as follows:

    • max_execution_time 60
    • memory_limit 256M
    • post_max_size 48M
    • upload_max_filesize 48M

    Please have your hosting provider fix this for you so it can be installed correctly. 

    Thanks 


    ThemeNectar Support Team 

  • Justin replied

    Thanks for the response, but I'm not sure you read my question completely. I already had GoDaddy modify the PHP limits to those settings, as you recommended in another post. It didn't work. Please re-read my original question, and note that I mention I'm trying to upgrade from Salient 3 to Salient 9, and that the server is running PHP 5.

    This is an older site that I built for a client several years ago. I paid $42 to reactivate my customer service with you to try and resolve this issue.

    In my original question for this thread I ask you about the fact the server is running PHP 5 instead of 7, and that I'm trying to upgrade from Salient 3 to Salient 9. Do I need to move them to a new host? Is it impossible to make upgrade from Salient 3 to 9?

    Thanks!

  •  8,997
    Tahir replied

    Hey Again, Hope you had a Great Weekend, 

    Yes the Page Builder requires PHP 7 or higher so yes you will have to change hosts. Also Since you are updating from such an old version we would suggest to set it up using the page builder and the new Page Elements. 

    Also see : http://themenectar.com/docs/salient/salient-studio/ .

    Best


    ThemeNectar Support Team