I am getting error while executing phpdocx create function. Although its working fine localy.
Severity: Notice --> Undefined index: log4php.threshold
That is just a notice from phpdocx
, maybe not all notices are solved, you can disable notices from production server.
Modify in php.ini
:
error_reporting = E_ALL & ~E_NOTICE
The undefined index
notice comes when php script not finding matching index in array.
You have to check your array using print_r($array)
or var_dump($array)
whether it contains this index or not.