-
AuthorPosts
-
January 22, 2022 at 1:35 pm #1336648
Dear Support,
Before updating, the site looks like this:
https://www.dropbox.com/s/irllxd708x2p7gs/Screen%20Shot%202022-01-22%20at%2012.32.02.png?dl=0After updating, the site looks like this:
https://www.dropbox.com/s/wi0e1ckjexco94d/Screen%20Shot%202022-01-22%20at%2012.20.20.png?dl=0Please advise as soon as is convenient.
Also, is there an easy way to reinstall an earlier version of the theme? I ask because I had to do a restore files via the server to get the site back to normal, which you can see here:
Thank you,
Tim
January 22, 2022 at 2:56 pm #1336659Hey Timothy,
I can’t see the problem on my end, did you restore a backup? If you need further help, then please include admin WordPress and FTP login details in private.
Best regards,
RikardJanuary 22, 2022 at 4:08 pm #1336662Hi Rikard,
Many thanks for the reply. Yes, I restored from a backup. Credentials for login below. Be aware that once you update to the latest version, it will break, so you’ll need a way to revert to an earlier version.
Please let me know what you discover.
Thanks again.
Best,
TimJanuary 23, 2022 at 4:47 am #1336707Hi Tim,
We would need FTP login details as well in order to update for you, please post them in private as well.
Best regards,
RikardJanuary 23, 2022 at 5:13 pm #1336756Dear Rikard,
Credentials below.
Many thanks for you help.
Best,
TimJanuary 24, 2022 at 5:39 am #1336833Hi,
Thanks for that. This function in your child theme seems to be creating the problem:
function av_breadcrumbs_shortcode( $atts ) { return avia_breadcrumbs(array('separator' => '/', 'richsnippet' => true)); } add_shortcode( 'av_breadcrumbs', 'av_breadcrumbs_shortcode' );
Did you write this yourself, or did you get help from us with that? If you got help from us, then please link to the original support thread.
———–Update————-
I’m not sure what happened, but when I switched back to the old version of Enfold in combination with your child, your functions.php file seems to be empty after that. Could you restore the backup you had again please?
Best regards,
Rikard- This reply was modified 2 years, 11 months ago by Rikard.
January 24, 2022 at 2:34 pm #1336907Hi Rikard,
Thank you for your help, as always.
Do you want me to restore the entire site or only the functions.php file?
Please advise.
Thanks,
Tim
PS I did not write that code. Here is the thread:
https://kriesi.at/support/topic/site-broken-by-breadcrumbs-functions-php-code-after-latest-theme-update/January 24, 2022 at 3:49 pm #1336912Hi Tim,
Restoring functions.php in your child theme should be enough, that seems to be the only file which got overwritten. After you have restored it, please try replacing the function I posted above, with this: https://kriesi.at/support/topic/site-broken-by-breadcrumbs-functions-php-code-after-latest-theme-update/#post-1332544
Best regards,
RikardJanuary 24, 2022 at 10:01 pm #1336942Dear Rikard,
I’ve restored the functions.php file. I believe the next step is to replace the function prior to updating to the latest version, but the link you’ve posted above is the same page I went to in the first place, i.e., it shows the same code you told me to replace. Is there a different link? Or could you share the new code directly?
Many thanks,
TimJanuary 25, 2022 at 5:51 am #1336977Hi,
Thanks for the update. I commented out the old function, and added the new. I activated the new version of the theme after that, and your site is displaying as it should now. Please review your site.
Best regards,
RikardJanuary 25, 2022 at 1:30 pm #1337065Dear Rikard,
Everything looks good at this end.
Many, many thanks for your help. Much appreciated.
Best,
TimJanuary 25, 2022 at 2:51 pm #1337083Hi Tim,
Great, I’m glad that we could help. Please let us know if you should need any further help on the topic or if we can close it.
Best regards,
RikardJanuary 25, 2022 at 2:52 pm #1337084Dear Rikard,
We can close it. Many thanks.
Tim -
AuthorPosts
- The topic ‘Site Breaks after Update to 4.8.8.1’ is closed to new replies.