filter_xss_bad_protocol() in /drupal/includes/common.inc
The site was working fine http://fergusonlynch.com/drupal/ until we clicked on the modules tab in admin. Now we get
Fatal error: Call to undefined function filter_xss_bad_protocol() in /home/ferguson/public_html/drupal/includes/common.inc on line 842.
Combed the forums and have tried the following solutions:
re-ftp relevant files
uninstall fp extensions
upgrade drupal
run update.php
I reinstalled drupal and tried to config the new installation to call the database with all my info, but I get the same error on the new installation as soon as I switch databases.
This site represents weeks and weeks of work, please help!
» Add new comment

Did you remove something.
I just got this error. I upgraded to 5.5. and for some reason the filter module was in the forums folder.
I removed it and put it into the main module folder. bam, I get the same error. I put the folder back into the forums folder
and the site was ok.
I am thinking that somewhere the path to the filter module is being stored in the wrong place.
Look for it in your database using phpmyadmin. I don't know where the paths of your modules are stored, but where ever it is, make sure they are correct. I'm still trying to solve this problem also. For now I just left filter in the main modules dir, and in the forum folder.
try this in phpmyadmin It looks up all the items in system
SELECT *
FROM `pojack1_drpl1`.`system`
LIMIT 0 , 30
I was getting this error. FOr some reason my filter module was inside the forum module.
I moved it out into the main modules section and got this error.
Using phpmyadmin I searched for filter and found it in system.
THere all the modules paths are listed. I changed the path from forum/filter/filter.module to /filter.module
The site works error gone.
Hope this helps.
Antonio
Antonio
Check that your modules are there
I had this same error and found this post.
After reading it, I realised I had accidentally deleted the modules folder, while I was deleting the folder next to it. If you get this error make sure you check you still have all your modules there.