Okay
  Public Ticket #3218838
Issue with theme when upgrading to Php 8.0
Closed

Comments

  •  2
    Lucy started the conversation

    Hello, 

    First, I want to say how much I love this theme. It is simple and my clients have an easy time updating their website once I train them on it. I have used this theme on many client websites. 

    Recently, I began updating my sites and my client sites to Php 8.0 and with that I am also updating the to the latest release of Salient. Until last night when I updated a client site I had no issues or conflicts. 

    For theautoconnection.com which is hosted on GoDaddy I updated the Php to 8.0 and when I did the site went down. When I finally got a hold of tech support (Three hours on hold) they restored the site and sent this error message that they said was an issue with the theme. Can you please review and let me know what I should do in order to update the Php and theme for this website? 

    Here is error message: 

    Fatal error: Uncaught Error: Call to undefined function create_function() in /tmp/.configs:9 Stack trace: #0 /home/daveflanagan/public_html/wp-content/themes/salient/nectar/helpers/wp-general.php(167): include() #1 /home/daveflanagan/public_html/wp-content/themes/salient/functions.php(41): require_once('/home/daveflana...') #2 /home/daveflanagan/public_html/wp-settings.php(585): include('/home/daveflana...') #3 /home/daveflanagan/public_html/wp-config.php(120): require_once('/home/daveflana...') #4 /home/daveflanagan/public_html/wp-load.php(50): require_once('/home/daveflana...') #5 /home/daveflanagan/public_html/wp-blog-header.php(13): require_once('/home/daveflana...') #6 /home/daveflanagan/public_html/index.php(17): require('/home/daveflana...') #7 {main} thrown in /tmp/.configs on line 9

    There has been a critical error on this website.


    Please advice. Should I update the Salient theme first and than update the Php? 

    Thoughts?

    Thank you for your assistance. 

    Kindly, Lucy 


  •  8,342
    Tahir replied

    Hey Again,

    Appreciate the Kind Words. I love supporting it as much as you love using itsmile.png . 

    Yes, Its best practice to first update the Salient Theme and Plugins on a Staging site and then update the PHP to iron out any issues without affecting the live site.

    Thanks 


    ThemeNectar Support Team 

  •  2
    Lucy replied

    Tahir, 

    I thought that would be the case. I will give that a try and let you know if it worked.

    Thank you for the quick response. 

    Lucy