Hallo,
ich habe folgendes Plugin in installiertWordpress Widget: Most Popular Posts und habe es in meiner home.php eingebaut mit folgendem code Schnipsel
und jetzt steht da
ZitatWarning: Missing argument 1 for most_popular(), called in E:\Web\xxx\default_deleer\home.php on line 11 and defined in E:\Web\xxxplugins\most-popular-posts\most-popular.php on line 13
Öffne ich jetzt die most-popular.php Datei und gucke in Zeile 13 steht folgendes
von Zeile 13 bis Zeile 27
PHP
function most_popular($arg) {
global $wpdb;
if ($arg == 1)
$list = true;
else
$list = false;
$options = get_option("widget_mostpopular");
if (!is_array( $options ))
{
$options = array(
'number' => '5', 'comment' => 'checked', 'title' => 'Most Popular Posts', 'only' => '1', 'exclude' => '1', 'zero' => 'checked', 'onlycheck' => 'checked', 'excludecheck' => 'checked', 'nestedlist' => 'checked', 'parentclass' => '', 'childclass' => '', 'listclass' => '', 'duration' => 'all', 'time' => 'all'
);
}
Alles anzeigen
hier nochmal das Bild
http://img690.imageshack.us/img690/1618/11131674.gif
könnte mir jemand weiter helfen ???