Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)
  • Unfortunately the plugin hasn’t been updated since WordPress was on 4.1 (it’s on 5.8 at the time of writing), more than 6 years ago. It stopped working for me more than a year ago, and I haven’t found a suitable replacement yet. It’s sad, really.

    I have a very similar issue! When trying to edit a post, I suddenly get a fatal error.

    This is the Query monitor log:

    Fatal error: Uncaught Error: Object of class WP_Post could not be converted to string
    in /nas/content/live/[sitename]/wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php on line 1092
    
    Call stack:
    
    preg_replace()
    wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php:1092
    
    wp_subscribe_reloaded::clean_email()
    wp-content/plugins/send-email-only-on-reply-to-my-comment/send-email-only-on-reply-to-my-comment.php:787
    
    wp_subscribe_reloaded::delete_subscriptions()
    wp-includes/class-wp-hook.php:287
    
    WP_Hook::apply_filters()
    wp-includes/class-wp-hook.php:311
    
    WP_Hook::do_action()
    wp-includes/plugin.php:478
    
    do_action()
    wp-includes/post.php:3078
    
    wp_delete_post()
    wp-includes/revision.php:456
    
    wp_delete_post_revision()
    wp-admin/edit-form-advanced.php:259
    
    require()
    wp-admin/post.php:206
    Thread Starter AdamDobay

    (@adamdobay)

    Wow, cool! Looking forward to trying it. 🙂

    Thread Starter AdamDobay

    (@adamdobay)

    Brilliant, thanks mate.

    And good luck with sorting this out!

    Thread Starter AdamDobay

    (@adamdobay)

    Thank you for taking the time to look at this issue and on such short notice! You might be surprised but this is the smoothest exchange I’ve had with a WP plugin developer reporting a bug, so I’m very happy to help you with any input you need. 🙂

    Thread Starter AdamDobay

    (@adamdobay)

    Exactly. As of last count we had 3583 posts, 66725 comments and 2,275,825 words.

    I’m wondering if there’s a simple way to have the plugin query this information once, cache it, and only update it once every day/week/month. That would solve the memory issue immediately.

    What I really need as a function is to have an easy stat shortcode so we don’t have to update our post count each time there’s a new post — and the rest of the stats basically just look neat. At the end of the day, none of these really need to be accurate by the second.

    Thread Starter AdamDobay

    (@adamdobay)

    Hi Jeff,

    My host tells me my VPS package has 10GB of RAM and the version of PHP in place is 5.5. (That memory sure sounds a lot but we have anywhere from 60 to 100K visitors a month, so we need to keep usage low not to overload the server, especially in peak times.)

    Thread Starter AdamDobay

    (@adamdobay)

    Hi Jeff,

    If it helps, I tried individually shutting off [sbs_posts], [sbs_approved], and [sbs_word_count_all] to see if they contribute on their own to the problem, but it seems even if one is used, the memory usage shoots right up.

    I’ve removed the plugin for now to keep our site from crashing, but please let me know if you’ve managed to fix it because I’d love to put it back.

    Thanks,
    Adam

    I tried what Wanderlusters wrote and changed all occurences of wp-login.php and wp-signup.php to the ones in WP Better Security (since renamed to iThemes Security) but to no avail, it logs you in but the widget is stuck in the “loading” state until you refresh.

    Thread Starter AdamDobay

    (@adamdobay)

    Thank you. 🙂

    Thread Starter AdamDobay

    (@adamdobay)

    Hi mbrsolution,

    Thanks for the detailed info on the browser caching option! As we update the site 2-3 times a day, we’ll just keep it turned off. I checked your website (very interesting btw, I will look into its recommendations), and I see you have a static webpage so it makes more sense to have it turned on.

    The cache number is now over 1400 so yes probably with the visitors coming it is caching new stuff pretty fast.

    We use Wordfence to monitor hacking attempts, unfortunately we can’t update WP very frequently because we use our own translation and that has to be updated every time we update, bit of a hassle. 🙂

    If you say the options discussed & implemented solve the problem I started the thread for, I can mark the thread resolved.

    Thread Starter AdamDobay

    (@adamdobay)

    hi mbrsolution,

    Thanks for clearing up what Home Caching does!

    To answer your questions:
    – “Allow browser caching” is off. (I wasn’t sure what that was, I left it alone. 🙂
    – The site has 2350 posts.
    – The WordPress install is 3.3.1 (planning to upgrade to 3.5.1 in a couple of weeks)

    Cheers,
    Adam

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