New Landing How can we help? Cardinal method for WP_Widget is deprecate

Tagged: 

Viewing 14 posts - 1 through 14 (of 14 total)
  • Posted in: Cardinal
  • #210933
    Mar21
    Member
    Post count: 219

    Hi,

    the access to my website is very slow (3’30 to access), when WP-DEBUG is activated, I have these message (cf. screenshot):

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

    What should I do ?

    Thanks

    Attachments:
    You must be logged in to view attached files.
    #211004
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Update to the latest version of the theme, this was updated weeks ago to provide compatibility for the latest WordPress.

    – Ed

    #211019
    Mar21
    Member
    Post count: 219

    I am in Version : 2.32

    #211029
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Check for updates in the other plugins. I can see in your screenshot that the Tribe Events plugins needs to be updated.

    -Rui

    #211060
    Mar21
    Member
    Post count: 219

    I have read it, thanks Rui, but what about the warning concerning
    the theme?!

    #211061
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    I don’t think that warning is regarding the theme – we have it running locally with no such error.

    – Ed

    #211199
    Mar21
    Member
    Post count: 219

    Hi Ed,

    I had still the warning… Thus I have desactivated all the plugins and have changed the theme for twentyfifteen. The access to site was norma.
    Then when I switch to Cardinal I had a “fatal error” blanck page and the enclosed debug screenshot.

    Thanks for your help

    Attachments:
    You must be logged in to view attached files.
    #211204
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Do you have the debug active? I logged in and don’t see nothing wrong.
    https://www.dropbox.com/s/498328tt39z0spg/Screenshot%202015-09-08%2010.27.31.png?dl=0

    p.s-the error message that you show in your first reply it’s on the core files of WordPress not in the theme files.

    -Rui

    #211207
    Mar21
    Member
    Post count: 219
    This reply has been marked as private.
    #211212
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    I don’t know what error are you seeing in that screenshot I also don’t know the plugin that generates that information.
    Do you face any specific problem using the theme?

    -Rui

    #211213
    Mar21
    Member
    Post count: 219

    yes, I have no more access to the site : a blank page , with “Fatal error” mention in the navigator tab.

    When I swich for WP Twentyfifteen, I don’t have this issue

    Attachments:
    You must be logged in to view attached files.
    #211217
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    That’s cause by some custom code in your child theme. It’s caused by this line.

    https://www.dropbox.com/s/ld6uqf1a6kim5fw/Screenshot%202015-09-08%2010.56.05.png?dl=0
    We can’t support custom modifications. I commented that line and it’s working now.

    -Rui

    #211296
    Mar21
    Member
    Post count: 219

    Thanks Rui!

    #211301
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    No problem.
    -Rui

Viewing 14 posts - 1 through 14 (of 14 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register