Forum Replies Created
-
AuthorPosts
-
April 22, 2014 at 7:16 am in reply to: When I inspect my webpage I get – "Uncaught SyntaxError: Unexpected token < " #9623theburgernerdMember
Hi,
I wanted to update this thread in case anyone else was having the same issues as I was. A plugin I had called “Infinite Scroll” was causing the Uncaught Reference Error.
April 17, 2014 at 2:35 pm in reply to: When I inspect my webpage I get – "Uncaught SyntaxError: Unexpected token < " #9551theburgernerdMemberHi,
In regards to what I posted above. I kept doing some digging and figured out the Syntax Error was being caused by an issue with the jQuery version I was using so I was able to update it and resolve that issue. However, the Uncaught ReferenceError: jQuery is not defined (index):793 still remains…but now the line is actually showing up as 658, not 793. But it still does look like it’s in reference to the Category Widget.
Thanks again,
Trevor
theburgernerdMemberHi,
Sounds great! I look forward to the update. Is there an eta for the update? If it will be awhile before it’s released, do you currently have a work around solution?
I was also wondering if you are going to include a patch for the Google authorship issues that you recently helped me fix (https://www.themehorse.com/support-forum/topic/error-missing-required-field-updated-google-webmaster/). Basically I’m wondering if I will have to manually re-patch the content.php again or if it will be included.
Thanks for getting back to me,
Trevor
April 17, 2014 at 2:05 pm in reply to: When I inspect my webpage I get – "Uncaught SyntaxError: Unexpected token < " #9549theburgernerdMemberHi Theme Horse Gang,
For some reason, the errors are only showing up on my homepage now and not posts or pages. I’m thinking now maybe it was a server issue causing it. I’m hosted by Bluehost which had an update and big crash yesterday…and now that they’re up and running again my post and page errors are gone.
However, here are the two errors remaining that persistently show up on my Homepage.
Uncaught ReferenceError: jQuery is not defined (index):793Uncaught SyntaxError: Unexpected token < ?v=1.11.0
Line 793 looks like it is in reference to the drop down category widget in my right sidebar which is just the standard one from WordPress. Here’s what pops up when I click on line 793. Which seems odd to me because it doesn’t appear as an error on my pages or posts but only on my homepage.
<script>
/* <![CDATA[ */
var dropdown = document.getElementById(“cat”);
function onCatChange() {
if ( dropdown.options[dropdown.selectedIndex].value > 0 ) {
location.href = “http://www.theburgernerd.com/?cat=”+dropdown.options%5Bdropdown.selectedIndex%5D.value;
}
}
dropdown.onchange = onCatChange;
/* ]]> */
</script>And in regards to the Uncaught SyntaxError: Unexpected token < ?v=1.11.0 , I’m not sure what’s causing it. These sort of things are a bit above my head. Would it have something to do with my server or the delivery of my homepage code? Here’s my homepage if you wanted to inspect it directly http://www.theburgernerd.com
My thanks in advance for your help.
Trevor
April 12, 2014 at 5:31 pm in reply to: Error: Missing required field "updated" – Google Webmaster #9465theburgernerdMemberThanks so much Sanjip for posting the code and each line where the change had to be made. It worked perfectly. Just finished live testing it on Google Webmaster and it cleared up every issue.
Thanks again and have a great weekend.
Kind Regards,
Trevor
April 11, 2014 at 7:37 pm in reply to: Error: Missing required field "updated" – Google Webmaster #9448theburgernerdMemberJust tried the above with a live test, crashed the site.
What would be ideal is if Theme Horse updated the Clean Retina Pro to include a fix for everyone, since these things are now a “necessity” for Google and all your clients are subject to this. You guys are the programmers and know your own code inside and out, the customers don’t. If it’s as easy as adding or replacing a few lines, then it should take very little effort on your part to do this for everyone or at least provide a lot more detailed instruction. I really like using the theme and have no issues with continuing to do so (and continuing to pay for it), but only if the theme can stay relevant to the times. I’ve already started looking at other premium theme options and will cancel my account if you are unable to provide a reasonable fix to this problem.
April 11, 2014 at 7:06 pm in reply to: Error: Missing required field "updated" – Google Webmaster #9447theburgernerdMemberHi Rabin,
Thank you for getting back to me. I’ve seen that link before, in fact I’ve seen a lot of info about it, but where I get stumped is which part of the code do I edit. Before posting for help, I searched that content php and couldn’t figure out where to edit or add such a code because the write up is different than the example given in the link you provided as well as all the other articles I read. Plus within that content file, do I add, edit, or replace the code in each section (ie. page, archives, single post, loop?). If you could give me a bit more to work with than simply directing me to someone else’s help forum then I would certainly appreciate it.
Right now my game plan would be to do the following (but since my knowledge is very limited, I don’t want to experiment much for fear of crashing my website). This is the current code:
</h2><!– .entry-title –>
<div class=”entry-meta”>
<span class=”by-author”><?php _e( ‘By’, ‘cleanretina’ ); ?> “><?php the_author(); ?></span>
<span class=”date”>” title=”<?php echo esc_attr( get_the_time() ); ?>”><?php the_time( get_option( ‘date_format’ ) ); ?></span>Would I then change every relevant section of the content php to?:
</h2><!– .entry-title –>
<div class=”entry-meta”>
<span class=”vcard author”>
<span class=”fn”><?php _e( ‘By’, ‘cleanretina’ ); ?> “><?php the_author(); ?></span>
<span class=”post_date date updated”>” title=”<?php echo esc_attr( get_the_time() ); ?>”><?php the_time( get_option( ‘date_format’ ) ); ?></span>Lastly, I noticed the “loop for page” doesn’t have anything like the above.
Thanks,
Trevor
April 11, 2014 at 12:55 pm in reply to: Error: Missing required field "updated" – Google Webmaster #9440theburgernerdMemberAlso wanted to add that “Error: Missing required hCard “author” also appears as an error in Google’s structure data testing tool.
April 9, 2014 at 3:00 pm in reply to: Page H2 "About" Interfeering with my SEO Plug In…Please Help #9386theburgernerdMemberHi Carol and Sanjip,
I was wondering if either of you could share the solution to that problem. I’m using Clean Retina Pro and can’t figure out how to fix the “Error: Missing required field “updated”
My thanks in advance.
-
AuthorPosts