Parse error: syntax error, unexpected T_VARIABLE in wpincludes /functions.php on line 192 WordPress 3.5

There seems to be a lot of people experiencing a problem after upgrading to WordPress 3.5

If you get the following error (or very similar)

Parse error: syntax error, unexpected T_VARIABLE in wpincludes /functions.php on line 192

Then it is believed your wordpress upgrade has been hacked.
This has now been confirmed as a definite hack. To confirm, YOUR WEBSITE HAS BEEN HACKED!

You can review this forum for help on fixing this error

Some people are simply replacing the functions.php file with a new copy of this file, however there is likely to be a number of files in your root directory (take a look for files that just start with a load of numbers)

It is recommend (strongly recommended) to fix this error permanently and to remove the hackers files from your website that you work through the following resources. (I can help if required but i do charge $100 for this as its a lot of work)

Ill update this post when a patch from wordpress is released or further advice is received.

Best WordPress Tag Plugins & Widgets

With so many plugins available for WordPress its often frustrating trying to find the one you want to do the thing you need it to do.

I’m creating a list of the best WordPress Tag Plugins here. I’ll add more to it as i find and use more myself. Feel free to add a comment on the ones you like.

Taxonomy List Widget

If you want to show a list of your Tags with the number of times they have been used in list format then this plugin does that for you. You can simply add it as a widget to any widget-ed area like a sidebar.

Ultimate Tag Cloud Widget

If you prefer a Tag Cloud then the Ultimate tag cloud widget is the one for you. When you hover over the tag it also shows the number of times you have used that tag across all your posts.

Moving WordPress Sidebar from Right to Left Twenty Twelve Theme

In WordPress Twenty Twelve Theme many people find it difficult to move the sidebar from the right side to the left side.

Well it is easy if you know how and i have put together instructions along with a video for this for you.

Simply add this code to the bottom of your style.css file and save and refresh your page to see the changes.

/*– move sidebar to the left fix by wperror.com –*/
@media screen and (min-width: 600px) {
.site-content {
float: right;
}
.widget-area {
float: left;
}
}

/* for IE8 and IE7 —————-*/
.ie .site-content {
float: right;
}
.ie .widget-area {
float: left;
}

If you are not using the Twenty Twelve them then try using this code instead of the above code

@import url(‘../twentytwelve/style.css’);

/*– move sidebar to the left fix by wperror.com –*/
@media screen and (min-width: 600px) {
.site-content {
float: right;
}
.widget-area {
float: left;
}
}

/* for IE8 and IE7 —————-*/
.ie .site-content {
float: right;
}
.ie .widget-area {
float: left;
}

Still unsure, then watch this video.

How to remove the link to WordPress from the footer

As standard, A WordPress theme includes a link back to WordPress in the footer. This isn’t always desirable, especially if you have a business website. So how do you remove this?

Login to your WordPress dashboard and go to…

Appearance > Editor > Footer.php (see image below)

Locate and delete the text that says

<a href=”<?php echo esc_url( __( ‘http://wordpress.org/’, ‘twentytwelve’ ) ); ?>” title=”<?php esc_attr_e( ‘Semantic Personal Publishing Platform’, ‘twentytwelve’ ); ?>”><?php printf( __( ‘Proudly powered by %s’, ‘twentytwelve’ ), ‘WordPress’ ); ?></a>

Some sites may say something different, you are looking to delete everything between the opening…

<a href and the closing </a>

Remove WP link
Source: wperror.com

Fatal Error: Allowed Memory Size Of Bytes Exhausted

This is a common error and its easy to fix.
You normally see this after adding a plugin or new theme and there just isn’t enough memory. To fix this simply create a file in notepad and add this line into it

memory_limit = 256M ;

Save this as php.ini
Now upload this to your wp-admin folder
Thats it, the error is fixed.

Watch this video to see how its done.

Did you find this useful? If so please take a moment to share this below, Thanks