Archive for May, 2008

Yesterday as i was checking my WordPress stats, i saw this error message on my dashboard under stats.  I found this steps on how to resolve this issue and it worked perfectly for me and i just want to share it with you all..

Error Message:

Fatal error: Only variables can be passed by reference in /home/../wp-content/plugins/stats/stats.php on line 548

The steps..

Manually execute (via phpMyAdmin or similar) this query, in your WordPress database:

DELETE FROM wp_options WHERE option_name = ’stats_cache’

To permanently resolve the issue edit stats.php (Note: stats.php should be editable, i temporarily change the file permission to 777 and after editing change it back to default permission 644.

Edit the file stats.php, and change line 543:

if ( !$stats_cache = get_option( ’stats_cache’ ) )
$stats_cache = array();

to:

$stats_cache = get_option( ’stats_cache’ );
if ( !$stats_cache || !is_array( $stats_cache ) )
$stats_cache = array();

Warning: Making changes to active plugins is not recommended. If your changes cause a fatal error, the plugin will be automatically deactivated. Deactivate stats plugin before editing.

Like this blog? Why not buy me a cup of coffee?

A quicker way to get to Computer Management is to click on Start Button, Right Click Computer and select Manage.

Like this blog? Why not buy me a cup of coffee?

The official entrecard e-book is now ready for download, wether you are a newbie to entrecard this will definitely guide you on how you get started with entrecard, If you a novice or advanced user this is a definite guide on how you can implement new strategies out of you entrecard…

Download Now…

Like this blog? Why not buy me a cup of coffee?

Free E-Books

E-Books available for download…..

Did i say free. This free E-Books is a great companion for Linux Newbies and System Administrators.

Linux Quick Reference Guide

Vi Reference Guide

Like this blog? Why not buy me a cup of coffee?