Error
Error:
Message: Expression #11 of SELECT list is not in GROUP BY clause and contains nonaggregated column '3omra_new.hotels_features.hotels_features_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
SELECT * FROM hotels LEFT JOIN hotels_features ON hotels_features.hotels_features_hotel_id = hotels.hotel_id LEFT JOIN features ON features.feature_id = hotels_features.hotels_features_feature_id LEFT JOIN features_image ON features_image.features_image_id = features.feature_image GROUP BY hotels.hotel_id ORDER BY hotels.hotel_id ASC LIMIT 5
File: /home11/omraonline/public_html/app/models/hotels/hotels.php: at line ( 48 )
Line: 48
Class: Thisphp\system\library\models\models
Function: execute
Args: 'FETCH_ASSOC' , 'hotels.hotel_id ASC' , 'hotels.hotel_id' , '5'
Trace:
#0 /home11/omraonline/public_html/app/models/hotels/hotels.php(48): Thisphp\system\library\models\models->execute('FETCH_ASSOC', 'hotels.hotel_id...', 'hotels.hotel_id', 5)
#1 /home11/omraonline/public_html/app/controllers/base.php(192): Thisphp\app\models\hotels\hotels->gethotels('', 'hotels.hotel_id...', 'hotels.hotel_id', 5)
#2 /home11/omraonline/public_html/app/controllers/index/index.php(21): Thisphp\app\controllers\base\base->__construct()
#3 /home11/omraonline/public_html/system/library/bootstrap/bootstrap.php(68): Thisphp\app\controllers\index\index->__construct()
#4 /home11/omraonline/public_html/system/library/bootstrap/bootstrap.php(48): Thisphp\system\library\bootstrap\bootstrap->_LoadDefaultControler()
#5 /home11/omraonline/public_html/index.php(52): Thisphp\system\library\bootstrap\bootstrap->__construct()
#6 {main}
Other Mistakes:
Message: Undefined index: HTTP_COOKIE
File: /home11/omraonline/public_html/system/library/request_variables/request_variables.php: at line ( 32 )