Παρασκευή 11 Μαρτίου 2011

Bug for upgrade on Wordpress

It is not in direct relation with geomatics but it is a subject for the data diffusion on internet.

To make a GeoWeb application is a first step but it could be better to insert it in a frameword like a ''iframe'' (Google maps or OSM ).

This post treats about one example of CMS that I use every day for my work: Wordpress CMS.

And when you design a website or an application with Wordpress and after time you upgrade this version of Wordpress, it is possible to have any bugs and problem.



It was my case. This problem is about the upgrade of the WP version  3.0.4 to 3.1
As consequence, you have a problem with your sidebar widget and the next beautiful message:

Warning: array_key_exists() [function.array-key-exists]: The second argument should be either an array or an object in /wp-includes/widgets.php on line 858

It is a common problem these last days with the update of WP.
It was necessary to lose 1 day for this!
This update has a consequence for many ready themes.

So, for this problem, you need to modify your db table : prefix_options (generally wp_options and to delete the widget_sidebar row.
This option with the sidebar is out now with the 3.1
Post http://wordpress.org/support/topic/changing-prefix-wp-causes-warning-array_key_exists?replies=12

And now go to implement your Geo Application on-line in your favourite cms...

Δεν υπάρχουν σχόλια:

Δημοσίευση σχολίου

Αφήστε το σχόλιό σας εδώ...