4

I have just upgraded civicrm to 4.6.11 and am getting a Class Not Found error.

Fatal error: Class 'CJT_Page_EmrJournaltracking_JournalControls' not found in ... CRM/Core/Invoke.php

The class is in the system

 web/sites/all/modules/custom/civicrm/extensions/net.interlated.emrjournaltracking/CJT/Page/EmrJournaltracking/JournalControls.php

and defined as follows

require_once 'CRM/Core/Page/Basic.php';

class CJT_Page_EmrJournaltracking_JournalControls extends CRM_Core_Page_Basic {

The source for this extension is available at https://github.com/jrobens/civicrm-extension-emrjournaltracking

4

Fixed by changing all the classes to be in the CRM namespace. e.g.

class CJT_Page_EmrJournaltracking_JournalControls

Becomes

class CRM_Page_EmrJournaltracking_JournalControls

Disable and re-enable the extension to load the changes.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.