Opencart - Getting Call to a member function destroy() on resource
Opencart - Getting Call to a member function destroy() on resource
I'm getting the below fatal error in opencart when accessing products and categories pages and I could not detect the reason for it.
fatal error: Call to a member function destroy() on resource in C:wamp64wwwabbsystemlibraryimage.php on line 713
stack trace:
1. main() C:wamp64wwwabbindex.php:0
2. require_once() C:wamp64wwwabbindex.php:45
3. Front->dispatch() C:wamp64wwwabbsystemframework.php:99
4. Front->execute() C:wamp64wwwabbsystemstoragemodificationsystemenginefront.php:144
5. Action->execute() C:wamp64wwwabbsystemstoragemodificationsystemenginefront.php:170
6. call_user_func_array:C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44() C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44
7. ControllerProductCategory->index() C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44
8. Loader->controller() C:wamp64wwwabbsystemstoragemodificationcatalogcontrollerproductcategory.php:695
9. Action->execute() C:wamp64wwwabbsystemstoragemodificationsystemengineloader.php:66
10. call_user_func_array:C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44() C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44
11. ControllerCommonColumnLeft->index() C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44
12. Loader->controller() C:wamp64wwwabbsystemstoragemodificationcatalogcontrollercommoncolumn_left.php:78
13. Action->execute() C:wamp64wwwabbsystemstoragemodificationsystemengineloader.php:66
14. call_user_func_array:C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44() C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44
15. ControllerModuleNasserpharmacySuperFilter->index() C:wamp64wwwabbsystemstoragemodificationsystemengineaction.php:44
16. ControllerModuleNasserpharmacySuperFilter->getFilters() C:wamp64wwwabbcatalogcontrollermodulenasserpharmacy_super_filter.php:129
17. Proxy->resize() C:wamp64wwwabbcatalogcontrollermodulenasserpharmacy_super_filter.php:401
18. Proxy->__call() C:wamp64wwwabbcatalogcontrollermodulenasserpharmacy_super_filter.php:401
19. call_user_func:C:wamp64wwwabbsystemengineproxy.php:13() C:wamp64wwwabbsystemengineproxy.php:13
20. Loader->closure:C:wamp64wwwabbsystemstoragemodificationsystemengineloader.php:174-208() C:wamp64wwwabbsystemengineproxy.php:13
21. call_user_func_array:C:wamp64wwwabbsystemstoragemodificationsystemengineloader.php:195() C:wamp64wwwabbsystemstoragemodificationsystemengineloader.php:195
22. ModelToolImage->resize() C:wamp64wwwabbsystemstoragemodificationsystemengineloader.php:195
23. Image->__destruct() C:wamp64wwwabbsystemstoragemodificationsystemengineloader.php:195
I think this occurs when loading an image, not sure.
I made too many searches but found non-related topics.
I'm using opencart v2.2, Windows, Wamp, php5.6
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.