Solved ErrorException: [E_DEPRECATED] strtolower(): Passing null to parameter #1 ($string) of type string i

This topic has been solved
L

Lukas W.

Guest
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);
   }
}

Continue reading...