Tips & Tricks

Twitter Tools error: twitteroauth.php on line 19

Posted in Tips & Tricks on August 26th, 2010 by admin – 5 Comments

I just updated to the most recent version of  Twitter Tools plugin and got this error:

Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /wp-content/plugins/twitter-tools/twitteroauth.php on line 19

I did some digging and it turns out Twitter Tools 2.4 requires PHP5. So, that means you’ll have to check your server and see what your a running for PHP. Most control panels provide easy access to this infomation, if you can’t find it ask your host.

If you can’t upgrade PHP you’ll have to use an older versions of  Twitter Tools or use a different plugin.

So, your WordPress Homepage redirects to a post?

Posted in Tips & Tricks on August 24th, 2010 by admin – 4 Comments
and this is what the redirect looked like

that redirect doesn't look right

Fun times isn’t it? I was tearing my hair out too so I thought I’d share what worked for me.

If you are reading this post your WordPress homepage is suddenly redirecting to a post, most likely your most recent blog post. That’s what started happening to one of my blogs once I upgraded to WordPress 3.0.1. I’m not sure if the upgrade cause the issue or not but it did seem to occur at the same time.

So, how did I stop the blog home page from redirecting?

I disabled the Redirection plugin.

I wanted to have Redirection enabled however so after some further reading on the issue I discovered the main culprit (at least in my case) — there was a redirection set for the homepage!

I’m not sure where it came from but the blog home page was set to redirect to the most current post. I simply deleted that redirection and have been able to use the plugin just fine now. This is what you are looking for, it is within the Groups > Redirections section of Redirection’s options page:

there is the pesky home page redirect

there is the pesky home page redirect

All I had to do was select the “/” redirect and delete it and the problem was solved — the blog home page now loads just fine.

I hope this helps you, if so let me know in the comments.