Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1266806

    Hi Friends,
    Does anyone have a fix for the following error? (seeing after a WordPress 5.6 upgrade):

    “Deprecated: wp_make_content_images_responsive is deprecated since version 5.5.0! Use wp_filter_content_tags() instead. in C:\inetpub\wwwroot\tsp\wp-includes\functions.php on line 4859”

    Thank you.

    #1267028

    Hey doug1234,

    Please send us a temporary WordPress admin login and login URL so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Best regards,
    Rikard

    #1267191
    This reply has been marked as private.
    #1267502

    Hey,

    Thanks for contacting us!

    Due to our policy, we only access to sites that are publicly accessible.

    Please make sure that you are using the latest version of Enfold which is currently 4.7.6.4 – https://kriesi.at/documentation/enfold/theme-update/. If that does not help, please try to clear cache.
    In our code, we use “wp_make_content_images_responsive” in WP versions older than 5.5 and “wp_filter_content_tags” on versions 5.5 and newer so you should not get such warning :)

    Cheers!
    Yigit

    #1268490

    Hi Yigit,

    Thank you for your suggestions.

    Unfortunately, I am running the latest enfold – 4.7.6.4

    I did clear my cache and tried two different browsers. The same error appears in each.

    Do you have any other suggestions?

    Thank you.

    #1268649

    Hi doug1234,

    A temporary solution is to disable Responsive Images in Enfold > Performance > Responsive Images And Lazy Loading.
    However, if your Enfold version is 4.7.6.2 and up it should be fixed as Yigit mentioned and the issue most likely is caused by caching.

    Best regards,
    Nikko

    #1270053

    Hi Nikko & Yigit,

    Happy new year!

    Thank you for your help. I did take a peak at the code that the error referred to:

    if ( WP_DEBUG && apply_filters( 'deprecated_function_trigger_error', true ) ) {

    I then changed WP_Debug to false in web-config.php and the errors went away. All this to say, it seems that the deprecated code is being purposely called. I am confident that I have cleared the browser cache and I am not running an old version of the theme.

    I’d also like to share:
    “Private Content (link to your website, login credentials, FTP credentials, etc – only visible for moderators)” is the title of the box that allowed me to enter my private URL. The title suggests that this is acceptable.

    Thanks again,

    Doug.

    #1270284

    Hi,

    Thank you for the update.

    By setting WP_DEBUG to false, you are disabling the debugging mode, which also prevents warnings or errors from displaying in the frontend. This is fine because the debugging info that you posted above is merely a warning and should not cause any critical errors in the site.

    Best regards,
    Ismael

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.