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