Error "Strict Standards: Non-static method" on widget

Solved7 replies3 participantsUpdated by Robert Hall

  • Avatar: nyong
    nyong
    Participant

    Hello

    Since I installed and configured W3Total Cache I’m getting the following error on the template’s 8theme Static Block widget.

    Strict Standards: Non-static method WPBakeryShortCode::getExtraClass() should not be called statically in /home/diamondb/public_html/wp-content/themes/legenda/framework/vc.php on line 959

    Strict Standards: Non-static method WPBakeryShortCode_VC_Row::buildStyle() should not be called statically in /home/diamondb/public_html/wp-content/themes/legenda/framework/vc.php on line 963

    Can you please advise how to fix this?

    Thanks

    7 Answers

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    Have you tried to disable this plugin? Try it, maybe it will solve the problem.
    If not, please provide us with the wp-admin and FTP credentials in Private Content.

    Regards,
    Robert Hall

    Avatar: nyong
    nyong
    Participant

    I’m sorry but that’s not a solution. The website is too slow without W3Total Cache and it is needed. Nothing else breaks when the W3Total Cache is enabled.

    Avatar: Robert Hall
    Robert Hall
    Participant

    Please provide us with the wp-admin and FTP credentials in Private Content and we look into this issue more deeply.

    Regards,
    Robert Hall

    Avatar: nyong
    nyong
    Participant

    Thanks for helping, I’ve included all the information you need in the private content of this message.

    Please, contact administrator
    for this information.
    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello,

    We’ve made some changes in youк theme files. Please check it now!

    Regards,
    Jack Richardson

    Avatar: nyong
    nyong
    Participant

    Jack you’re awesome! Thank you so much for helping in lightening fast time. Will I be ok for applying future template updates? I’m not going to overwrite your fix then?

    Avatar: Robert Hall
    Robert Hall
    Participant

    We’re glad to hear it.
    Of course, you can apply the template update, if there will be problems again, please contact us.
    Have a good day!

    Regards,
    Robert Hall

The issue related to '‘Error "Strict Standards: Non-static method" on widget’' has been successfully resolved, and the topic is now closed for further responses