Join 34,000+ subscribers and receive articles from our blog about software quality, testing, QA and security.
 

Implementation class missing for report plugin "todd"


#1

I was running through the steps to get started with custom reports and have been getting this error. The error log did not give me much info. Can you offer some suggestions to fix?

[E] 2015-12-10 08:51:17 [112ms]: [ReportException] Implementation class missing for report plugin “todd”.

Details:
File: /var/www/html/testrail/sys/helpers/ex.php
Line: 25
Status Code: 500
Host: 172.20.27.121
Uri: /testrail/index.php?/reports/add_job/1&plugin=todd (GET)

Browser: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2526.73 Safari/537.36
PHP: 5.3.3
Server: Linux 2.6.32-358.6.1.el6.x86_64 #1 SMP Tue Apr 23 19:29:00 UTC 2013 x86_64

Trace:
at ex::raise (ex.php:25)
at ex::raise (ex.php:43)
at ex::raisev (ex.php:73)
at ex::raiset (reports.php:299)
at reports::create_plugin (reports.php:516)
at Reports_controller->add_job (controller.php:254)
at Controller->_invoke_web_call (controller.php:167)
at Controller->_invoke_web (controller.php:119)
at Controller->_invoke (gizmo.php:107)
at require_once (index.php:106)


#2

Hi Todd!

Thanks for your posting. TestRail expects a certain class name for the report plugin and this depends on the plugin name (directory):

http://docs.gurock.com/testrail-custom/reports-introduction#reportphp

I can recommend following the example we have on GitHub:

Cheers,
Tobias