Patch to fix PHP Notices in PHP5

Created on 24 June 2011, about 13 years ago
Updated 3 March 2023, over 1 year ago

One of our biggest problems with this module is that when used on a PHP5 site with the error_reporting php.ini directive set to show Notices it generates a LOT of watchdog entries which fills up the watchdog table and causes disk space issues after a while. "Just turn off Notices in your php.ini to fix the problem" you say? That's not an elegant solution. Let's fix the code instead to be PHP5 friendly. Here is a patch that does just that.

🐛 Bug report
Status

Closed: outdated

Component

Code

Created by

🇺🇸United States lobo235

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    I am closing this issue, since it is for a Drupal version that now is not supported.
    Please re-open it if the issue is also relevant for other project branches that require a supported Drupal version.

Production build 0.69.0 2024