Can you help me to fix these errors?

  codeigniter, php, xampp

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Hooks has a deprecated constructor

Filename: libraries/Hooks.php

Line Number: 30

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Config has a deprecated constructor

Filename: libraries/Config.php

Line Number: 29

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_URI has a deprecated constructor

Filename: libraries/URI.php

Line Number: 29

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Router has a deprecated constructor

Filename: libraries/Router.php

Line Number: 29

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Output has a deprecated constructor

Filename: libraries/Output.php

Line Number: 29

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Input has a deprecated constructor

Filename: libraries/Input.php

Line Number: 29

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Language has a deprecated constructor

Filename: libraries/Language.php

Line Number: 27

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Base has a deprecated constructor

Filename: codeigniter/Base5.php

Line Number: 33

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Controller has a deprecated constructor

Filename: libraries/Controller.php

Line Number: 30

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Loader has a deprecated constructor

Filename: libraries/Loader.php

Line Number: 29

A PHP Error was encountered
Severity: Notice

Message: Only variables should be passed by reference

Filename: codeigniter/Common.php

Line Number: 148

A PHP Error was encountered
Severity: Warning

Message: Use of undefined constant ENVIRONMENT – assumed ‘ENVIRONMENT’ (this will throw an Error in a future version of PHP)

Filename: database/DB.php

Line Number: 57

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Session has a deprecated constructor

Filename: libraries/Session.php

Line Number: 27

A PHP Error was encountered
Severity: Warning

Message: Cannot modify header information – headers already sent by (output started at /home2/tempemos/public_html/ahuda/system/libraries/Exceptions.php:166)

Filename: libraries/Session.php

Line Number: 661

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; Model has a deprecated constructor

Filename: libraries/Model.php

Line Number: 27

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; pages_model has a deprecated constructor

Filename: models/pages_model.php

Line Number: 2

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; services_model has a deprecated constructor

Filename: admin/services_model.php

Line Number: 9

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; aboutus_model has a deprecated constructor

Filename: admin/aboutus_model.php

Line Number: 17

A PHP Error was encountered
Severity: 8192

Message: Methods with the same name as their class will not be constructors in a future version of PHP; CI_Form_validation has a deprecated constructor

Filename: libraries/Form_validation.php

Line Number: 27

Source: Ask PHP

LEAVE A COMMENT