Magento Asked by boruch on December 29, 2020
We recently got a weird bug, and I’m wondering if anyone has encountered it.
When Magento generates the WSDL (v2) it started adding an extra whitespace before the declaration.
This seems to pretty much break the internet 🙂 .
I’ve grep’ed the entire code base and there are no whitespaces before XML decelerations anywhere.
Also, to add a topping, no errors are generated anywhere…
Thank you
Remove any characters (spaces, tabs etc..) before <?php
at beginning of *.php files.
Answered by Tomir Schmite Jr. on December 29, 2020
It's almost certainly a blank line at the start of a file.
Answered by hammygoonan on December 29, 2020
Try using this script to find the extra whitespace:
http://christian.roy.name/blog/removing-extra-whitespaces-bunch-php-files-using-ack-grep-and-emacs
You'll obviously need ssh for this and you should backup your files before running this or any script that edits your files
Answered by JasonS on December 29, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP