Hi,
I have an issue adding a simple filter with no regex, I got the following log :
“Uncaught PDOException: There is no active transaction in /srv/http/tt-rss/classes/pref/filters.php:761 Stack trace: #0 /srv/http/titi/classes/pref/filters.php(761): PDO->commit() #1 /srv/http/titi/backend.php(123): Pref_Filters->add() #2 {main} thrown”
Followed by this other issues if I add regex and actions :
PDOStatement::execute(): SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (ttrss.ttrss_filters2_actions, CONSTRAINT ttrss_filters2_actions_ibfk_1 FOREIGN KEY (filter_id) REFERENCES ttrss_filters2 (id) ON DELETE CASCADE)
PDOStatement::execute(): SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (ttrss.ttrss_filters2_rules, CONSTRAINT ttrss_filters2_rules_ibfk_1 FOREIGN KEY (filter_id) REFERENCES ttrss_filters2 (id) ON DELETE CASCADE)
And the warning :
Use of undefined constant strip_tags - assumed ‘strip_tags’ (this will throw an Error in a future version of PHP)
I’m running on Arch Linux and updated to latest master…
Any idea ?
Tiny Tiny RSS v17.12 (bb0a8e323e961f44ebe52eeb002256f2f797235f)
Platform : Archlinux + Mariadb + nginx + php 7
…
fox
2
this is probably yet another one of function as bareword previously allowed by php
include/functions.php:731: return array_map(strip_tags, $param);
this should be quoted, someone who has nothing better to do pls help our arch friend and post a PR
Filters seems to work again !
Great work guys 
Thank you !