Jump to content

Oops... looks like an unexpected error occurred


Recommended Posts

Invalid resource provided: "/var/www/vhosts/wholisticapproaches.net/httpdocs/webstore/modules/ps_checkout/translations/en-US/ModulesCheckoutPscheckout.en-US.xlf"; Errors: [ERROR 1871] Element '{urn:oasis:names:tc:xliff:document:1.2}source': This element is not expected. Expected is one of ( {urn:oasis:names:tc:xliff:document:1.2}seg-source, {urn:oasis:names:tc:xliff:document:1.2}target, {urn:oasis:names:tc:xliff:document:1.2}context-group, {urn:oasis:names:tc:xliff:document:1.2}count-group, {urn:oasis:names:tc:xliff:document:1.2}note, {urn:oasis:names:tc:xliff:document:1.2}alt-trans, ##other{urn:oasis:names:tc:xliff:document:1.2}* ). (in /var/www/vhosts/wholisticapproaches.net/httpdocs/webstore/admin565vhjv4n73mx7phbv2/ - line 812, column 0)

[Symfony\Component\Translation\Exception\InvalidResourceException 0]

 

Greetings, it looks like the "ps_checkout" module is causing this error. 

 

Thank you, Shalom.

 

Link to comment
Share on other sites

welcome to community tested looool  ps_checkout has been a nightmare, I made a lot of money with client intakes of broken checkout...we just removed it...you  should consider the same unless ps has no other option for the payment gateway you use....

 

Yep—this is a real bug in the latest ps_checkout update (rolled out around Aug 22–25, 2025). Multiple shop owners are reporting the exact same crash on the Back-Office/FO with this stack trace pointing at the module’s English XLIFF file:
modules/ps_checkout/translations/en-US/ModulesCheckoutPscheckout.en-US.xlf (XLIFF parser: “source element not expected”, Error 1871). prestashop.com+1

Here’s the quickest way to get the site back up and keep ps_checkout usable:

  • Restore access (if you’re locked out): via FTP/SSH, temporarily rename the module folder: modules/ps_checkout → modules/ps_checkout.off (site comes back). prestashop.com
  • Target the bad file only: put the module folder name back to ps_checkout, then delete this file:
  • modules/ps_checkout/translations/en-US/ModulesCheckoutPscheckout.en-US.xlf.
  • Several users confirm the module will run without that file. prestashop.com
  • Clear cache: delete var/cache/prod (and var/cache/dev if present).
  • Reload Back-Office and test checkout.

Why it breaks (short version)

The shipped en-US XLIFF is not schema-valid for what Symfony’s XliffFileLoader expects in PS 8/9—hence the “[ERROR 1871] … source element not expected” crash during cache warm-up. Removing or replacing that one file avoids the fatal. prestashop.com

let us know how that works for you!

Edited by El Patron (see edit history)
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...