Unhandled Error!

Trying to get property of non-object
Document modules/bluebell/classes/bluebell_directory_actions.php
Document type PHP document
Line 154
Exception class Phpr\PhpException

Code Highlight

																		$browse_category = Service_Category::create()->find_by_url_name($category);
																		$browse_role = Service_Category::create()->find_by_url_name($role);
															 
																		if ($browse_role)
																			$providers->apply_category($browse_role->id);
															 
																		$this->page->title_name = Phpr_Inflector::pluralize($browse_role->name);
															 
																		$this->_directory_apply_filter($providers, $filter);
															 
																		$this->data['category'] = $browse_category;
																		$this->data['role'] = $browse_role;
																		$this->data['filter'] = $filter;
														

Call Stack

# Code Document Line
14 Bluebell_Directory_Actions->_directory_by_browse(object(Service_Provider)) modules/bluebell/classes/bluebell_directory_actions.php 88
13 Bluebell_Directory_Actions->on_directory(()) modules/bluebell/classes/bluebell_directory_actions.php 75
12 Bluebell_Directory_Actions->directory(()) modules/cms/classes/cms_action_manager.php 68
11 Cms_Action_Manager::exec_action('bluebell:directory', object(Cms_Controller)) modules/cms/classes/cms_controller.php 168
10 Cms_Controller->eval_content(()) modules/cms/classes/cms_controller.php 61
9 Cms_Controller->open(object(Cms_Page), array(3) [0 => 'b', 1 => 'automotive', 2 => 'headliners']) controllers/application.php 51
8 Application->on_404(())
7 call_user_func_array(array(2) [0 => object(Application), 1 => 'on_404'], array(0)) framework/modules/phpr/classes/controller.php 118
6 Phpr\Controller->execute_action('on_404', array(0)) framework/modules/phpr/classes/controller.php 76
5 Phpr\Controller->_run('on_404', array(0)) framework/modules/phpr/classes/response.php 75
4 Phpr\Response->open_404(()) framework/modules/phpr/classes/response.php 49
3 Phpr\Response->open('/directory/b/automotive/headliners') framework/core/init.php 178
2 require_once('/home/bidignit/public_html/framework/core/init.php') framework/boot.php 97
1 require_once('/home/bidignit/public_html/framework/boot.php') index.php 10