Viewing 13 replies - 1 through 13 (of 13 total)
  • I started to start a brand new thread, but this is same issue I am having so saw no need to clutter the forum.

    Anyone have any ideas why this is happening all of a sudden?

    Thread Starter wpempire

    (@wpempire)

    Hey Terry, I sorted it out!

    Woocommerce > Settings > Integration > ShareThis

    Delete the ShareThis publisher ID code.

    This should solve the issue!

    Thank you much wpempire! Appreciate you taking the time to share your solution.

    Terry

    Hi,

    Deleting share this publisher id will remove its functionality.

    instead of this try below method.

    Maybe you can try this for temporary fix.
    Change plugins/woocommerce/classes/integrations/sharethis/class-wc-sharethis.php on line 90 to

    $thumbnail = is_array(( $thumbnail_id = get_post_thumbnail_id( $post->ID ) )) ? current( $attachment_image_src ) : ”;

    this will solve your problem without affecting share this functionality.

    @chetan0412 Thanks so much for that little code snippet. Fixed my error message and kept my sharing functionality in tact! Awesome!

    Thank you @chetan0412

    Had heck of time finding my pubID again (lol) but found it and your fix works great.

    Terry

    Kind of a newbie, but have the same problem. Where do I go/what steps do I take to change this snippet of code?

    Thanks in advance! Much appreciated!

    This also works for me, but when is this going to get updated in the Woocommerce source tree? I don’t want to have to hack this every time an update comes out.

    Many thanks.
    Michael

    That code was perfect , work for me
    thanks!

    Thank you @chetan0412

    Great fix!

    And worked also for me. It puzzled me a few days. Thank you @chetan0412

    Fixed! So glad you posted this!

    jhabs90 – you will need to use an FTP client like FileZilla to open the file, make the change, and re-upload it. Or you can use the editor in wordpress under plugins.

    chetan0412, thank you very much, it solved my problem. Perfect.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Woocommerce: Warning Message On Product Pages’ is closed to new replies.