Babak Fakhamzadeh
Forum Replies Created
-
Thanks. This seems to work.
I’m not getting a usable error. The log is growing extremely fast, so can’t easily get a log that I can paste in Pastebin. But my only errors are like this:
[05-Nov-2025 13:46:51 UTC] PHP Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for theserver-ip-memory-usagedomain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at theinitaction or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/oeco/public_html/wp-includes/functions.php on line 6121
Happy to email you Site Health details.
Perhaps relevant, none of the images in the Embedpress dashboard are loading.Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Unknown format specifierResolved. Thanks.
Forum: Plugins
In reply to: [Tutor LMS - eLearning and online course solution] Unknown format specifierURL with problem: https://cursos.oeco.org.br/courses/introducao-ao-jornalismo-ambiental/
Error reporting is turned on. You can inspect the source to see the error.
Yes, the site runs in Portuguese.
This seems to have worked. Thanks.
Forum: Plugins
In reply to: [Bit SMTP - Easy WP SMTP Solution with Email Logs] Do you support Multisite?Thanks. That worked.
And what also worked is that configuring the app for the ‘main’ site in my Multisite installation propagated the settings to the (currently 1) network site.
Forum: Plugins
In reply to: [Bit SMTP - Easy WP SMTP Solution with Email Logs] Do you support Multisite?I tried setting up this plugin, using Gmail’s SMTP server, but test mails are not being sent.
I also found this:
https://support.google.com/a/answer/9003945?hl=en
So, I take it that, as of last month, this plugin no longer supports Gmail?
Forum: Plugins
In reply to: [Bit SMTP - Easy WP SMTP Solution with Email Logs] Do you support Multisite?Thanks.
You’re saying that it needs to be configured within one of the sites, after which it will be setup for all of the sites?
Forum: Plugins
In reply to: [WP REST Cache] Cache of paged results not flushing on updating postsI do not, as this does not serve a useful purpose. After all, the request itself includes the type, and is part of the URL.
So, you’re saying that if I include the type, the plugin will correctly associate the REST request with an object type?
Forum: Plugins
In reply to: [WP REST Cache] Cache of paged results not flushing on updating posts@rockfire Indeed, it is. And, indeed, I include the id of the requested objects.
Forum: Plugins
In reply to: [WP REST Cache] Cache of paged results not flushing on updating postsThanks.
In my example, ‘post_type’ was a placeholder for my custom post type. So, its value depends on what endpoint is requested. So, your suggested value for $your_rest_base doesn’t actually work as a consequence.
What’s the purpose of this particular test?
In one case, the endpoint I access is like so:
/wp-json/wp/v2/politician?_embed=&_fie…
Where ‘politician’ is a custom post type.
So, do I need to test for all values of $your_rest_base that represent all my custom post types?
Forum: Plugins
In reply to: [WP REST Cache] Cache of paged results not flushing on updating postsThanks.
What’s the $this in that function? Keeping that in generates a fatal error.
If I change the contents of the function to the following, this appears to now work for me:
if ( $object_type !== 'unknown' ) { return $object_type; } if (count($data)) { if (count($data["data"])) { $first_object = $data["data"][0]; $object_type = get_post_type($first_object->id); } } return $object_type;What I don’t understand is this: I just installed WP REST Cache on another site, and there, the REST cache for custom post types are correctly identified, even though I don’t do anything differently, there.
Forum: Plugins
In reply to: [Polylang] ACF fields not workingI did not. I did not mark it as resolved.
Instead, I constructed a workaround, where I achieved a similar result by using a custom taxonomy. Not ideal.
Forum: Plugins
In reply to: [Polylang] ACF fields not workingThanks, but I would not think this applies. I’m not trying to have translations of ACF fields. I just want these ACF fields to work. The ‘simple’ ACF fields work without a problem. But ACF fields that reference post objects do not.
Done.