• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

Lots of Validation Errors

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › General Discussion › Lots of Validation Errors

This topic is: not resolved

Tagged: validation errors

  • This topic has 6 replies, 3 voices, and was last updated 7 years, 3 months ago by wanderer.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 6, 2015 at 2:01 pm #167557
    wanderer
    Participant

    Hi I ran my site through W3C and it has 159 errors.

    http://validator.w3.org/check?uri=wander-argentina.com&charset=%28detect+automatically%29&doctype=Inline&group=0

    Background: converted my sites to mobile the last few months and my traffic has been steadily going down(!) since. For the upgrade to Lifestyle Pro, I hired someone who initially edited the Genesis theme files. I have now upgraded to the default 2.2.2 and all the edits should be only in the Lifestyle Pro theme.

    I can go through and fix these but I am unclear why there are so many errors. I feel like I'm missing a more global problem such as a conflict or settings issues, can anyone give me some hints please?

    October 6, 2015 at 4:28 pm #167564
    Tom
    Participant

    Hi,

    I'm curious to know what you mean by "converted my sites to mobile".

    As for code validation, the first line of raw output should be the DOCTYPE declaration. You have somehow managed to get a CSS stylesheet linked reference as the first line.

    <link rel="stylesheet" type="text/css" href="http://wander-argentina.com/wp-content/cache/minify/000000/RYs7DoAwDMUuRAgMiPNU_YhIbVP1hYHbU2Bgsyx74Swpwq4cqXXll6aVvTNqCsNPj9Vqzhsl7YV2lurzGeJogO_EtHFwOGSUmIvUGw.css" media="all" />
    <!DOCTYPE html>

    Examine code changes made to functions.php and check your plugins -- the linked stylesheet is cached and minified, so it may well be a plugin error.

    Then begin the validation process again.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    October 6, 2015 at 6:16 pm #167572
    Victor Font
    Moderator

    W3Total cache is buggy with Genesis. This is a known issue, Disable W3Total cache and the problem goes away.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    October 7, 2015 at 11:14 am #167625
    wanderer
    Participant

    Hi guys,

    Thanks so much! By 'converted to mobile' I mean I finally updated to Lifestyle Pro from pre Genesis Lifestyle (dragged my feet b/c I had a lot of customizations).

    Yes, I have no idea how that error got there on line one, glad to know it could be the plugin.

    Thanks Victor, my host recommended W3 since I got shut down for high CPU (in addition to legit traffic, I get a lot of snoopers and it is kind of futile to keep on top if it). Is there another cache plugin that plays better with Genesis?

    October 7, 2015 at 12:29 pm #167628
    wanderer
    Participant

    For informational purposes I thought I'd let you know, I did a another test after turning off the W3 plugin. While it did get rid of that first error, and quite a few others, there were still 93 errors

    October 7, 2015 at 1:24 pm #167632
    Tom
    Participant

    For the most part these errors are related to old features/code now migrated to an HTML5 standard. The errors will point you to how to correct them.

    A large number are related to your implementation of Google Custom Search. Update that and many errors should disappear. Other errors appear because the HTML elements are no longer valid as used, for example: "The align attribute on the img element is obsolete. Use CSS instead." Many are only warnings or content errors that likely existed prior to your theme upgrade, so you'll have to edit widget and post/page content to correct them.

    Try using the ZenCache plugin from the repository; simple to setup and (I think it's) no known for being buggy w/Genesis.


    Choose your next site design from over 350 Genesis themes.
    [ Follow me: Twitter ] [ Follow Themes: Twitter ] [ My Favourite Webhost ]

    October 17, 2015 at 4:23 pm #168350
    wanderer
    Participant

    Tom you are awesome, thanks a lot. I paid a guy to put in the google custom search. It seems some of these old school computer dudes don't quite get the Genesis framework in terms of understanding how it all functions holistically, at least that was my experience hiring people to help me out for the first time. If anyone on here wants to send me an estimate to fix this, as I'm a slow poke if doing it myself, please do!

    I'm a bit baffled because I installed the Zencache plugin but my score went down from 64 to 62 on pingdom and the load time increased by two seconds after testing again.

    Thank you for your suggestions, I'm going to work on it.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘General Discussion’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2023 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble