A PHP Error was encountered

Severity: Notice

Message: Trying to get property 'CATEGORIA_ID' of non-object

Filename: views/producto_info.php

Line Number: 111

Backtrace:

File: /home/k497flwip19d/public_html/application/views/producto_info.php
Line: 111
Function: _error_handler

File: /home/k497flwip19d/public_html/application/controllers/Welcome.php
Line: 426
Function: view

File: /home/k497flwip19d/public_html/index.php
Line: 285
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1064

You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'LIMIT 1' at line 1

SELECT * FROM categoria WHERE CATEGORIA_ID= LIMIT 1

Filename: views/producto_info.php

Line Number: 112