Unhandled Exception
Message:
Uncaught Laravel\Database\Exception: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'object_theme.siteobject_id' in 'field list'
SQL: SELECT `objects`.*, `object_theme`.`id` AS `pivot_id`, `object_theme`.`created_at` AS `pivot_created_at`, `object_theme`.`updated_at` AS `pivot_updated_at`, `object_theme`.`object_id` AS `pivot_object_id`, `object_theme`.`siteobject_id` AS `pivot_siteobject_id` FROM `objects` INNER JOIN `object_theme` ON `objects`.`id` = `object_theme`.`siteobject_id` WHERE `object_theme`.`object_id` = ?
Bindings: array (
0 => 23,
) in /data/vhosts/100objectsne.co.uk/application/laravel/database/connection.php:263
Stack trace:
#0 /data/vhosts/100objectsne.co.uk/application/laravel/database/connection.php(183): Laravel\Database\Connection->execute()
#1 /data/vhosts/100objectsne.co.uk/application/laravel/database/query.php(700): Laravel\Database\Connection->query()
#2 /data/vhosts/100objectsne.co.uk/application/laravel/database/eloquent/query.php(74): Laravel\Database\Query->get()
#3 /data/vhosts/100objectsne.co.uk/application/laravel/database/eloquent/relationships/has_many_and_belongs_to.php(83): Laravel\Database\Eloquent\Query->get()
#4 /data/vhosts/100objectsne.co.uk/application/laravel/database/eloquent/model.php(674): Laravel\Database\Eloquent\Relationships\Has_Many_And_Belongs_To->results()
#5 /data/vhosts/100objectsne.co.uk/application/application/controllers/themes.php(61): Laravel\Database\Eloquent\Model->__get()
#6 [internal function]: Themes_Controller->action_list()
#7 /data/vhosts/100objectsne.co.uk/application/laravel/routing/controller.php(323): call_user_func_array()
#8 /data/vhosts/100objectsne.co.uk/application/laravel/routing/controller.php(283): Laravel\Routing\Controller->response()
#9 /data/vhosts/100objectsne.co.uk/application/laravel/routing/controller.php(165): Laravel\Routing\Controller->execute()
#10 /data/vhosts/100objectsne.co.uk/application/laravel/routing/route.php(153): Laravel\Routing\Controller::call()
#11 /data/vhosts/100objectsne.co.uk/application/laravel/routing/route.php(124): Laravel\Routing\Route->response()
#12 /data/vhosts/100objectsne.co.uk/application/laravel/laravel.php(126): Laravel\Routing\Route->call()
#13 /data/vhosts/100objectsne.co.uk/httpdocs/index.php(34): require('...')
#14 {main}
thrown
Location:
/data/vhosts/100objectsne.co.uk/application/laravel/database/connection.php on line 263