Huurwoningen aangeboden door

Oeps foutje:CALLWIDGET:estateAgent/estateAgentDetails/bruning-regiomakelaardij : exception 'Fuel\Core\RequestStatusException' with message ' FuelPHP Framework

Error!

Fuel\Core\Database_Exception [ Error ]: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'batman_test.estate_agent_slug_history' doesn't exist with query: "SELECT ea.agentNameSlug FROM estate_agent_slug_history eash JOIN estate_agent ea on ea.agentId = eash.agentId WHERE eash.agentNameSlug = 'bruning-regiomakelaardij' LIMIT 1"

COREPATH/classes/database/pdo/connection.php @ line 175

170                        \Profiler::delete($benchmark);
171                    }
172
173                    // Convert the exception in a database exception
174                    $error_code is_numeric($e->getCode()) ? $e->getCode() : 0;
175                    throw new \Database_Exception($e->getMessage().' with query: "'.$sql.'"'$error_code$e);
176                }
177            }
178        }
179        while ($attempts-- > 0);
180

Backtrace

  1. COREPATH/classes/database/query.php @ line 256
    251            catch (CacheNotFoundException $e) {}
    252        }
    253
    254        // Execute the query
    255        \DB::$query_count++;
    256        $result $db->query($this->_type$sql$this->_as_object);
    257
    258        // Cache the result if needed
    259        if (isset($cache) and ($this->_cache_all or $result->count()))
    260        {
    261            $cache->set_expiration($this->_lifetime)->set_contents($result->as_array())->set();
    
  2. APPPATH/classes/model/estateagent.php @ line 3401
    3396                    estate_agent ea on ea.agentId eash.agentId
    3397                 WHERE
    3398                    eash.agentNameSlug = :agentNameSlug
    3399                 LIMIT 1";
    3400
    3401        $selectEstateAgentQuery Db::query($query)->param('agentNameSlug'$agentNameSlug )->execute();
    3402
    3403        if(count($selectEstateAgentQuery) == ){
    3404            return false;
    3405        }
    3406        
    
  3. APPPATH/classes/controller/estateagent.php @ line 81
    76        if (empty($agentNameSlug)) {
    77            return $this->response('no input'200);
    78        }
    79
    80        $estateAgents = new Model_EstateAgent;
    81        $result $estateAgents->checkAgentSlugHistory($agentNameSlug);
    82        if ($result !== false) {
    83            $this->response($result200);
    84        } else {
    85            $this->response( array(), 400);
    86        }
    
  4. COREPATH/classes/controller/rest.php @ line 129
    124            }
    125
    126            // If method is not available, set status code to 404
    127            if (method_exists($this$controller_method))
    128            {
    129                return call_user_func_array(array($this$controller_method), $arguments);
    130            }
    131            else
    132            {
    133                $this->response->status $this->no_method_status;
    134                return;
    
  5. COREPATH/classes/request.php @ line 420
    415                    // fire any controller started events
    416                    \Event::instance()->has_events('controller_started') and \Event::instance()->trigger('controller_started''''none');
    417
    418                    $class->hasMethod('before') and $class->getMethod('before')->invoke($this->controller_instance);
    419
    420                    $response $action->invokeArgs($this->controller_instance$this->method_params);
    421
    422                    $class->hasMethod('after') and $response $class->getMethod('after')->invoke($this->controller_instance$response);
    423
    424                    // fire any controller finished events
    425                    \Event::instance()->has_events('controller_finished') and \Event::instance()->trigger('controller_finished''''none');
    
  6. DOCROOT/index.php @ line 46
    41require APPPATH.'bootstrap.php';
    42
    43// Generate the request, execute it and send the output.
    44try
    45{
    46    $response Request::forge()->execute()->response();
    47}
    48catch (HttpNotFoundException $e)
    49{
    50    $route array_key_exists('_404_'Router::$routes) ? Router::$routes['_404_']->translation Config::get('routes._404_');
    51
    
' in /var/www/pararius/core/classes/request/curl.php:178 Stack trace: #0 /var/www/pararius/FRONTEND/app/classes/controller/pararius.php(289): Fuel\Core\Request_Curl->execute() #1 /var/www/pararius/FRONTEND/app/classes/controller/estateagent.php(579): Controller_Pararius->getData('estateagent/che...') #2 [internal function]: controller_estateagent->action_estateAgentDetails('bruning-regioma...', 'andel', 'bruning-regioma...') #3 /var/www/pararius/core/classes/request.php(420): ReflectionMethod->invokeArgs(Object(controller_estateagent), Array) #4 /var/www/pararius/FRONTEND/app/classes/controller/content.php(258): Fuel\Core\Request->execute(Array) #5 [internal function]: Controller_Content->action_page('estateAgentDeta...') #6 /var/www/pararius/core/classes/request.php(420): ReflectionMethod->invokeArgs(Object(Controller_Content), Array) #7 /var/www/pararius/FRONTEND/public/index.php(66): Fuel\Core\Request->execute() #8 {main}