DB_Exception: [42S22]SQLSTATE[42S22]: Column not found: 1054 Unknown column 'position' in 'order clause' SQL: SELECT title, photo FROM mbi_essential_partners WHERE NOT(photo <=> '') AND photo IS NOT NULL ORDER BY position ASC -- end SQL

Ticket Number: "CWQbzLM4K_zylbvQHYudP7SACfdN25YgDxB9bjYHGSY"Email this ticket

Class: DB_Exception in file: /classes/db.class.php on line: 513

[42S22]SQLSTATE[42S22]: Column not found: 1054 Unknown column 'position' in 'order clause' SQL: SELECT title, photo FROM mbi_essential_partners WHERE NOT(photo <=> '') AND photo IS NOT NULL ORDER BY position ASC -- end SQL

Request

Request URI
/
Request HOST
www.mbi.build
Request Method
GET
Request Date/Time
08/20/2019 14:08:53
HTTPS
No
User-Agent
CCBot/2.0 (https://commoncrawl.org/faq/)
Accept
text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language
en-US,en;q=0.5
If-Modified-Since
Fri, 19 Jul 2019 17:09:49 GMT
Host
www.mbi.build
Connection
Keep-Alive
Accept-Encoding
gzip

Remote

Remote Address
34.239.158.107
Remote Port
37584
Remote Host
ec2-34-239-158-107.compute-1.amazonaws.com

PHP Info

PHP Version
5.4.16
System
Linux trilix-vmweb08.abe01.flexms.net 3.10.0-957.1.3.el7.x86_64 #1 SMP Thu Nov 29 14:49:43 UTC 2018 x86_64
Peak Memory Usage
2.09 MB (2196640 bytes)
Include Path
.:/home/mbi/htdocs/:.:/usr/share/pear:/usr/share/php
Magic Quotes
No
Included Files
/index.php
/classes/outlay.class.php
/classes/cache.class.php
/includes/templates/general-content/after.php
/admin/includes/autoload.php
/classes/errors.class.php
/classes/db.class.php
/includes/templates/home.php
/classes/utils.class.php
Streams wrappers
https, ftps, compress.zlib, compress.bzip2, php, file, glob, data, http, ftp, phar, zip
Streams filters
zlib.*, bzip2.*, convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, mcrypt.*, mdecrypt.*
Extensions
apache2handler, bz2, calendar, Core, ctype, curl, date, dom, ereg, exif, fileinfo, filter, ftp, gd, gettext, gmp, hash, iconv, imagick, json, libxml, mbstring, mcrypt, mhash, mysql, mysqli, openssl, pcre, PDFlib, PDO, pdo_mysql, pdo_sqlite, Phar, posix, pspell, Reflection, session, shmop, SimpleXML, soap, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, zip, zlib

Simple Backtrace

#0 /home/mbi/htdocs/includes/templates/home.php 85 DB->query(string(136): "
		SELECT
		...")
#1 /home/mbi/htdocs/classes/outlay.class.php 156 include(string(44): "/home/mbi/ht...")
#2 Outlay->{closure}(object: --Unable to display--, string(4): "home", array: array (
  'id' => '81',
  'title' => 'Homepage Content',
  'meta_keywords' => 'Master Builders, Iowa, MBI, construction, contractor, building projects, commercial, public works, industrial',
  'meta_description' => 'MBI\'s mission is to be the essential resource for improving member performance and promoting a business environment favorable to the construction industry.',
  'json_ld' => '',
  'content1' => NULL,
  'content2' => NULL,
  'contact_resources' => NULL,
), object: --Unable to display--)
#3 /home/mbi/htdocs/classes/outlay.class.php 157 call_user_func(object: --Unable to display--, object: --Unable to display--, string(4): "home", array: array (
  'id' => '81',
  'title' => 'Homepage Content',
  'meta_keywords' => 'Master Builders, Iowa, MBI, construction, contractor, building projects, commercial, public works, industrial',
  'meta_description' => 'MBI\'s mission is to be the essential resource for improving member performance and promoting a business environment favorable to the construction industry.',
  'json_ld' => '',
  'content1' => NULL,
  'content2' => NULL,
  'contact_resources' => NULL,
), object: --Unable to display--)
#4 /home/mbi/htdocs/index.php 21 Outlay->content(array: array (
  0 => 'home-fetch',
  1 => 'home-feature',
  2 => 'home-landing-links',
  3 => 'home',
  4 => 'card',
))
#5 /home/mbi/htdocs/classes/outlay.class.php 475 include(string(26): "/home/mbi/ht...")
#6 Outlay::{closure}(object: --Unable to display--)
#7 /home/mbi/htdocs/classes/outlay.class.php 386 call_user_func(object: --Unable to display--, object: --Unable to display--)
#8 /home/mbi/htdocs/classes/outlay.class.php 476 Outlay->render(object: --Unable to display--)
#9 /home/mbi/htdocs/index.php 3 Outlay::wrap(string(26): "/home/mbi/ht...")