Author Topic: 1.2 RC1: "PHP Fatal error: Call to undefined function can_manage_security..."  (Read 6989 times)

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
The Cron Daemon of my webserver sends me this repeating message:

"PHP Fatal error:  Call to undefined function  can_manage_security() in /home/my_domain/public_html/application/models/contacts/Contact.class.php on line 582"

ignacio

  • Hero Member
  • *****
  • Posts: 1703
    • View Profile
Hi Karl,

Please try if adding this line to file 'application/models/trash/Trash.class.php', at the beginning of 'purge_trash' function solves your problem:
Code: [Select]
Env::useHelper("permissions");
Thanks.

Karl

  • Sr. Member
  • ****
  • Posts: 339
    • ICQ Messenger - 464979879
    • View Profile
Yes, it solved the problem.