[RSS Feed/News] ErrorException: [E_DEPRECATED] strtolower(): Passing null to parameter #1 ($string) of type string is deprecated

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
XF\Pub\Controller\Register Line 172 calls $this->assertBoardActive(null);, however the function call implicitly expects the first parameter to never be null, since it is run through strtolower before being passed on to the parent, which accepts null as value again.

Code:

Code:
public function assertBoardActive($action)
{
   switch (strtolower($action))
   {
      case 'connectedaccount':
         break;

      default:
         parent::assertBoardActive($action);
   }
}

ادامه مطلب...
 
Status
Not open for further replies.
Back
Top Bottom