Severity: Notice
Message: Trying to access array offset on value of type null
Filename: models/Category_model.php
Line Number: 35
Backtrace:
			File: /home/datxeeu/itersdesktop.com/mydiary/application/models/Category_model.php
			Line: 35
			Function: _error_handler			
			File: /home/datxeeu/itersdesktop.com/mydiary/application/controllers/News.php
			Line: 65
			Function: get_category_name			
			File: /home/datxeeu/itersdesktop.com/mydiary/index.php
			Line: 315
			Function: require_once			
Severity: Notice
Message: Trying to access array offset on value of type null
Filename: models/Category_model.php
Line Number: 41
Backtrace:
			File: /home/datxeeu/itersdesktop.com/mydiary/application/models/Category_model.php
			Line: 41
			Function: _error_handler			
			File: /home/datxeeu/itersdesktop.com/mydiary/application/controllers/News.php
			Line: 66
			Function: get_slug			
			File: /home/datxeeu/itersdesktop.com/mydiary/index.php
			Line: 315
			Function: require_once			
I'm trying to find out how to get the following constraint information from a table in MySQL 5.0: