SQL: SELECT * FROM pages WHERE `client_id`='8552' AND `slug`='/'https:/vanessatirlonikids.alboompro.com/'' AND `status`='publish' AND `deleted_at` IS NULL 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 'https:/vanessatirlonikids.alboompro.com/'' AND `status`='publish' AND `deleted_a' at line 1