Getting PHP error

I keep getting the following PHP error warning but not sure how do i fix this

Strict standards: Declaration of issue::gettbl() should be compatible with TIC_CLASS::gettbl($parentClass = NULL, $parentID = NULL, $manualClass = NULL, $special = NULL, $manualTitle = NULL)

This is how the function is declared.

static function getListTable($dashboard=NULL){
}

Open in new window

stargateatlantisAsked:
Who is Participating?
 
Dave BaldwinConnect With a Mentor Fixer of ProblemsCommented:
That's not enough to work with.  The error is in the details and I don't see any.  If that really is the entire piece of code then the problem is probably that there isn't anything there.  No function content.  Your '$dashboard' variable is not being used in that code you posted.

Try this and see if your error changes.
static function gettbl($dashboard=NULL){
$test = $dashboard;
}

Open in new window

0
 
Dave BaldwinFixer of ProblemsCommented:
Well, since no part of "issue::gettbl()" is in the sample you posted, we can't really help you.  There's just not enough information.  Is this something you wrote yourself or is it part of someone else's code?  Something we can look at somewhere?
0
 
Ray PaseurCommented:
That makes no sense.  The error message talks about issue::gettbl() and the code you showed us provides this method: getListTable($dashboard=NULL).

Usually error messages have line numbers to help you find the source of trouble!
0
 
stargateatlantisAuthor Commented:
Sorry the function is

static function gettbl($dashboard=NULL){
}

Open in new window

0
 
Julian HansenConnect With a Mentor Commented:
This thread on the PHP forum might shed some light

https://bugs.php.net/bug.php?id=46851

But as noted above without context difficult to give an answer.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.