Do you have any dependencies set in your module.medeq-3-test.php ? PhysicalDevice is defined in itop-config-mgmt module, in order to be sure your extension is loaded after this module, your dependencies should be similar to this:
Hi Stephen, thanks for the quick reply. I did not have any dependencies set in my module. I added the one you suggested and it went straight though, but now it's hanging with the class Ticket not found. Which module is that defined in? I have tried adding 'itop-tickets/3.2.1' and 'itop-request-mgmt/3.2.1', but it still halts.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Greetings, I am trying to migrate from v2.7 LTS to v3.2 but I am getting the following error when my extension is processed.:
***Fatal error: Uncaught Error: Class "PhysicalDevice" not found in
C:\xampp\htdocs\medeq\env-production\medeq-3-test\model.medeq-3-test.php:430
My custom classes all have PhysicalDevice as their parent class.
I have tried adding a clone of the PhysicalDevice class to my extension with delta="defineifnotexists" but to no avail. What am I doing wrong?
Thanks, Kevin
Hi Kevin,
Do you have any
dependenciesset in yourmodule.medeq-3-test.php?PhysicalDeviceis defined initop-config-mgmtmodule, in order to be sure your extension is loaded after this module, yourdependenciesshould be similar to this:I hope this helps,
Stephen
Hi Stephen, thanks for the quick reply. I did not have any dependencies set in my module. I added the one you suggested and it went straight though, but now it's hanging with the class Ticket not found. Which module is that defined in? I have tried adding 'itop-tickets/3.2.1' and 'itop-request-mgmt/3.2.1', but it still halts.
Indeed it should be
itop-tickets.With a dependecy as follows, it should work, unless there's another underlying issue