PHP notices

Posted in: Newspaper
Post count: 5

I have been getting the following notices:

Notice: Trying to get property of non-object in /[path-to]/wp-content/themes/Newspaper/includes/wp_booster/td_util.php on line 50

Notice: Undefined variable: tdc_header_template_id in /[path-to]/wp-content/themes/Newspaper/includes/wp_booster/td_util.php on line 187

WP: 5.1
PHP: 7.1.26

Everything seems to be working fine to the visitors, but I still think it is worth having a look.

Happy to provide any more needed details.

Post count: 35449

Hi,

Please check if the WP-debug is set to false in the WP-config file, then check if the warnings are removed
https://forum.tagdiv.com/requirements-for-newspaper/
Let us know if there still is a problem after doing this, or you have more questions.

Thanks

Post count: 5

Hi Calin,

Yes, that will probably prevent the notices from showing in my log. But that doesn’t mean that the code is fixed. ‘tdc_header_template_id’ is being used somewhere, but it hasn’t been defined. Probably due to the previous error.

Could you please have someone take a look and fix it?

  • This reply was modified 7 years by lungov.
Post count: 35449

Hi,

This notice is already on our check list, and our developers team will check this and I think this will not longer be display in the next update.

Thank you for your understanding!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.