Jump to content

Fatal Error: Call To Undefined Method Shopurl::cachemaindomainforshop()


Recommended Posts

Hi,

 

My web site "Prestashop version: 1.5.3.1" was working properly for three years I believe so...

 

Suddenly my clients began to complain that they are getting a "Internal 500 Error", when they are confirming the purchase.

 

I followed some instructions given in the forum and I found that I have to set  (define('_PS_MODE_DEV_', true); in config/defines.inc.php in order to see the exact Error, and after i did that I am having:

 

"Fatal error: Call to undefined method ShopUrl::cacheMainDomainForShop() in /home/content/15/10900415/html/override/classes/order/OrderHistory.php on line 19"

after i hit Confirmation button at checkout.  

 

Can anyone help me with this please?

 

PS: My website is bekqeli.com and everything is working fine except of that...

Link to comment
Share on other sites

Hello

You have installed some module that uses this file override/classes/order/OrderHistory.php

Pereymenuyte him say so override/classes/order/_OrderHistory.php

Or look at it on the line 19

 

hi, please follow the above advice.  You or someone added a module that put this override in folder that is causing issue.  After you 'rename' it then look at source code to see if you can determine what module may have installed the override.

Link to comment
Share on other sites

I renamed the file as you described above.

 

Now the Confirmation button is working properly, and so far the whole webpage.

 

I wonder if I will get any of consequences in the future by renaming OrderHistory.php?

 

Bthw: Thanks a lot for helping me regarding this issue

Link to comment
Share on other sites

×
×
  • Create New...