WordPress.org

Plugin Directory

customizable-post-listings

Opened 4 years ago

Closed 18 months ago

#1208 closed defect (fixed)

Unhandled PHP Notices on first activation

Reported by: fireproofsocks Owned by: coffee2code
Priority: normal Severity: normal
Plugin: customizable-post-listings Keywords: Custom Field Template
Cc:

Description

Custom Field Template 1.7.5 has unhandled PHP notices when the plugin is first activated in Wordpress 3.0.1:

Notice: Undefined index: page in /path/towordpress3/html/wp-content/plugins/custom-field-template/custom-field-template.php on line 94

Notice: Undefined variable: post in /path/towordpress3/html/wp-content/plugins/custom-field-template/custom-field-template.php on line 174

Notice: Trying to get property of non-object in /path/towordpress3/html/wp-content/plugins/custom-field-template/custom-field-template.php on line 174

Notice: Undefined variable: post in /path/towordpress3/html/wp-content/plugins/custom-field-template/custom-field-template.php on line 518

Notice: Trying to get property of non-object in /path/towordpress3/html/wp-content/plugins/custom-field-template/custom-field-template.php on line 518

These are usually simple to fix, but it's alarming if a plugin has been released without these handled.

Change History (1)

comment:1 garyc4018 months ago

  • Resolution set to fixed
  • Status changed from new to closed

In [610731]:

Fix: PHP Notice in widget settings (Latest product widget).

Fixes issue 1208.

Note: See TracTickets for help on using tickets.