Notice: Undefined index: oper in /home/srv79828/htdocs/application/controllers/product.php on line 9 Notice: Undefined index: id_user in /home/srv79828/htdocs/application/controllers/product.php on line 36 Fatal error: Uncaught exception 'Exception' with message 'Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1
Error No: 1064
SELECT `personal`.`name`, `personal`.`adres`, `personal`.`phone`, `logUser`.`email` FROM `logUser` JOIN `personal` ON `logUser`.`id`=`personal`.`idLog` WHERE `personal`.`idLog`=' in /home/srv79828/htdocs/application/core/mysqli.php:39 Stack trace: #0 /home/srv79828/htdocs/application/models/traitrulessetdata.php(37): DB\MySQLi->query('SELECT `persona...') #1 /home/srv79828/htdocs/application/controllers/product.php(36): ModelProduct->getPdata(NULL) #2 /home/srv79828/htdocs/application/core/route.php(30): ControllerProduct->sale() #3 /home/srv79828/htdocs/application/bootstrap.php(113): Route::start(Object(Registry)) #4 /home/srv79828/htdocs/index.php(4): require_once('/home/srv79828/...') #5 {main} thrown in /home/srv79828/htdocs/application/core/mysqli.php on line 39