Class 'PhpOffice\PhpWord\Settings' not found in app/code/core/Mage/Core/Model/Config.php on line 1348 <p>After upgraded to PHP 7, my website magento print order using PhpWord library not working.</p> <p>I have this error: </p> <p>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</p> <p>Then I using lastest PhpOffice/PhpWord and PhpOffice/Common but it's showing next error: </p> <p>Fatal error: Class 'PhpOffice\PhpWord\Settings' not found in /app/code/core/Mage/Core/Model/Config.php on line 1348</p> <p>Can you help me solve this error?</p> <p>Thanks.</p>