Dependencies versions
- Drupal version: 7.0-rc2
- Variables API version: 7.x-2.0-alpha3
- classTextile.php version 2.2 (from latest version of
Script:
Enable vars, textile
Create text filter, enable only Textile filter option
Create textile page using the filter
Save the page
Result:
Fatal error: Call to a member function TextileThis() on a non-object in /home/[XYZ]/7test/sites/all/modules/textile/textile.module on line 100
Comments
Comment #1
Anonymous (not verified) commentedI changed the code, and committed it in the development snapshot.
Please test it, and report if it works for you. If it works, then I will create a new official release.
Comment #3
sillevl commentedI still have this error on v2.0-rc9, except it occures on line 106 now.
Using latest drupal -clean- drupal 7.8 install.
Comment #4
sillevl commentedComment #5
sillevl commentedsorry, had a configuration mismatch. Everything worked as designed.
Comment #6
Anonymous (not verified) commentedThe development snapshot already checked the variable containing the library object was initialized before to use it. I fixed the code which verifies if the library is in the include directory inside the module's directory.
Now, if the library is not found, the module simply returns the entered text, without filtering it. In any case, when the library is not found, the module shows an error through
hook_requirements().