0

I am getting error while executing phpdocx create function. Although its working fine localy.

Severity: Notice --> Undefined index: log4php.threshold

Shankar Narayana Damodaran
  • 68,075
  • 43
  • 96
  • 126
Asif
  • 258
  • 1
  • 6
  • 19

2 Answers2

1

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
Mihai Iorga
  • 39,330
  • 16
  • 106
  • 107
0

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.

Yogesh Suthar
  • 30,424
  • 18
  • 72
  • 100