MySQL error: 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 'b((/' ORDER BY type='menu' LIMIT 0, 1' at line 1

SELECT * FROM pages WHERE link = '/js/',b((/' ORDER BY type='menu' LIMIT 0, 1
#0  Mysql->log() called at [/home/semicvetik/web/sem2.pack/core/engine/class/mysql.class.php:162]
#1  Mysql->query_to_strict_array(SELECT  *  FROM pages  WHERE link = '/js/',b((/' ORDER BY type='menu' LIMIT 0, 1, ) called at [/home/semicvetik/web/sem2.pack/core/engine/class/mysql.class.php:478]
#2  Mysql->select(pages, Array ([0] => link = '/js/',b((/'),  * , type='menu', 0, 1) called at [/home/semicvetik/web/sem2.pack/core/engine/class/page.class.php:59]
#3  Page->from_bd(data) called at [/home/semicvetik/web/sem2.pack/core/engine/class/obj.class.php:209]
#4  Obj->get(data) called at [/home/semicvetik/web/sem2.pack/core/engine/class/obj.class.php:96]
#5  Obj->__construct(/js/',b((/, 1) called at [/home/semicvetik/web/sem2.pack/core/engine/class/app.class.php:232]
#6  App->__construct(Array ([arg1] => js,[arg2] => ',b(()) called at [/home/semicvetik/web/sem2.pack/core/engine/class/app.class.php:185]
#7  App::init(Array ()) called at [/home/semicvetik/web/sem2.pack/core/index.php:41]
#8  include_once(/home/semicvetik/web/sem2.pack/core/index.php) called at [/home/semicvetik/web/sem2.pack/public_html/index.php:4]