After upgraded to PHP 7, my website magento print order using PhpWord library not working.
I have this error:
Cannot use PhpOffice\PhpWord\Shared\String as String because 'String' is a special class name in /home/.../vendor/phpoffice/phpword/src/PhpWord/Style/Paragraph.php
Then I using lastest PhpOffice/PhpWord and PhpOffice/Common but it's showing next error:
Fatal error: Class 'PhpOffice\PhpWord\Settings' not found in /app/code/core/Mage/Core/Model/Config.php on line 1348
Can you help me solve this error?