7 years ago
Topic

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 .


Get a VIP membership
4229 Posts
Kadministrator
7 years ago
0
Level 1

Please report this on the tracker

21 Posts
ralle
7 years ago
2
Level 1

Hello i have the same issue (bug?) like AlexeyP0708, what must i do to fix this? On the tracker i haven't found it Klas.

thank you for your attention

4229 Posts
Kadministrator
7 years ago
1
Level 2

Obviously it was not reported yet so please report it.

21 Posts
ralle
7 years ago
0
Level 3

Thanks Klas, the solution was supported on tracker.

Here is the link:

https://github.com/Octopoos/SEBLOD/issues/354

Get a VIP membership