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 '' at line 5

SELECT pages.id, pages.pagina_id, pages.txt, pages.singlepage, pages.module_id, pages.title, pages.keywords, pages.description, content.name, content.name, content.content FROM content INNER JOIN pages ON content.page_id = pages.id WHERE content.name LIKE 'Studio_for_2_people' AND pages.pagina_id=

Filename: models/Pages_model.php

Line Number: 218