We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The problem is in the followed statement: trigger_error('Template file '.$strFilename.' not found.', E_ERROR);
Due to http:https://php.net/manual/en/function.trigger-error.php: "It only works with the E_USER family of constants, and will default to E_USER_NOTICE."
So, replacing E_ERROR with E_USER_ERROR helps.
The text was updated successfully, but these errors were encountered:
FIXED : "Warning: Invalid error type specified in ...\PHPWord.php on …
9557dd9
…line 226" is thrown when the specified template file is not found GH-32
Progi1984
No branches or pull requests
The problem is in the followed statement:
trigger_error('Template file '.$strFilename.' not found.', E_ERROR);
Due to http:https://php.net/manual/en/function.trigger-error.php:
"It only works with the E_USER family of constants, and will default to E_USER_NOTICE."
So, replacing E_ERROR with E_USER_ERROR helps.
The text was updated successfully, but these errors were encountered: