Too few arguments to function Helper_Workshop::getDefaultStyle(), 0 passed in XXXX\www\administrator\components\com_cck\models\type.php on line 165 and exactly 1 expected
-----
code in line:165 file: \com_cck\models\type.php
---
$default=Helper_Workshop::getDefaultStyle();
--
code in line 201 file \administrator\components\com_cck\helpers\helper_workshop.php
----
public static function getDefaultStyle( $template )
{
static $styles=array();
if ( !$template ) {
$template=self::getDefaultTemplate();
}
.............
---
who with crooked hands ?
required argument $template to enter,or declare a function an arugments default .