Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Totally stoked to see the 7.x branch come alive!
Upon install and enable I immediately received this error:
Fatal error: Class 'rules_data_type' not found in .../sites/all/modules/fbsmp/fbsmp.rules.inc on line 127
Comment | File | Size | Author |
---|---|---|---|
#15 | rules-integration-is-broken-1388612-15.patch | 3.57 KB | mathankumarc |
#9 | fbsmp-rules-integration-1388612-9.patch | 4.43 KB | mathankumarc |
Comments
Comment #1
publicmind CreditAttribution: publicmind commentedI haven't yet reviewed the integration with other modules, it is the list but a little later.
Regards,
Comment #2
PedroMiguel CreditAttribution: PedroMiguel commentedI confirm, function fbsmp_rules_data_type_info() and class rules_data_type_fbsmp extends rules_data_type are broken, I comment this 2 for now and other functions work.
Comment #3
PedroMiguel CreditAttribution: PedroMiguel commentedRemoved
Comment #4
akshaynhegde CreditAttribution: akshaynhegde commentedwell, I have tried with the latest dev version and the problem still persists.
@PedroMiguel , the changes mentioned are applied in the dev version and I still get the following error when I enable the module..!
Please fix it as soon as possible.
Comment #5
PedroMiguel CreditAttribution: PedroMiguel commentedJust delete/comment for now the functions mentioned on #2.
Comment #6
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedCan confirm it is still broken
Comment #7
deanflory CreditAttribution: deanflory commentedI too received the WSOD error using fbsmp-7.x-1.x-dev.zip from 2012-02-16:
Fatal error: Class 'rules_data_type' not found in /home/sitenamehere/public_html/sites/all/modules/fbsmp/fbsmp.rules.inc on line 127
Comment #8
Triumphent CreditAttribution: Triumphent commentedIdem here:
Fatal error: Class 'rules_data_type' not found in C:\wamp\www\sites\all\modules\fbsmp\fbsmp.rules.inc on line 127
Comment #9
mathankumarc CreditAttribution: mathankumarc commentedHere is a quick patch. Basic stuffs will work.
Testers are welcome !
Comment #10
SocialNicheGuru CreditAttribution: SocialNicheGuru commentedthis worked for me to at least be able to enable
Comment #11
mathankumarc CreditAttribution: mathankumarc commentedCommitted to dev.
Keeping the status as "needs work", since this needs more testing and cleanup.
Comment #12
IceCreamYou CreditAttribution: IceCreamYou commentedA note that #1748426: Rules - Action - PostLink is dependent on this
Comment #13
joaogarin CreditAttribution: joaogarin commentedHello I am having an issue in the latest Dev release (also present in the unstable release) where I am not being able to create a Rule for when user posts a "Link" type attachment.
When I try to create the condition for this rule "The FBSS status has Link attachment" the data selector for "plugin" is invalid..
The only tokens available are :
site:current-user:field-presentation:
site:current-user:field-services:
site:current-user:roles:
Is this feature suposed to be covered in this release?This kind of rules?Already applied all patches and it doenst seem to fixe it.
If any help is needed with this module I have some ideas that could be well featured here and maybe I could help. I have been working with it developing a prototipe for a sort of social network and it seems to be doing Ookay;)
Best regards,
Joao Garin
Comment #14
joaogarin CreditAttribution: joaogarin commentedHello again,
Anyone able to replicate the issue I am posting?
Need some help on this please..
Best regards,
Joao Garin
Comment #15
mathankumarc CreditAttribution: mathankumarc commentedHere is the complete patch.
Testers are welcome :)
Don't forget to clear the cache after applying the patch and monitor the recent log messages while testing.
Comment #16
IceCreamYou CreditAttribution: IceCreamYou commentedHaven't tested this but I'm fine with committing it as it's unlikely to break anything worse than it's already broken. :)
Comment #17
mathankumarc CreditAttribution: mathankumarc commentedCommitted to dev. Also removed the fbsmp.rules_default.inc file.