WordPress Fatal error

Posted on Wordpress

WordPress Fatal error Cannot unset string offsets in widgets wordpress

I just install wordpress on my server.
and when i try to access it from my browser
it shows error like below ;

Fatal error: Cannot unset string offsets in /home/test/www/wordpress/wp-includes/widgets.php on line 362

After searching more deeper and googling.
I found that we need to turn off magic_quotes_gpc and magic_quotes_runtime.

Find your php.ini and set those line like below :


; Magic quotes for incoming GET/POST/Cookie data.
magic_quotes_gpc = Off

; Magic quotes for runtime-generated data, e.g. data from SQL, from exec(), etc.
magic_quotes_runtime = Off

restart you apache / webserver.