Project

General

Profile

Actions

Bug #1358

closed

Arras theme fatal error

Added by Boone Gorges about 13 years ago. Updated about 13 years ago.

Status:
Resolved
Priority name:
High
Assignee:
Category name:
WordPress (misc)
Target version:
Start date:
2011-11-16
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Activating the WP theme Arras creates a fatal error (call to undefined function WP_Widget_Tag_Cloud::WP_Widget_Tag_Cloud()).

The reason is because in WP 3.2+, PHP4-style constructors, where classes use an eponymous method rather than a standard __construct() as their constructors. Since they were removed throughout WP, and since Arras extends this core WP class, it fails.

The solution is to change the WP_Widget_Tag_Cloud::WP_Widget_Tag_Cloud() call to WP_Widget_Tag_Cloud::__construct().

Actions

Also available in: Atom PDF