Could not load model payment

Uncaught exception ‘Exception’ with message ‘Error: Could not load model payment!’ in vqmod\vqcache\vq2-system_engine_loader.php or ‘Error: Could not load controller payment!’ or shipping or module then you have old folder existing in your folder so delete the old folder file which is at \catalog\model\payment or \catalog\model\shipping or \catalog\model\module. Once you delete that folder then hope it removes the opencart fatal error. DON’T FORGET TO KEEP BACKUP

Fatal error: Uncaught exception ‘Exception’ with message ‘Error: Could not load model payment!’ in vqmod\vqcache\-system_engine_loader.php on line 169
( ! ) Exception: Error: Could not load model payment! in vqmod\vqcache\vq2-system_engine_loader.php on line 169
Call Stack
# Time Memory Function Location
1 0.0000 135520 {main}( ) …\index.php:0
2 0.0150 755840 start( ) …\index.php:23
3 0.0150 781952 require_once( ‘system\framework.php’ ) …\vq2-system_startup.php:124
4 0.0450 1090320 Front->dispatch( ) …\framework.php:103
5 0.0825 1561336 Front->execute( ) …\front.php:29
6 0.0825 1561336 Action->execute( ) …\front.php:34
7 0.0825 1568880 call_user_func_array:{vqmod\vqcache\vq2-system_engine_action.php:51} ( ) …\vq2-system_engine_action.php:51
8 0.0825 1569112 ControllerStartupRouter->index( ) …\vq2-system_engine_action.php:51
9 0.0825 1569784 Action->execute( ) …\router.php:25
10 0.0850 1656912 call_user_func_array:{vqmod\vqcache\vq2-system_engine_action.php:51} ( ) …\vq2-system_engine_action.php:51
11 0.0850 1658328 ControllerQuickCheckoutPaymentMethod->index( ) …\vq2-system_engine_action.php:51
12 0.1500 1958272 getMethod ( ) …\payment_method.php:110
13 0.1500 1958520 Proxy->__call( ) …\payment_method.php:110
14 0.1500 1959200 call_user_func_array:{\system\engine\proxy.php:25} ( ) …\proxy.php:25
15 0.1500 1959976 Loader->{closure:vqmod\vqcache\vq2-system_engine_loader.php:147-191}( ) …\proxy.php:25

Just delete the folder by keeping the backup.

Hope it solve the problem. Happy Coding!!

Previous articleUSD to bitcoin, bitcoin exchange rate – Php code
Next articleDescribe the relationship between sObjects and Salesforce records?

1 COMMENT

  1. good knowlege sharing. i really thanks to you.but i have question
    if i replace extension > payment folder to Model> payment
    after any issue in my website ???
    Thanks a lot..

LEAVE A REPLY

Please enter your comment!
Please enter your name here