Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8550195
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T13:53:46+00:00 2026-06-11T13:53:46+00:00

We are trying to add the PHP Library PHPDocx for dynamically making Microsoft word

  • 0

We are trying to add the PHP Library PHPDocx for dynamically making Microsoft word docs through our php application. However, their code throughs several warnings and notices that are blowing up our error log. We have our error reporting set to E_STRICT for the site, and want to change the error reporting and logging to E_ERROR just for these files. Unfortunately, our custom templating system (which sets the error reporting), is loaded prior to any requires or references to the PHPDocx library.

I have tried using error_reporting(E_ERROR) and ini_set('display_errors', 0), but I am still getting the warnings and notices written into our error log. I don’t know if its because all of our setup code is run first, but what I would like to do do is only write fatal errors from the PHPDocx files, but keep E_STRICT on the rest of the site.

Thanks for any help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T13:53:47+00:00Added an answer on June 11, 2026 at 1:53 pm

    if they are a small number of occurances, you could specifically suppress them with the @ symbol before whatever function. for example;

    echo @$myunsetvariable;
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to add a css file in my zend application layout.php the problem
I am trying to add an external library (PHP Simple DOM Parser, http://simplehtmldom.sourceforge.net/index.htm )
I'm trying to add some twitter funcionality to my website (php). I publish links
I am trying to add the following code work in a php file but
I am trying add picture boxes dynamically. My code is as PictureBox picture =
I am trying to add C:\xampp\php to my system PATH environment variable in Windows.
Need some help to add PHP into HTML. I am trying to embed PHP
Im trying to link a JS library into a php dynaimcally generated xml document.
I'm trying to get details of Foursquare list by PHP library : $foursquare =
Can you walk me through the installation of a library for php, specifically what

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.