Error reporting in php.ini file
@[deleted],
That warning messages came because E_WARNING was enabled in your php.ini. Actually, you can disable this E_WARNING.
For example, default current state in php.ini:
; - Show all errors, except coding standards warnings
;
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT
If the warning messages still appear, try to set to:
; - Show all errors, except coding standards and error warnings
;
error_reporting = E_ALL & ~E_NOTICE & ~E_STRICT & ~E_WARNING
You can also search "Error handling and logging" text in php.ini file, then please read carefully all description in there for further information about enabled/disabled kind of error messages that generated by php.
Best regards,
Masino Sinaga