Slim Application Error
Slim Application Error
The application could not run because of the following error:
Details
Type: PDOException
Code: 23000
Message: SQLSTATE[23000]: Integrity constraint violation: 1052 Column 'slug' in where clause is ambiguous
File: /var/www/html/yalelawjournal.org/app/vendor/j4mie/idiorm/idiorm.php
Line: 413
Trace
#0 /var/www/html/yalelawjournal.org/app/vendor/j4mie/idiorm/idiorm.php(413): PDOStatement->execute(Array) #1 /var/www/html/yalelawjournal.org/app/vendor/j4mie/idiorm/idiorm.php(1589): ORM::_execute(' SELECT? ...', Array, 'default') #2 /var/www/html/yalelawjournal.org/app/vendor/j4mie/idiorm/idiorm.php(582): ORM->_run() #3 /var/www/html/yalelawjournal.org/app/routes/site/legacy_urls.php(17): ORM->find_one() #4 /var/www/html/yalelawjournal.org/public/site/index.php(130): require('/var/www/html/y...') #5 [internal function]: {closure}('the-yale-law-jo...', 'international-l...', 'corruption:-gre...') #6 /var/www/html/yalelawjournal.org/app/vendor/slim/slim/Slim/Route.php(436): call_user_func_array(Object(Closure), Array) #7 /var/www/html/yalelawjournal.org/app/vendor/slim/slim/Slim/Slim.php(1307): Slim\Route->dispatch() #8 /var/www/html/yalelawjournal.org/app/vendor/slim/slim/Slim/Middleware/Flash.php(85): Slim\Slim->call() #9 /var/www/html/yalelawjournal.org/app/vendor/slim/slim/Slim/Middleware/MethodOverride.php(92): Slim\Middleware\Flash->call() #10 /var/www/html/yalelawjournal.org/app/vendor/slim/slim/Slim/Middleware/PrettyExceptions.php(67): Slim\Middleware\MethodOverride->call() #11 /var/www/html/yalelawjournal.org/app/vendor/slim/slim/Slim/Slim.php(1254): Slim\Middleware\PrettyExceptions->call() #12 /var/www/html/yalelawjournal.org/public/site/index.php(153): Slim\Slim->run() #13 {main}