Opened 8 years ago

Closed 8 years ago

#1698 closed defect (bug) (fixed)

PHP errors in developers reference site.

Reported by: nikschavan's profile Nikschavan Owned by: coffee2code's profile coffee2code
Milestone: Priority: normal
Component: Developer Hub Keywords: needs-patch close


Just after provisioning the WordPress meta environment these errors are seen on the site.

Change History (2)

#1 @Nikschavan
8 years ago

  • Keywords close added

After looking into the code, it seems that this specifically issues for the meta-environment. The database in this environment does not have the required terms.

$version = get_terms( 'wp-parser-since', array(
        'number' => '1',
        'order'  => 'DESC',
        'name'   => $current_version,
) );
Last edited 8 years ago by Nikschavan (previous) (diff)

#2 @coffee2code
8 years ago

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

In 3315: Prevent errors on reference landing page when no wp-parser-since terms are found.

Primarily for development installs of the theme.

Fixes #1698.

Note: See TracTickets for help on using tickets.