I think this is occurring because you have strict error reporting enabled in your php.ini. You will need to edit the php.ini file to disable strict error reporting.
to locate the php.ini file on your system, create a new php page, and add the following code:
<?php phpinfo(); ?>
Browse to this page in your browser to see information about your php server. look for the section titled "Loaded Configuration File", this is the php.ini file yopu need to edit.
In the php.ini file, find the following line that sets the error reporting level:
error_reporting = E_ALL
and change it to:
error_reporting = E_ALL & ~E_STRICT
after saving and closing the php.ini file, restart the apache server.