Viewing 15 replies - 1 through 15 (of 20 total)
  • Thread Starter hannekevintagevirus

    (@hannekevintagevirus)

    After switching of the plugin Sold Out products, my website stopped working completely. Help anyone :(?

    hannah

    (@hannahritner)

    Hi,
    I am seeing things working. Try clearing your cache. I would also suggest deactivating your plugins to test if any are conflicting. Let me know if there’s no change.

    Hannah

    @hannah

    I, too, am having this issue. Everything was working fine until this new update. I deactivated all plugins and cleared my cache and the issue persists. It’s definitely not the plugin. Trying to find a download for the previous version to reinstall in the meantime…

    Here’s an example of page where all the content below the header & menu is missing: https://www.troop236bsa.org/blog

    EDIT: A word.

    • This reply was modified 6 years, 5 months ago by troop236bsa.
    • This reply was modified 6 years, 5 months ago by troop236bsa.
    hannah

    (@hannahritner)

    It’s definitely the plugin.

    Do you mean the Sold Out Products plugin? I’m still unsure what exactly isn’t working. Can you explain in more detail? And provide a link to your site?
    Thanks!

    Hannah

    Hannah, my bad. I meant, it’s definitely not a plugin. It’s the theme that’s not working. Hope it can be fixed soon.

    hannah

    (@hannahritner)

    @troop236bsa, you’re using an old version of the theme. Virtue is now running on version 3.0.7. You can download from here: https://wordpress.org/themes/virtue/

    Hannah

    @hannaritner, please check again. You must’ve seen my site as I was in the middle of testing an old version of the theme. I’ve since re-added the latest theme and the issue is there.

    hannah

    (@hannahritner)

    I’m still seeing version 2.6.7. Try clearing your cache.

    Hannah

    Thread Starter hannekevintagevirus

    (@hannekevintagevirus)

    I spend a day and evening fixing everything and finally recovered my website by a complete backup. The guys from the hosting company said the problem was caused by my child theme. So I made all the changes that were in my child theme in the original theme and now it works again. It weren’t the plugins. Hope this is helpfull for you too?

    The problem is likely in your child theme; in your page or post templates. They changed the names of some of the functions used in templates, so if you’ve got the old code in your template then you’re calling a function that doesn’t exist which will cause an error and everything under the header will be blank. The header is shown because it’s called before any custom code in the template.

    For me it was this code:

    <?php echo esc_attr(kadence_main_class()); ?>

    It’s purpose is to dynamically set the width of the main container. For instance, if you pick a full width layout, it will give you the class “col-md-12” which is a 100% width bootstrap column.

    They changed it to this:

    <?php echo esc_attr(virtue_main_class()); ?>

    Try changing that. You could also just replace the php code with “col-md-12” if you don’t need it to be dynamic.

    If this doesn’t fix it, look for “kadence” in your child theme, and replace whatever you find with “virtue”.

    I reactivated the main theme and that seemed to have proven all your points – it’s the child theme.

    The whole point of a child theme is to prevent customizations from being wiped when you update a theme. If you ask me, that’s essentially what happened here. I’m now having to go through several files to change inordinate amounts of code in an attempt to resolve this issue and have my site working on the front-end.

    It’s still not fixed on my end (something’s still wrong in my child theme somewhere), but I do believe this is the issue like many of you said.

    Hey,
    The WordPress.org theme uploads directory is currently down. Once it goes back up I have an update that I will push live that adds back kadence_main_class() so if you’ve copied a template file that has this function it won’t create an error.

    But since WordPress.org theme review guidelines are updating and improving most of the kadence prefixed functions will have to change to virtue prefix. What that means is you will want to update your child themes templates.

    I will put in a notice as well of depreciated functions going forward through so it doesn’t switch in one version.

    @troop236bsa if updating the theme doesn’t fix your issue then please let me know what your editing through your child theme and perhaps I can help with a better way.

    @britner thanks for the update. I’ll work on it and get back to you. I was messing around with it before and, despite thinking I fixed all instances of ‘kadence,’ the site was even more broke than before. So somewhere something is going wrong and I’ll have to edit each file piece by piece until I figure out what’s not working correctly.

    Please update us all here when the theme is updated just so we know. Thanks again.

    The update should be available in your WordPress account.

    Thanks, I did update my theme and then reactivated my child theme. The original issue is resolved, but there are still some quirks. When I have the time to go through and tweak the child theme, I’ll let you know if everything’s fixed.

Viewing 15 replies - 1 through 15 (of 20 total)
  • The topic ‘Website doesn’t work anymore after updating theme’ is closed to new replies.