Parse error, unexpected T_OBJECT_OPERATOR – php

When upgrading/updating from WordPress 2.9.2 to 3.4.1 I received the following error

Parse error, unexpected T_OBJECT_OPERATOR

You will find various forums discussing this error. Many users have suggested different solutions. But in most cases the reason is that you are not using php5 version on your server. Instruct your host to switch to php5 or above version. You should be able to do it from your website’s admin control panel also.

Thanks :)

Enabling WordPress Permalinks in Windows

Permalinks (pretty-urls) may not work straight away if WordPress is installed on a Windows server.

For many years, I thought it was impossible to have permalinks on Windows server based WordPress.

There are many tricks to enable it on Windows. But this particular one has worked very easily for me because my host is providing Plesk control panel to change PHP settings.

Here is what I did. Plesk allows php scripts to to run as CGI application, FastCGI application or ISAPI extension.

To make permalinks work, just choose ISAPI application as shown below. That’s it.