Jump to:
| Project: | Node expire |
| Version: | 6.x-2.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | brmassa |
| Status: | closed (fixed) |
Issue Summary
I am receiving the following error on a cron run:
Fatal error: Call to undefined function node_expire_set_expired() in /home/accnt/public_html/t/sandbox/sandbox6/sites/all/modules/testing/node_expire/node_expire.module on line 24
I noticed this right after installing the module, I did a cron run (hadn't done one in a while) and it came up with this error. Then, after trying to create some rules, I did a cron run (after reading somewhere that cron needed to be run in order to expire a node) and it again came up with the above error.
I am also trying to figure out how the heck to use rules, I know it is powerful in what can be done with it but there is hardly any "idiot guides" on what and how to setup rules.
Any possible "quick but through" documentation on how to create a rule to expire a node?
I'm liking the potential of v2! Keep it up!
Comments
#1
In doing some playing around, the error seemed to go away when I created an actual "Rule Trigger". But only after performing a second cron request in a row.
SO, a check needs to be put in place that if a triggered rule is not setup, for the node expire to ignore itself on a cron run.
(At least I think... I know nothing about PHP programming)
#2
Phil,
you are right! i will fix this today.
regards,
massa
#3
Fixed!
regards,
massa
#4
Thx for the quick fix! I like how you release these as stable versions instead of having a continuous list of dev versions with 6 months between stable versions! lol
#5
Automatically closed -- issue fixed for 2 weeks with no activity.