Support » Plugin: Simple Share Buttons Adder » Lot of entries in error log

  • I checked my error log on in my hosting account and found 100s entries saying

    Trying to get property ‘post_title’ of non-object in /home1/purple/public_html/mywebsite.com.au/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 303

    Kindly help.

    • This topic was modified 11 months, 2 weeks ago by Manish.
    • This topic was modified 11 months, 2 weeks ago by Manish.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor ShareThis

    (@sharethis)

    Hi there,

    Thanks for reaching out!

    Can you please verify for me if you are still experiencing this issue on your end?
    If so, can you please provide me with the specific URLs you are having issues with in order for me to be able to provide you with an absolute solution?

    Best,

    • This reply was modified 11 months, 1 week ago by ShareThis.
    Thread Starter Manish

    (@nims)

    Since I did not get any reply I opted to uninstall the plugin. Let me know when the issue is fixed.

    Plugin Contributor ShareThis

    (@sharethis)

    Hi there,

    Thank you for your patience!

    We are constantly working hard to improve our services,

    Post_title is coming from the global $post object. Unless the page you are loading isn’t a post type, the $post variable should always be available. It’s possible the $post variable is being filtered/changed before the wp_head action hook on your site resulting in this issue.

    Hope this helps!

    Best

    I’ve been getting the same error as others who have reported it. I see MANY lines of this error in the php_errorlog file. Your plugin is being displayed via shortcode on all the site product pages and in the left widget area of this site.
    [22-Dec-2020 18:11:16 UTC] PHP Notice: Trying to get property ‘post_title’ of non-object in /home/myuserdirectory/public_html/wp-content/plugins/simple-share-buttons-adder/php/class-buttons.php on line 292. The plugin seems to work fine, but I need to stop all these errors. Please advise.

    Plugin Contributor ShareThis

    (@sharethis)

    Hello,

    Thank you for your patience!

    I am happy to inform you that we released a new version a few days ago, version 8.1.2. The expectation is that all these problems mentioned above will be corrected.

    If you have any other questions, please let us know.

    Best,

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Lot of entries in error log’ is closed to new replies.