• Resolved SimpleRick

    (@keramikoch)


    Hi dear support,

    your Plug-In still uses opengraph:

    wpseo.php (2 Treffer)
    Line 7: $data = get_post_meta( $id, ‘_yoast_wpseo_opengraph-image’, true );
    Line 10: $data = get_post_meta( $id, ‘_yoast_wpseo_opengraph-image-id’, true );

    This seems to create the following error:
    29-Jul-2020 08:10:48 UTC] PHP Deprecated: wpseo_opengraph ist seit Version 14.0 veraltet! Benutze stattdessen wpseo_frontend_presenters. in /var/www/vhosts/…/wp-includes/functions.php on line 5088

    Can you fix that?

    Thanks in advance.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter SimpleRick

    (@keramikoch)

    Yoast is saying it is depreciated and it it recommanded to use wpseo_frontend_presenters instead

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi,

    Sure, I can even remove it, that would be simpler 😉 You can also remove that part of the code.

    By the way, this is not about Media Cleaner, I believe it’s a bout Meow Gallery 🙂

    Thread Starter SimpleRick

    (@keramikoch)

    Thanks 🙂 I don’t think it is only Meow Gallery, because we have not installed it 😉
    So will you remove it in the next update? So I don’t need to remove it myself. I am not feeling sure in removing something in the code.

    Thread Starter SimpleRick

    (@keramikoch)

    Maybe this helps:
    \plugins\media-cleaner-pro\parsers\wpseo.php (2 Treffer)
    Line 7: $data = get_post_meta( $id, ‘_yoast_wpseo_opengraph-image’, true );
    Line 10: $data = get_post_meta( $id, ‘_yoast_wpseo_opengraph-image-id’, true );

    Thread Starter SimpleRick

    (@keramikoch)

    One question in general: Why can I just delete these lines? There need to be purpose for these code lines to be there. What happens by simply deleting them?

    Thread Starter SimpleRick

    (@keramikoch)

    @jordy Meow
    Any News to this?
    I use the Premium version if that helps for finding the bug.

    Plugin Author Jordy Meow

    (@tigroumeow)

    Hi @keramikoch,

    Sorry for the late reply. To be honest, I think those lines are useless, but some people really love to have all their images recognized by Yoast SEO and added to the opengraph. I am honestly not sure it helps that much, and I think that’s where technical SEO goes a bit too far (and at that point, it’s better to spend more time on writing quality content).

    So from my point of view, it’s totally fine deleting those 🙂 However, to make everyone really happy, I will need to check what Yoast SEO changed (I am not using this SEO plugin in fact).

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘opengraph’ is closed to new replies.