'There is no class to handle the event wiki_page_created.'
- Status
- Pending
- Subject
- 'There is no class to handle the event wiki_page_created.'
- Version
- 11.x
- Category
- Error
- Feature
- Daily reports
- Resolution status
- New
- Submitted by
- Clif Kussmaul
- Lastmod by
- Pascal St-Jean
- Rating
- Description
When I enable daily reports and run the cron task,
I get an error:Fatal error: Uncaught exception 'Exception' with message
'There is no class to handle the event wiki_page_created.'
in ./lib/core/Reports/Send/EmailBuilder/Factory.php:24Stack trace:
- 0 ./lib/core/Reports/Send/EmailBuilder.php(107):
Reports_Send_EmailBuilder_Factory->build('wiki_page_creat...')
- 1 ./lib/core/Reports/Send/EmailBuilder.php(44):
Reports_Send_EmailBuilder->makeEmailBody(Array, Array)
- 2 ./lib/core/Reports/Send.php(47):
Reports_Send_EmailBuilder->emailBody(Array, Array, Array)
- 3 ./lib/core/Reports/Manager.php(50):
Reports_Send->sendEmail(Array, Array, Array)
- 4 ./tiki-user_reports_send.php(20):
Reports_Manager->send()
- 5 {main}
thrown in ./lib/core/Reports/Send/EmailBuilder/Factory.php on line 24
- Files
- Solution
It appears that the email builder expects, but doesn't find:
lib/core/Reports/Send/EmailBuilder/WikiPageCreated.phpI copied WikiPageChanged.php and made minimal changes (attached),
and the next error was about wiki_page_deleted,
so I copied & edited it again (attached), and the errors stopped.I
haven't yetjust received Daily Report email to verify that everything works correctly,however.Clif
- Importance
- 5
- Easy to solve?
- 9
- Priority
- 45
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 4603
- Created
- Monday 22 July, 2013 19:11:39 UTC
by Clif Kussmaul - LastModif
- Saturday 06 July, 2024 10:21:44 UTC