It came to my mind, you need to alter the error_reporting = E_ALL to error_reporting = E_ALL & ~E_NOTICE line in php.ini. So that was what I did… I altered the file in installdir\wamp\bin\php\php5.4.16\ but this does not solve my problem. After some looking around I found out a second php.ini exists in another directory: installdir\C:\wamp\bin\apache\Apache2.4.4\bin\. I found this out when looking into PHPinfo() where the second php.ini file is referred as loaded.
error_reporting

Change to

error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED