Declaration of File::getBasename() should be compatible with SplFileInfo

Forum
Last Post
Threads / Messages

draugluin

Member
Member
Joined
Oct 26, 2011
Messages
120
Points
16
Location
germany
Mysidian Dollar
7,683
Strict Standards: Declaration of File::getBasename() should be compatible with SplFileInfo::getBasename($suffix = NULL) in /var/www/clients/client161/web331/web/0wolf/classes/class_file.php on line 19



öööhhhhhhh... after a new installation, it shows me this.
What's wrong ??

thanks for help :usedusedused:
 
Well the fix is simple, open classes/class_file.php first and then change the line public function getBasename() to public function getBasename($suffix = NULL). You may also disable warning messages though, since this is not a fatal error and wont stop your site from working.
 
ahhh...yes. Now it's clear. Thank you.
but there's another

Strict Standards: Declaration of AdminSidebar::setDivision() should be compatible with Sidebar::setDivision(GUIComponent $module) in /var/www/clients/client161/web331/web/0wolf/classes/class_adminsidebar.php on line 16

but I can't find setDivision() in the class_adminsidebar ...
 
Last edited:
I'll have to defer this to HoF, sorry --- I looked at my own setup and didn't see it either -- I am possibly looking right at it.
 
Can you talk your host into disabling strict standard warnings? These really do not affect your site in anyway, just some warning messages at page header.
 

Similar threads

Users who are viewing this thread

  • Forum Contains New Posts
  • Forum Contains No New Posts

Forum statistics

Threads
4,277
Messages
33,118
Members
1,602
Latest member
BerrieMilk
BETA

Latest Threads

Top