Lines start with DEPRECATED in Cacti Application

I have successfully installed Cacti Application on my computer. I’ve done creating the device for the network. I have created graphs for my new device and have viewed it.
All was successful except when I opened the program to start working on it. I was loaded with numerous lines each containing the same message starting with the word DEPRECATED. It just came out instantly I don’t know why.
How do I stop these lines from appearing?
The messages appear below as a screenshot.
Deprecated: Function ereg_replace() is deprecated in C:cactiincludeconfig.php on line 58
Deprecated: Function ereg_replace() is deprecated in C:cactiincludeconfig.php on line 59
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 866
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 872
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 1183
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 1961
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3027
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3592
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3667
Deprecated: Assigning the return value of new by reference is deprecated In C:cactilibadodbadodb.inc.php on line 3687
Deprecated: Function split() is deprecated in C:cactilibfunction.php on line 1358
Deprecated: Function session_unregister() is deprecated in C:cactilibfunction.php on line 263
You are now logged into Cacti. You can follow these basic steps to get started.
Create devices for network
Create graphs for your new devices
View your new graphs
