A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: core/MY_Controller.php

Line Number: 19

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/core/MY_Controller.php
Line: 19
Function: _error_handler

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 12
Function: checkAuth

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: user_type

Filename: models/Edit_pages_model.php

Line Number: 9

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/models/Edit_pages_model.php
Line: 9
Function: _error_handler

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 13
Function: get_section

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: core/MY_Model.php

Line Number: 19

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/core/MY_Model.php
Line: 19
Function: _error_handler

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/models/Edit_pages_model.php
Line: 37
Function: connect_to_client_db

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 13
Function: get_section

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Undefined index: username

Filename: core/MY_Model.php

Line Number: 20

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/core/MY_Model.php
Line: 20
Function: _error_handler

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/models/Edit_pages_model.php
Line: 37
Function: connect_to_client_db

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 13
Function: get_section

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: core/MY_Model.php

Line Number: 21

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/core/MY_Model.php
Line: 21
Function: _error_handler

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/models/Edit_pages_model.php
Line: 37
Function: connect_to_client_db

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 13
Function: get_section

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO)

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/core/MY_Model.php
Line: 31
Function: database

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/models/Edit_pages_model.php
Line: 37
Function: connect_to_client_db

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 13
Function: get_section

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: mysqli::real_connect(): (HY000/1045): Access denied for user ''@'localhost' (using password: NO)

Filename: mysqli/mysqli_driver.php

Line Number: 201

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/models/Edit_pages_model.php
Line: 41
Function: query

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 13
Function: get_section

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

An uncaught Exception was encountered

Type: Error

Message: Call to a member function result() on boolean

Filename: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/models/Edit_pages_model.php

Line Number: 42

Backtrace:

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/application/controllers/Edit_pages.php
Line: 13
Function: get_section

File: /var/www/vhosts/ninja.littleninjamedia.co.uk/httpdocs/index.php
Line: 315
Function: require_once