If custom “Login Page Logo” is empty in settings, a warning is triggered at login:
PHP Warning: getimagesize(): Filename cannot be empty ..
Reason is this code in
$imagelogo = $getPwaOptions['pwa_logo_path']; ob_start(); $data = getimagesize($imagelogo);
Some check e.g.
!empty( $imagelogo )or similar should be added before using
Protect Your Admin 3.1
- The topic ‘PHP Warning: getimagesize(): Filename cannot be empty ..’ is closed to new replies.