Viewing 15 replies - 1 through 15 (of 29 total)
  • Hi,
    This error finds me a bit unsettled atm. I have a deadline to meet. Arrg…
    At any rate, this might help you.
    https://gist.github.com/chriscct7/d7d077afb01011b1839d

    It isn’t just this plug in……its ANY plug in that hasn’t updated in the last five days

    why don’t you have a system in place that advises coders and theme builders of an impending update and allows them ample time to construct the update before wreaking your standard brand of monthly mayhem and destruction on everyone who doesn’t have a damned degree in programming or coding

    For God’s sake, WP, this is getting real old real fast.

    [Personal insult redacted]

    Andrew Nevins

    (@anevins)

    WCLDN 2018 Contributor | Volunteer support

    Many authors do follow WordPress updates before they are released to the public. WordPress (the core application) goes through Alpha and Beta stages, and all of the development work is documented. It’s the responsibility of plugin and theme authors to keep up to date.

    If you have generic feedback please instead create a thread here: https://www.ads-software.com/support/forum/requests-and-feedback

    I think easiest way would be to make WP_DEBUG false for now, in wp-config file of your site.

    define(‘WP_DEBUG’, false);
    It worked for me to hide the error, hope works for you as well.

    Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    why don’t you have a system in place that advises coders and theme builders of an impending update and allows them ample time to construct the update

    All plugin authors were emailed on August 7th and advised to test and update their plugins as needed.

    The change to warn them about deprecated constructor notices because of the upcoming changes to PHP 7 was made on August 2nd: https://make.www.ads-software.com/core/2015/07/02/deprecating-php4-style-constructors-in-wordpress-4-3/

    I’m having the same problem. Do I have to disable all of my plugins and test them one by one to see which one is causing the problem? There’s gotta be a quicker way. Keep in mind I know very little about writing code.

    @tralinespencer

    See @rafay_mehfooz ‘s comment above:

    I think easiest way would be to make WP_DEBUG false for now, in wp-config file of your site.

    define('WP_DEBUG', false);
    It worked for me to hide the error, hope works for you as well.

    The wp-config.php file is located at the root of your WordPress installation. Simply add that line before the “That’s it! Stop editing!” comment.

    If it already exists, change the false value into true

    Help!
    I get the same message…
    The called constructor method for WP_Widget is deprecated since version 4.3.0
    …when I visit my website.
    And when I try to log in so I can fix it, I get this message amongst others:
    Warning: Cannot modify header information – headers already sent by (output started at /customers/a/b/f/mortenbisgaard.com/httpd.www/wp-includes/functions.php:3457) in /customers/a/b/f/mortenbisgaard.com/httpd.www/wp-login.php on line 431

    I’m caught in a trap.
    Does anyone know how I can fix it?

    Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /customers/a/b/f/mortenbisgaard.com/httpd.www/wp-includes/functions.php on line 3457 Warning: Cannot modify header information – headers already sent by (output started at /customers/a/b/f/mortenbisgaard.com/httpd.www/wp-includes/functions.php:3457) in /customers/a/b/f/mortenbisgaard.com/httpd.www/wp-includes/pluggable.php on line 1207

    Thread Starter hongpong

    (@hongpong)

    @tralinespencer the problem definitely resides in this plugin, as the underlying WordPress API is now deprecated. @pcenero is correct, that should hide the message.

    I totally support WordPress updating its APIs to reflect new PHP requirements (really it’s long overdue, as WordPress still supports PHP versions that no longer get security coverage), although as a site builder it is onerous to deal with deprecation notices. Perhaps existing APIs should only really be changed on major version numbers. Also some kind of magic semantic code updater tool like https://www.drupal.org/project/drupalmoduleupgrader could automate this type of work. If it were possible for community members to reclaim abandoned plugins that would also help matters greatly – especially if a git based environment were integrated to make patch submission more fluid.

    @dmullins If you have FTP access you can move/delete the folder. If you have a vanilla install it’s located in wp-content/plugins/easy-twitter-feed-widget#.#/

    @hongpong I was talking to someone (can’t remember who) at WordCamp somewhere about claiming abandoned plugins. There are people working on solving this problem. People like Matt and Konstantin… maybe not them but people with that level of involvement. Let’s hope it happens soon.

    Having the same problem here. I’ve turned on debug if anyone wants to have a look – https://zipporah.co.uk/wp-admin

    Initially i get this ‘cookies are blocked…’ message which ive tried to resolve – to no avail. And then if you enter in a username / password (shows regardless of whether you enter in the actual login info or any old mumbo jumbo) debug data is showing

    The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /home/sites/zipporah.co.uk/public_html/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()

    I went to line 3457 and the data reads (line starts on 3457 here as ive noted)

    if ( WP_DEBUG && apply_filters( ‘deprecated_constructor_trigger_error’, true ) ) {
    if ( function_exists( ‘__’ ) ) {
    trigger_error( sprintf( __( ‘The called constructor method for %1$s is deprecated since version %2$s! Use %3$s instead.’ ), $class, $version, ‘

    __construct()

    ‘ ) );
    } else {
    3457 here trigger_error( sprintf( ‘The called constructor method for %1$s is deprecated since version %2$s! Use %3$s instead.’, $class, $version, ‘

    __construct()

    ‘ ) );

    I also tried renamed every plugin file as some people on other threads have mentioned but that didn’t work either. Any one able to help me on this.

    I try to update a couple of plugins manual with WP_Widget replacing with __construct.
    That causes only new errors!!
    __construct needs __construct() with vars.
    See this example:
    class ExileBucketList extends WP_Widget {
    can not replaced with
    class ExileBucketList extends __construct() {

    Thats for a lot of plugins.

    Question to WP-team: How to solve these issues?

    My advise: Produce first a solution that fits for almost every recent coded plugin before define a code as deprecated.

    HI

    Am also facing same errors after updated to 4.3.

    Please help out of this problem.

    Got an important deadline for my comic today and can’t upload any comics nor get into the media folder. It only loads for eternity and beyond. I updated my selfhosted wordpress site to version 4.3.0, hosted on one.com. Now I get these error messages:

    onstructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /customers/3/a/e/drawmoorepictures.com/httpd.www/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /customers/3/a/e/drawmoorepictures.com/httpd.www/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /customers/3/a/e/drawmoorepictures.com/httpd.www/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /customers/3/a/e/drawmoorepictures.com/httpd.www/wp-includes/functions.php on line 3457 Notice: The called constructor method for WP_Widget is deprecated since version 4.3.0! Use
    __construct()
    instead. in /customers/3/a/e/drawmoorepictures.com/httpd.www/wp-includes/functions.php on line 3457

    Tried to deactivate all plugins and activate them one at a time. None of them solved it. Changed the theme too, no progress. When I do anything else I get the same problems as @vermund.

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘constructor method for WP_Widget is deprecated since 4.3.0’ is closed to new replies.