kevinexit Posted February 12, 2019 Share Posted February 12, 2019 Quote Fatal error: Class 'IPS\hook489' not found in /home/qjaookhz/public_html/init.php(478) : eval()'d code on line 1 What does it mean? I get this each time I want to install/uninstall an app or plugin Link to comment Share on other sites More sharing options...
0 Decon Posted February 12, 2019 Share Posted February 12, 2019 The way IPS loads it's classes is by prefixing their original classes with a unique character (an underscore), then loading all the plugins/hooks and patching them over the original class, then patching an empty class with the proper name at the end. For example, IPS\_Output would be extended by IPS\hook123 which would then be extended to IPS\Output (which would be blank), so that all the hooks (in the order they are installed I believe), are loaded before creating the right name for the output. By the looks of this error message, one of your hooks/plugins got deleted or uninstalled improperly, and now it can't find it while it's trying to patch it. I've never experienced this issue before, but your best bet would be to check that all the plugins you have installed are installed correctly, and if you deleted any plugins, make sure they are actually out of your script so that IPS has no way of knowing that it ever existed in the first place. Look inside your /plugins/hooks.php file and look for the numeric ID 489 and see what it's looking for and what it's trying to override. Either delete that section of code in the file carefully to not mess up the rest of the file and then try again. 1 Link to comment Share on other sites More sharing options...
0 kevinexit Posted February 12, 2019 Author Share Posted February 12, 2019 1 hour ago, Decon said: The way IPS loads it's classes is by prefixing their original classes with a unique character (an underscore), then loading all the plugins/hooks and patching them over the original class, then patching an empty class with the proper name at the end. For example, IPS\_Output would be extended by IPS\hook123 which would then be extended to IPS\Output (which would be blank), so that all the hooks (in the order they are installed I believe), are loaded before creating the right name for the output. By the looks of this error message, one of your hooks/plugins got deleted or uninstalled improperly, and now it can't find it while it's trying to patch it. I've never experienced this issue before, but your best bet would be to check that all the plugins you have installed are installed correctly, and if you deleted any plugins, make sure they are actually out of your script so that IPS has no way of knowing that it ever existed in the first place. Look inside your /plugins/hooks.php file and look for the numeric ID 489 and see what it's looking for and what it's trying to override. Either delete that section of code in the file carefully to not mess up the rest of the file and then try again. 1 Thanks, man you did me a solid.. I have finally fixed the problem.. followed your instruction Link to comment Share on other sites More sharing options...
0 Administrator James Posted February 14, 2019 Administrator Share Posted February 14, 2019 The question(s) in this support topic have been answered and the topic author has resolved their issue. This topic is now closed. If you have other questions, please open a new topic. Link to comment Share on other sites More sharing options...
Question
kevinexit
What does it mean?
I get this each time I want to install/uninstall an app or plugin
Link to comment
Share on other sites
3 answers to this question
Recommended Posts