Jump to content

must be an instance of string, string given


unkwntech

Recommended Posts

So i'm getting this error which seem entirly backwords, any ideas whats going on?

Error: Catchable fatal error:  Argument 1 passed to siteMS::logger() must be an instance of string, string given

Offending line:

$this->logger('Invalid page name requested', 0, 0, $pageName);

Definition of logger:

private function logger(string $message, int $line, string $file, string $extra=null)
 {...}

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.