Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WP_Widget deprecation in some WP plugin causes error which affects several functions #1

Open
andrebu opened this issue Jan 17, 2016 · 0 comments
Assignees

Comments

@andrebu
Copy link
Collaborator

andrebu commented Jan 17, 2016

WP_DEBUG gives this when loading earmilk.com/sitemapindex.xml?generate=1&t=1452844019:

Notice: The called constructor method for WP_Widget is <strong>deprecated</strong> 
since version 4.3.0! Use <pre>__construct()</pre> instead. in 
/home/www-data/earmilk/public/wp-includes/functions.php on line 3624

Relevant discussion:
https://wordpress.org/support/topic/notice-wp_widget-is-deprecated-since-version-430

"The issue is the use of deprecated PHP 4 style constructors for widgets:
{object}->WP_Widget(), WP_Widget::WP_Widget(), and parent::WP_Widget()."

@andrebu andrebu self-assigned this Jan 17, 2016
andrebu pushed a commit that referenced this issue Feb 6, 2016
1.  Update standard.php in “Ultimate Posts Widget”
`/wp-content//plugins/` folder and copy it
2.  Upload updated custom template file from with fixed hAtom markup
file (i.e., missing `class=“date updated”`) from #1 above, to
/wp-content/themes/[your-site-theme]/upw
3.  In WordPress backend, go to “Appearance > Widgets” and open the UPW
widget
4.  Go to second tab of widget and select custom template and use the
name without the *.php extension
andrebu referenced this issue Mar 2, 2016
Plugin Bug Fix  ---  self::PARAM_CUSTOMFIELD_KEY
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant