David Innes
Forum Replies Created
-
My client’s site was updated to 6.4.9 on release. It had logged 101183 calls to, e.g.
[27/Jun/2024:04:28:55 +0000] "GET /calendar/?id=1972581797&full=1&ajaxCalendar=1&mo=7&yr=2024 HTTP/2.0" 200 142531 "-" "facebookexternalhit/1.1 (+https://www.facebook.com/externalhit_uatext.php)"
Then the host locked the site out.
So, yeah, not fixed yet.
I’ve added all the bells, whistles, .htaccess hacks, etc., mentioned here and elsewhere and at least so far I’m not seeing more hits from Facebook. But, yeah, we’ll see tomorrow.
Maybe tomorrow there won’t be another 33mb log file waiting for me.Final followup. The script definitly worked like a charm. It took a while to clear out more than 100,000 spam users but the database is now a healthy 90mb instead of more than 360mb! So thanks, Jarryd!
Thanks, Jared! It works like a charm. Good script. It’ll have to run 500+ times to clear out all the old accounts, but that’s what cron’s for. Thanks again.
Tha would be wonderful, Jared. Thank you.
For what it’s worth, visiting Dashboard -> Membership -> Members shows the ~375 actual active members. So if your script can query the database for subscribers who aren’t also members then we should be fine.
Also, obviously, I can try your script on a copy of the site on my dev server to make sure none of the active members are removed.
Yes, version 0.5.1 seems to have fixed the problem.
Forum: Plugins
In reply to: [ActivityPub] Two Critical ErrorsI’m getting similar errors in Site Tools for the WebFinger endpoint on clean WordPress installations on two different servers, including one that failed even after I deactivated LetsEncrypt and another, temporary host that doesn’t have HTTPS at all. (It’s also a problem on my actual, real website.)
There’s no /.well-known folder on any of the sites I’ve tried ActivityPub on, and so neither /.well-known/webfinger nor /.well-known/acme-challenge
Is there another possibility? Another path that should be used beside /.well-known?Forum: Plugins
In reply to: [MapPress Maps for WordPress] Maps Stopped DisplayingJust got a call from a client saying the same thing. Maps aren’t displaying at all since the update.
Javascript Error I get in the Chrome/Opera console
Uncaught TypeError: e.search is not a function
at mapp.Places.<anonymous> (mappress.min.js?ver=2.47.6:1)
at Object.trigger (js?v=3&libraries=places&key=AIzaSyALssTmwOKkcETzKJXyHhTjUuR1_4blOmo:120)
at mapp.Places.parse (mappress.min.js?ver=2.47.6:1)
at mapp.Map.display (mappress.min.js?ver=2.47.6:1)
at Object.mapp.load (mappress.min.js?ver=2.47.6:1)
at mappress.min.js?ver=2.47.6:1- This reply was modified 6 years, 8 months ago by David Innes.
Forum: Plugins
In reply to: [Page Title Splitter] Conflict with WPBeaver Page BuilderI’m able to save and exit from BB (version 2.0+) but still can’t save rows and modules.
Workaround: Disable Page Title Splitter plugin while making BB operations. Re-enable when done.
This is… tolerable when you only need to save the occasional row or template. Not even a little tolerable if you’re unable to save at all.
Main diagnostic of where the problem is though: Disable PTS and BB works. Re-enable and BB breaks again.
Note: I’m seeing a constant stream of errors in php_errorlog on the server.
PHP Fatal error: Call to undefined function get_current_screen() in /home/XXXXpath-to-html_rootXXX/wp-content/plugins/page-title-splitter/pts.php on line 43
Forum: Plugins
In reply to: [PG Context Sidebar] Add Visual Editor functionality?Haven’t heard anything back, but I have found a one-line workaround that seems to work just fine. There’s no way to hook the function so the adjustment must be made in the plugin itself.
Around line 189 in the file pg-context-sidebar.php find the text
<td><textarea id="pgeek-cs-content" name='pgeek_cs_content' rows=8 cols=90 ><?php echo esc_attr($content * ); ? ></textarea>
And replace it with
<td><?php $my_settings = array('textarea_name' => 'pgeek_cs_content'); wp_editor( $content, 'pgeek_cs_content', $my_settings ); ?>
Of course if the plugin is updated you have to reapply the fix. (Unless the fix were in the update itself.)
Forum: Plugins
In reply to: [WP eCommerce] Please update/certify with your merchante-solutions providerThanks, Justin.
I agree it should be their responsibility to comply with your APIs rather than the reverse, and I apologize for falling for their spin. If they think really need to add their code to your core, and then further expect you to “certify” your updates with them then, yeah, they’re doing it wrong.
I’ll mention this in a follow-up with Merchant E-Solutions but I’ll also add it to my case to the client to switch to a more responsible gateway provider.