Replies: 2   Views: 4085
Error class 'tidy' not found after upgrading from phpdocx version 3.1 into version 3.2
Topic closed:
Please note this is an old forum thread. Information in this post may be out-to-date and/or erroneous.
Every phpdocx version includes new features and improvements. Previously unsupported features may have been added to newer releases, or past issues may have been corrected.
We encourage you to download the current phpdocx version and check the Documentation available.

Posted by robertoblanco  · 15-05-2013 - 14:16



I am a satisfied PHP DocX user using the pro+ version


I've just upgraded from version 3.1 into 3.2.

This should add new features and also bug fixing.


On running the simple example where you can transfer a docx-file into a html-file:




 * Transform DOCX into HTML


 * @category   Phpdocx

 * @package    examples

 * @subpackage easy

 * @copyright  Copyright (c) 2009-2013 Narcea Producciones Multimedia S.L.

 *             (

 * @license

 * @version    1.8

 * @link

 * @since      File available since Release 1.8


require_once '../../classes/';

$document = new TransformDoc();




echo $document->getStrXHTML();


I got the error in my browser:


PHP Fatal error:  Class 'tidy' not found in C:\Inetpub\vhosts\\httpdocs\cloud12\classes\ on line 356


Please could somebody help me out?





Posted by jorgelj  · 16-05-2013 - 08:58


Tidy class is not included in PHPDocX but in PHP:

So you'll need to enable it in your server.